1.vueAwesomeSwiper,它那个轮播给loop循环轮播后,为啥最后一张和第一张总是空白,然后切换的时候闪一下第一张图片,除了首尾轮播时异常,中间的都正常[图片]
2.代码
<swiper :options="swiperOption3" ref="mySwiperC" v-if="imageLists">
<swiper-slide class="slide1 clear" v-for="imageList in imageLists">
<router-link v-if="imageList.functionLink==1" :to="{path:'/a',query:{id.bannerTurnId}}">
<img v-lazy.container="imageList.middleUrl">
</router-link>
</swiper-slide>
</swiper>
<div class="swiper-pagination"></div>
swiperOption3: {
// 所有配置均为可选(同Swiper配置)
initialSlide:0,//设定初始化时slide的索引
slidesPerView:1,
notNextTick: true,
loop : true,
autoplay :3000,
pagination : '.swiper-pagination',
paginationClickable: true,
centeredSlides: true,
autoplayDisableOnInteraction: false,
}
}
呼啦一阵风
相关分类