Fix:2729 【非遗技艺】非遗文化自动轮播不稳定(刚才可以自动轮播,现在又不可以了)

This commit is contained in:
linxi
2024-11-28 16:23:51 +08:00
parent 9fc2579247
commit 370e347b93
+1 -1
View File
@@ -27,7 +27,7 @@
</view>
</view>
<view class="wiper-wrap v12-mt-3">
<swiper v-if="contents.length > 0" class="" style="width: 100%;height: 400rpx" :autoplay="contents.length > 3" circular next-margin="400rpx">
<swiper v-if="contents.length > 0" class="" style="width: 100%;height: 400rpx" :autoplay="contents.length > 2" circular next-margin="400rpx">
<swiper-item v-for="(item, index) in contents" :key="index" @click="toDetails(item.ichContentId)">
<view class="wiper-item">
<image class="wiper-item" :src="item.cover" mode="aspectFit|aspectFill|widthFix" lazy-load="false"> </image>