Fix:2882 【非遗文化】非遗主推荐,需要进行自动往右持续轮播
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user