Browse Source

商品详情图片优化

dev
Enzo 4 years ago
parent
commit
c014b2ac49
  1. 2
      pages/goodsDetail/index.vue

2
pages/goodsDetail/index.vue

@ -5,7 +5,7 @@
<!-- 商品图片轮播 -->
<swiper :current="current" :indicator-dots="goods_detail.banners.length > 1 ? true : false" :circular="true" class="swiper-box" indicator-active-color="#FE9903">
<swiper-item v-for="(item, index) in goods_detail.banners" :key="item.id">
<image :src="item.cover" style="width: 100%; height: 100%;" @click="lookImg(index)"></image>
<image mode="aspectFill" :src="item.cover" style="width: 100%; height: 100%;" @click="lookImg(index)"></image>
</swiper-item>
</swiper>
<!-- 商品主要信息 -->

Loading…
Cancel
Save