Authored by 李奇

slider修改

... ... @@ -29,7 +29,6 @@ export default {
let {product_skn} = product;
let href = `/product/pro_${product_skn}.html`;
if (this.yoho.env.isYohoBuy) {
let goParams = {
action: 'go.productDetail',
... ...
... ... @@ -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;
}
... ...