...
|
...
|
@@ -11,7 +11,7 @@ |
|
|
<div v-else class="item title">
|
|
|
<a-link :href="slider.url">
|
|
|
<span>{{slider.name}}</span>
|
|
|
<i class="icon icon-right"></i>
|
|
|
<i class="icon icon-up trans-right"></i>
|
|
|
</a-link>
|
|
|
</div>
|
|
|
<div class="childs" v-show="slider.secList.length && subSwitch[index]">
|
...
|
...
|
@@ -46,10 +46,10 @@ export default { |
|
|
selectSlider(idx) {
|
|
|
_.each(this.subSwitch, (item, index) => {
|
|
|
if (idx === index) {
|
|
|
this.$set(this.subSwitch, idx, !this.subSwitch[idx]);
|
|
|
this.$set(this.subSwitch, index, !this.subSwitch[index]);
|
|
|
return true;
|
|
|
}
|
|
|
this.$set(this.subSwitch, i, false)
|
|
|
this.$set(this.subSwitch, index, false)
|
|
|
});
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -89,6 +89,11 @@ export default { |
|
|
font-size: 26px;
|
|
|
}
|
|
|
|
|
|
.icon-up.trans-right {
|
|
|
transform: rotate(90deg);
|
|
|
margin-right: -6px;
|
|
|
}
|
|
|
|
|
|
span {
|
|
|
font-family: HelveticaNeue-Medium, Tahoma, Arial;
|
|
|
}
|
...
|
...
|
|