Commit 6e8b495020ef897b28079aecfd67a5f4a5fd7d0c
1 parent
8dd518b4
优惠专区
Showing
2 changed files
with
6 additions
and
5 deletions
src/components/discountZone/discountZone.less
src/components/discountZone/discountZone.vue
| ... | ... | @@ -3,13 +3,10 @@ |
| 3 | 3 | <titleBox :titles="discountZoneInfo[0]"></titleBox> |
| 4 | 4 | <div class="item_box"> |
| 5 | 5 | <div class="left"> |
| 6 | - <img src="/static/img/pic_1.jpg" alt="网家家"/> | |
| 6 | + <img v-lazy="discountZoneInfo[0].img[0].simg" /> | |
| 7 | 7 | </div> |
| 8 | 8 | <div class="right"> |
| 9 | - <img class="item" src="/static/img/pic_1.jpg" alt="网家家"/> | |
| 10 | - <img class="item" src="/static/img/pic_1.jpg" alt="网家家"/> | |
| 11 | - <img class="item" src="/static/img/pic_1.jpg" alt="网家家"/> | |
| 12 | - <img class="item" src="/static/img/pic_1.jpg" alt="网家家"/> | |
| 9 | + <img class="item" v-for="(item,index) in discountZoneInfo[0].img" :key="index" v-if="index>0" v-lazy="item.simg" /> | |
| 13 | 10 | </div> |
| 14 | 11 | </div> |
| 15 | 12 | </div> | ... | ... |