swiper4循环轮播闪烁问题
配置如下:const config = {
autoplay: 3000,
speed:300,
autoplayDisableOnInteraction:false,
pagination: '.swiper-pagination',
paginationClickable: true,
direction:'horizontal',
initialSlide: 1,
loop: true,
slidesPerView: 1,
followFinger: false,
bulletClass: 'h-bullet',
bulletActiveClass: 'h-bullet-active'
};
this.mySwiper = new Swiper('.swiper-container', config);
在手机上显示情况是每次循环一轮后,下一次会闪烁一次,就好像重新加载图片一样。
这个问题你解决了没?
页:
[1]