Commit e9a6855f authored by 周远喜's avatar 周远喜

ok

parent c33237df
...@@ -46,6 +46,7 @@ export default { ...@@ -46,6 +46,7 @@ export default {
QualityProblem, QualityProblem,
Multiple, Multiple,
}, },
layout:'empty',
data() { data() {
return {}; return {};
}, },
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
v-for="(item, indx) in menus" v-for="(item, indx) in menus"
:key="indx" :key="indx"
@mouseenter="navClick(item, indx)" @mouseenter="navClick(item, indx)"
@click="clickLi(item,indx)"
> >
<Icon :type="item.icons" class="f16" />{{ item.name }} <Icon :type="item.icons" class="f16" />{{ item.name }}
</li> </li>
...@@ -40,7 +41,8 @@ ...@@ -40,7 +41,8 @@
:title="line.start.join() + ':' + line.end.join()" :title="line.start.join() + ':' + line.end.join()"
> >
<div class="lineMarker pa"></div> <div class="lineMarker a1 pa"></div>
<div class="lineMarker a2 pa"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -181,7 +183,7 @@ export default { ...@@ -181,7 +183,7 @@ export default {
// } // }
}, },
clickLi(v) { clickLi(v) {
if (v) { if (v&&!v.children) {
this.$router.push(v.url); this.$router.push(v.url);
} }
this.menu = false; this.menu = false;
...@@ -288,19 +290,28 @@ export default { ...@@ -288,19 +290,28 @@ export default {
left: 0; left: 0;
top: 0; top: 0;
transform: rotate(50deg) translateY(-4px); transform: rotate(50deg) translateY(-4px);
animation: myfirst 1s infinite;
background: url("../../assets/images/home/router/linemarker.png") background: url("../../assets/images/home/router/linemarker.png")
no-repeat; no-repeat;
} }
.a1{
animation: myfirst 3s infinite linear;
}
.a2{
animation: myfirst 3s infinite linear;
animation-delay:1.5s;
}
.a3{
animation: myfirst 3s infinite linear;
animation-delay:1s;
}
@keyframes myfirst { @keyframes myfirst {
from { from {
left: 0%; left: -7px;
} }
to { to {
left: 85%; left: calc(100% - 7px);
} }
} }
// }
} }
.line:hover{ .line:hover{
border: 1px dotted red; border: 1px dotted red;
......
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