用swiper+image实现轮播图,nvue模式
从列表页跳转到详情页
第一张图片显示正常,第二张图片有时候显示就需要蛮长时间。第二张图片显示正常后,后面的图片显示就挺快了。
请教下高手,这是啥情况
以下是代码:
<view class="note-pic">
<swiper :style="detail.swiperstyle" circular indicator-dots="true" autoplay="false" >
<swiper-item class="note-swiperitem" v-for="(pic,index) in piclist" :key="index">
<image class="note-image" :src="pic.picurl" :style="pic.style" ></image>
</swiper-item>
</swiper>
</view>
0 个回复