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
4a0711ab
Commit
4a0711ab
authored
Apr 02, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动画
parent
d8148df2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
15 deletions
+46
-15
product.vue
layouts/basic-layout/product.vue
+46
-15
No files found.
layouts/basic-layout/product.vue
View file @
4a0711ab
...
...
@@ -4,16 +4,19 @@
<span
class=
"menu"
>
<a
class=
"home"
>
<Icon
type=
"ios-keypad"
/>
<ul
class=
"top-menu"
>
<li
v-for=
"(item,i) in filterSider"
>
<ul>
<li
class=
"title"
>
{{
item
.
title
}}
</li>
<li
v-for=
"(li,j) in item.children"
>
<a>
{{
li
.
title
}}
</a>
</li>
</ul>
</li>
</ul>
<div
class=
"top-menu-box"
>
<ul
class=
"top-menu"
>
<li
v-for=
"(item,i) in filterSider"
>
<ul>
<li
class=
"title"
>
{{
item
.
title
}}
</li>
<li
v-for=
"(li,j) in item.children"
>
<a>
{{
li
.
title
}}
</a>
</li>
</ul>
</li>
</ul>
</div>
</a>
</span>
<i-header-breadcrumb
v-if=
"showBreadcrumb && !headerMenu && !isMobile"
ref=
"breadcrumb"
/>
...
...
@@ -283,6 +286,13 @@ export default {
padding: 0;
.menu {
margin: 0 10px;
display: block;
float: left;
// position: absolute;
// top: 10px;
// left: 10px;
width: 60px;
height: 60px;
.home {
position: relative;
height: 30px;
...
...
@@ -293,17 +303,28 @@ export default {
color: white;
line-height: 30px;
text-align: center;
-webkit-transition: width 0.5s, height 0.5s, -webkit-transform 0.5s;/* Safari */
transition: width 0.5s, height 0.5s, transform 0.5s;
i{
-webkit-transition: font-size 0.5s, margin 0.5s, -webkit-transform 0.5s;/* Safari */
transition: font-size 0.5s, margin 0.5s, transform 0.5s;
}
}
.top-menu
{
.top-menu
-box
{
display: none;
position: absolute;
z-index: 99999;
left: 70%;
top: 70%;
background: #f5f6fa;
border-radius: 4px;
top: 66%;
min-width: 1800px;
min-height: 300px;
background: #f5f6fa;
-webkit-transition: display 0.5s, -webkit-transform 0.5s;/* Safari */
transition: display 0.5s, transform 0.5s;
}
.top-menu {
border-radius: 4px;
color: #2680eb;
list-style: none;
text-align: left;
...
...
@@ -345,9 +366,19 @@ export default {
}
}
}
.home:hover .top-menu {
.home:hover{
margin-top: 10px;
height: 60px;
width: 60px;
z-index: 88888;
}
.home:hover .top-menu-box {
display: block;
}
.home:hover i{
font-size: 33px;
margin: 13px 0 0;
}
}
.ivu-breadcrumb {
height: 50px;
...
...
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