关于swiper手动改滑动之后,不再自动滑动了的问题 2018

2018-03-15  本文已影响0人  张益达_pearl

我们加一个 autoplayDisableOnInteraction : false,属性就可以拉

使用代码如下:

var swiper =newSwiper('.swiper-container', {

         pagination:'.swiper-pagination', 

         autoplay :3000, 

         paginationClickable:true,

         loop:true,

        autoplayDisableOnInteraction : false

});

上一篇 下一篇

猜你喜欢

热点阅读