Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
NLT-e-cigarette
Commits
ff61708b
Commit
ff61708b
authored
Jul 01, 2022
by
zhangyichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug 56208 平台首页折叠后的排版需调整
parent
b91f28ef
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
Item.vue
src/layout/components/Sidebar/Item.vue
+1
-1
SidebarItem.vue
src/layout/components/Sidebar/SidebarItem.vue
+1
-1
element-ui.scss
src/styles/element-ui.scss
+7
-1
MaterialFile.vue
src/views/productionInfo/MaterialFile.vue
+3
-0
No files found.
src/layout/components/Sidebar/Item.vue
View file @
ff61708b
...
...
@@ -24,7 +24,7 @@ export default {
vnodes
.
push
(
<
div
slot
=
'title'
>
<
div
>
{(
title
.
split
(
';'
)[
0
])}
<
/div
>
<
div
style
=
'padding-left: 5px;font-size: 12px;position: relative;top: -4px'
>
{(
title
.
split
(
';'
)[
1
])}
<
/div
>
<
div
class
=
'noTool'
style
=
'padding-left: 5px;font-size: 12px;position: relative;top: -4px'
>
{(
title
.
split
(
';'
)[
1
])}
<
/div
>
<
/div
>
)
}
...
...
src/layout/components/Sidebar/SidebarItem.vue
View file @
ff61708b
<
template
>
<div
v-if=
"!item.hidden"
>
<div
v-if=
"!item.hidden"
class=
"myMenu"
>
<template
v-if=
"item.showFather !== 'true' && hasOneShowingChild(item.children,item) && (!onlyOneChild.children || onlyOneChild.noShowingChildren) && !item.alwaysShow"
>
<app-link
v-if=
"onlyOneChild.meta"
:to=
"resolvePath(onlyOneChild.path)"
>
<div
class=
"menuTitle"
>
...
...
src/styles/element-ui.scss
View file @
ff61708b
...
...
@@ -523,7 +523,7 @@ label {
}
.el-checkbox
.el-checkbox__inner
:hover
{
border
:
1px
solid
#D20A10
;
//
border: 1px solid #D20A10;
}
.el-checkbox__input.is-focus
.el-checkbox__inner
{
border
:
1px
solid
#D20A10
;
...
...
@@ -575,3 +575,9 @@ label {
background-color
:
#ccc
;
border-color
:
#D20A10
;
}
.el-tooltip__popper
{
.noTool
{
padding-left
:
unset
!
important
;
top
:
unset
!
important
;
}
}
src/views/productionInfo/MaterialFile.vue
View file @
ff61708b
...
...
@@ -632,6 +632,9 @@ export default {
}
else
{
const
reg
=
/
(
^
[
1-9
][
0-9
]
$
)
|
(
^100&
)
|
(
^
[
1-9
]
$
)
$/
if
(
reg
.
test
(
value
))
{
if
(
parseInt
(
value
)
>
80
)
{
return
callback
(
new
Error
(
'总位数不能超过80'
))
}
callback
();
}
else
{
return
callback
(
new
Error
(
'请输入正整数'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment