Commit 4a0711ab authored by 康振飞's avatar 康振飞

动画

parent d8148df2
...@@ -4,16 +4,19 @@ ...@@ -4,16 +4,19 @@
<span class="menu"> <span class="menu">
<a class="home"> <a class="home">
<Icon type="ios-keypad" /> <Icon type="ios-keypad" />
<ul class="top-menu"> <div class="top-menu-box">
<li v-for="(item,i) in filterSider"> <ul class="top-menu">
<ul> <li v-for="(item,i) in filterSider">
<li class="title">{{item.title}}</li> <ul>
<li v-for="(li,j) in item.children"> <li class="title">{{item.title}}</li>
<a>{{li.title}}</a> <li v-for="(li,j) in item.children">
</li> <a>{{li.title}}</a>
</ul> </li>
</li> </ul>
</ul> </li>
</ul>
</div>
</a> </a>
</span> </span>
<i-header-breadcrumb v-if="showBreadcrumb && !headerMenu && !isMobile" ref="breadcrumb" /> <i-header-breadcrumb v-if="showBreadcrumb && !headerMenu && !isMobile" ref="breadcrumb" />
...@@ -283,6 +286,13 @@ export default { ...@@ -283,6 +286,13 @@ export default {
padding: 0; padding: 0;
.menu { .menu {
margin: 0 10px; margin: 0 10px;
display: block;
float: left;
// position: absolute;
// top: 10px;
// left: 10px;
width: 60px;
height: 60px;
.home { .home {
position: relative; position: relative;
height: 30px; height: 30px;
...@@ -293,17 +303,28 @@ export default { ...@@ -293,17 +303,28 @@ export default {
color: white; color: white;
line-height: 30px; line-height: 30px;
text-align: center; 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; display: none;
position: absolute; position: absolute;
z-index: 99999; z-index: 99999;
left: 70%; left: 70%;
top: 70%; top: 66%;
background: #f5f6fa;
border-radius: 4px;
min-width: 1800px; min-width: 1800px;
min-height: 300px; 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; color: #2680eb;
list-style: none; list-style: none;
text-align: left; text-align: left;
...@@ -345,9 +366,19 @@ export default { ...@@ -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; display: block;
} }
.home:hover i{
font-size: 33px;
margin: 13px 0 0;
}
} }
.ivu-breadcrumb { .ivu-breadcrumb {
height: 50px; height: 50px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment