Authored by 李奇

slider修改

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