用手操作让它滚动后,它就不自动滚动了,不知道为什么,求解答,谢谢!这是html:<div class="swiper-container swiper-container-horizontal"> <div class="swiper-wrapper"> <div class="swiper-slide"><img src="/images/map4.jpg"></div> <div class="swiper-slide"><img src="/images/map2.jpg"></div> <div class="swiper-slide"><img src="/images/map3.jpg"></div> <div class="swiper-slide"><img src="/images/map1.jpg"></div> </div> <div class="swiper-pagination"></div> </div>这是js:var mySwiper = new Swiper('.swiper-container', { pagination: '.swiper-pagination', autoplay: 3000 })
添加回答
举报
0/150
提交
取消