|
@@ -23,10 +23,17 @@
|
|
|
</view>
|
|
|
<view class="box-ticket">
|
|
|
<swiper class="image-container" circular :vertical="true" :current="currentIndex" :autoplay="false"
|
|
|
- @change="swiperChange">
|
|
|
+ @change="swiperChange" v-if="imgList.length">
|
|
|
<swiper-item class="swiper-item" v-for="(item, index) in imgList" :key="item.picUrl">
|
|
|
<view class="flex image-wrap">
|
|
|
- <image class="img" @click="clickImg(item)" :src="item.picUrl" lazy-load mode=""></image>
|
|
|
+ <image class="img" :src="item.picUrl" lazy-load mode=""></image>
|
|
|
+ </view>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
+ <swiper class="image-container" circular :vertical="true" :autoplay="false" v-else>
|
|
|
+ <swiper-item class="swiper-item">
|
|
|
+ <view class="flex image-wrap">
|
|
|
+ <image class="img" src="../../static/icon/ticket_index.png" lazy-load mode=""></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
</swiper>
|