|
@@ -54,7 +54,7 @@
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<view class="my-page">
|
|
<view class="my-page">
|
|
|
- <swiper class="swiper-box my-swiper" :current="0" :indicator-dots="true" v-if="item.photourlSpl.length>0">
|
|
|
|
|
|
|
+ <swiper class="swiper-box my-swiper" :current="0" :indicator-dots="true" v-if="item.photourlSpl.length>0" :key="'photo-'+item.sxid">
|
|
|
<swiper-item v-for="(url, index) in item.photourlSpl" :key="index" @tap="preview(uni.env.USER_DATA_PATH+url)">
|
|
<swiper-item v-for="(url, index) in item.photourlSpl" :key="index" @tap="preview(uni.env.USER_DATA_PATH+url)">
|
|
|
<view class="swiper-item ">
|
|
<view class="swiper-item ">
|
|
|
<image class="my-image" :src="uni.env.USER_DATA_PATH+url" mode="aspectFill" />
|
|
<image class="my-image" :src="uni.env.USER_DATA_PATH+url" mode="aspectFill" />
|
|
@@ -66,7 +66,7 @@
|
|
|
</swiper>
|
|
</swiper>
|
|
|
|
|
|
|
|
<swiper class="swiper-box my-swiper mg-top" :current="0" :indicator-dots="true"
|
|
<swiper class="swiper-box my-swiper mg-top" :current="0" :indicator-dots="true"
|
|
|
- v-if="item.exampleurlSpl.length>0">
|
|
|
|
|
|
|
+ v-if="item.exampleurlSpl.length>0" :key="'example-'+item.sxid">
|
|
|
<swiper-item v-for="(url, index) in item.exampleurlSpl" :key="index" @tap="preview(url)">
|
|
<swiper-item v-for="(url, index) in item.exampleurlSpl" :key="index" @tap="preview(url)">
|
|
|
<view class="swiper-item ">
|
|
<view class="swiper-item ">
|
|
|
<image class="my-image" :src="url" mode="aspectFill" />
|
|
<image class="my-image" :src="url" mode="aspectFill" />
|