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
85ecc190
Commit
85ecc190
authored
Aug 14, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单样式优化
parent
9c1c529f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
30 deletions
+41
-30
menu.png
assets/images/home/menu.png
+0
-0
product.vue
layouts/basic-layout/product.vue
+41
-30
No files found.
assets/images/home/menu.png
0 → 100644
View file @
85ecc190
657 KB
layouts/basic-layout/product.vue
View file @
85ecc190
...
@@ -9,32 +9,36 @@
...
@@ -9,32 +9,36 @@
<table
class=
"t_table_box"
>
<table
class=
"t_table_box"
>
<tr>
<tr>
<td
class=
"t_title"
>
<td
class=
"t_title"
>
<a
class=
"a_goIndex"
>
<div
class=
"title"
>
<b
class=
"title"
>
首页
</b>
<Icon
type=
"ios-home"
/>
</a>
<b>
首页
</b>
</div>
</td>
</td>
<td>
<td>
<ul
class=
"table_row_ul"
>
<ul
class=
"table_row_ul"
>
<li>
<li>
<
a
class=
"a_goIndex"
@
click=
"goIndex"
>
首页一
</a
>
<
div
@
click=
"goIndex"
>
首页一
</div
>
</li>
</li>
<li>
<li>
<
a
class=
"a_goIndex"
@
click=
"goIndexTwo"
>
首页二
</a
>
<
div
@
click=
"goIndexTwo"
>
首页二
</div
>
</li>
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
<tr
v-for=
"(item,i) in filterSider"
:key=
"i"
>
<tr
v-for=
"(item,i) in filterSider"
:key=
"i"
>
<td
class=
"t_title"
>
<td
class=
"t_title"
>
<b
class=
"title"
>
{{
item
.
title
}}
</b>
<div
class=
"title"
>
<Icon
:type=
"item.icon"
/>
<b>
{{
item
.
title
}}
</b>
</div>
</td>
</td>
<td>
<td>
<ul
class=
"table_row_ul"
>
<ul
class=
"table_row_ul"
>
<li
v-for=
"(li,i) in item.children"
:key=
"i"
>
<li
v-for=
"(li,i) in item.children"
:key=
"i"
style=
"margin-bottom:-6px"
>
<
a
<
div
@
click=
"goPage(item,li)"
@
click=
"goPage(item,li)"
:class=
"
{'active': li.id === isActive}"
:class=
"
{'active': li.id === isActive}"
>
{{
li
.
title
}}
</
a
>
>
{{
li
.
title
}}
</
div
>
</li>
</li>
</ul>
</ul>
</td>
</td>
...
@@ -457,17 +461,19 @@ export default {
...
@@ -457,17 +461,19 @@ export default {
}
}
}
}
.top_menu_box {
.top_menu_box {
padding: 13px 20px 18px 0;
display: none;
display: none;
border-radius: 5px;
border-radius: 5px;
position: absolute;
position: absolute;
z-index: 99999;
z-index: 99999;
left: 56%;
left: 20%;
top: 57%;
top: 58%;
// min-width: 1084px;
background-image: url("../../assets/images/home/menu.png");
min-width: 777px;
background-size: 100% 100%;
min-height: 300px;
min-width: 1030px;
box-shadow: 0px 5px 17px 5px rgba(0, 0, 0, 0.28);
min-height: 320px;
background: #f5f6fa;
// box-shadow: 0px 5px 17px 5px rgba(0, 0, 0, 0.28);
// background: #f5f6fa;
.t_table_box {
.t_table_box {
border-collapse: collapse;
border-collapse: collapse;
border-radius: 5px;
border-radius: 5px;
...
@@ -485,30 +491,33 @@ export default {
...
@@ -485,30 +491,33 @@ export default {
}
}
tr {
tr {
td {
td {
padding:
9px 10px
0px;
padding:
8px 10px 3px 1
0px;
.table_row_ul {
.table_row_ul {
list-style: none;
list-style: none;
border-bottom: 1px solid #
e0e0e0
;
border-bottom: 1px solid #
172c5d
;
text-align: left;
text-align: left;
li {
li {
list-style: none;
list-style: none;
display: inline-block;
display: inline-block;
a {
min-width: 140px;
div {
float: left;
float: left;
padding: 0px 10px;
padding: 0px 10px;
line-height: 30px;
margin: 0px 6px;
// line-height: 20px;
// margin: 0px 6px;
border-radius: 4px;
border-radius: 4px;
}
}
a
:hover {
div
:hover {
background: #2680eb;
background: #2680eb;
color: white;
color: white;
}
}
a
:visited {
div
:visited {
background: #2680eb;
background: #2680eb;
color: white;
color: white;
}
}
a
.active {
div
.active {
background: #2680eb;
background: #2680eb;
color: white;
color: white;
}
}
...
@@ -518,12 +527,14 @@ export default {
...
@@ -518,12 +527,14 @@ export default {
}
}
.t_title {
.t_title {
min-width: 150px;
min-width: 150px;
text-align: left;
background: #515a6e;
background: #515a6e;
.a_goIndex {
padding-left: 15px;
color: #fff;
.ivu-icon {
font-size: 14px;
}
}
.title {
.title {
padding: 5px
10px;
margin-top: -
10px;
}
}
}
}
}
}
...
@@ -531,15 +542,15 @@ export default {
...
@@ -531,15 +542,15 @@ export default {
}
}
.menu:hover .home {
.menu:hover .home {
margin-top: 10px;
margin-top: 10px;
height:
6
0px;
height:
5
0px;
width:
6
0px;
width:
5
0px;
z-index: 88888;
z-index: 88888;
}
}
.menu:hover .home .top_menu_box {
.menu:hover .home .top_menu_box {
display: block;
display: block;
}
}
.menu:hover .home i {
.menu:hover .home i {
font-size:
33
px;
font-size:
25
px;
margin: 13px 0 0;
margin: 13px 0 0;
}
}
.ivu-breadcrumb {
.ivu-breadcrumb {
...
...
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