|
@@ -11,7 +11,7 @@ |
|
@@ -11,7 +11,7 @@ |
11
|
<div v-else class="item title">
|
11
|
<div v-else class="item title">
|
12
|
<a-link :href="slider.url">
|
12
|
<a-link :href="slider.url">
|
13
|
<span>{{slider.name}}</span>
|
13
|
<span>{{slider.name}}</span>
|
14
|
- <i class="icon icon-right"></i>
|
14
|
+ <i class="icon icon-up trans-right"></i>
|
15
|
</a-link>
|
15
|
</a-link>
|
16
|
</div>
|
16
|
</div>
|
17
|
<div class="childs" v-show="slider.secList.length && subSwitch[index]">
|
17
|
<div class="childs" v-show="slider.secList.length && subSwitch[index]">
|
|
@@ -46,10 +46,10 @@ export default { |
|
@@ -46,10 +46,10 @@ export default { |
46
|
selectSlider(idx) {
|
46
|
selectSlider(idx) {
|
47
|
_.each(this.subSwitch, (item, index) => {
|
47
|
_.each(this.subSwitch, (item, index) => {
|
48
|
if (idx === index) {
|
48
|
if (idx === index) {
|
49
|
- this.$set(this.subSwitch, idx, !this.subSwitch[idx]);
|
49
|
+ this.$set(this.subSwitch, index, !this.subSwitch[index]);
|
50
|
return true;
|
50
|
return true;
|
51
|
}
|
51
|
}
|
52
|
- this.$set(this.subSwitch, i, false)
|
52
|
+ this.$set(this.subSwitch, index, false)
|
53
|
});
|
53
|
});
|
54
|
}
|
54
|
}
|
55
|
},
|
55
|
},
|
|
@@ -89,6 +89,11 @@ export default { |
|
@@ -89,6 +89,11 @@ export default { |
89
|
font-size: 26px;
|
89
|
font-size: 26px;
|
90
|
}
|
90
|
}
|
91
|
|
91
|
|
|
|
92
|
+ .icon-up.trans-right {
|
|
|
93
|
+ transform: rotate(90deg);
|
|
|
94
|
+ margin-right: -6px;
|
|
|
95
|
+ }
|
|
|
96
|
+
|
92
|
span {
|
97
|
span {
|
93
|
font-family: HelveticaNeue-Medium, Tahoma, Arial;
|
98
|
font-family: HelveticaNeue-Medium, Tahoma, Arial;
|
94
|
}
|
99
|
}
|