<script> var mySwiper = new Swiper('.swiper-container',{
autoplay : 1000,
autoplayDisableOnInteraction : false,
})
$('#btn1').click(function(){
mySwiper.params.autoplay=200;
}) </script>
<script> var mySwiper = new Swiper('.swiper-container',{
autoplay : 1000,
autoplayDisableOnInteraction : false,
})
$('#btn1').click(function(){
mySwiper.params.autoplay=200;
}) </script>
转载于:https://www.cnblogs.com/wangdahai/p/7113215.html