Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
23829d1f
Commit
23829d1f
authored
Apr 03, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单优化
parent
7d5ece4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
4 deletions
+26
-4
product.vue
layouts/basic-layout/product.vue
+25
-4
default.vue
layouts/default.vue
+1
-0
No files found.
layouts/basic-layout/product.vue
View file @
23829d1f
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
<ul
class=
"top_menu"
>
<ul
class=
"top_menu"
>
<li
v-for=
"(item,i) in filterSider"
>
<li
v-for=
"(item,i) in filterSider"
>
<ul
class=
"row_ul"
>
<ul
class=
"row_ul"
>
<li
class=
"title"
>
{{
item
.
title
}}
</li>
<b
:class=
"item.children.length
<6
?
'
title
'
:
item
.
children
.
length
<11
?
'
title02
'
:
item
.
children
.
length
>
11 ? 'title03' : '' " >
{{
item
.
title
}}
</b>
<!--
<b
class=
"title02"
>
{{
item
.
title
}}
</b>
-->
<!--
<li
class=
"title"
>
{{
item
.
title
}}
</li>
-->
<li
v-for=
"(li,j) in item.children"
>
<li
v-for=
"(li,j) in item.children"
>
<a
>
{{
li
.
title
}}
</a>
<a
>
{{
li
.
title
}}
</a>
</li>
</li>
...
@@ -334,8 +336,11 @@ export default {
...
@@ -334,8 +336,11 @@ export default {
list-style: none;
list-style: none;
text-align: left;
text-align: left;
li:first-of-type{
li:first-of-type{
border-top-left-radius: 5px;
border-top-right-radius: 5px;
ul:first-of-type{
ul:first-of-type{
li:first-of-type{
border-top-right-radius: 5px;
b:first-of-type{
border-top-left-radius: 5px;
border-top-left-radius: 5px;
}
}
}
}
...
@@ -374,10 +379,26 @@ export default {
...
@@ -374,10 +379,26 @@ export default {
width: 104px;
width: 104px;
color: white;
color: white;
text-align: center;
text-align: center;
font-weight: bold
;
margin: 0 10px 0 0
;
}
}
.title:hover{
.title:hover{
color: #ddd;
color: #ddd;
}
.title02{
background: #515a6e;
width: 104px;
color: white;
text-align: center;
float: left;
margin: 0 10px 10px 0;
}
.title03{
background: #515a6e;
width: 104px;
color: white;
text-align: center;
float: left;
margin: 0 10px 70px 0;
}
}
}
}
}
}
...
...
layouts/default.vue
View file @
23829d1f
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
MainLayout
from
"./basic-layout"
;
import
MainLayout
from
"./basic-layout"
;
// import MainLayout from "./basic-layout/product";
// 配置
// 配置
import
Setting
from
"@/setting"
;
import
Setting
from
"@/setting"
;
// 方法
// 方法
...
...
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