提交小程序

This commit is contained in:
wangyilin 2024-11-05 14:46:34 +08:00
parent c724a0fe3c
commit 5dad224299
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<view class="swiperDemo">
<nut-swiper ref="swiperRef" pagination-visible pagination-color="#e53e31" :auto-play="3000" :init-page="0">
<nut-swiper-item v-for="(item, index) in list" :key="index" style="height: 200px">
<image :src="item.url" alt="" style="height: 100%; width: 100%" draggable="false"/>
<image :src="item" alt="" style="height: 100%; width: 100%" draggable="false"/>
</nut-swiper-item>
</nut-swiper>
</view>