Fix:2882 【非遗文化】非遗主推荐,需要进行自动往右持续轮播

This commit is contained in:
modendeveloper
2024-12-18 22:38:35 +08:00
parent e0dac0207b
commit 01dc1711ca
+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 > 2" circular next-margin="400rpx">
<swiper v-if="contents.length > 0" class="" style="width: 100%;height: 400rpx" :autoplay="contents.length > 2" circular next-margin="400rpx" duration="10000" interval="3000">
<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>