swiper轮播图设置自动轮播之后如果手动滑动之后,就不会再自动轮播了
解决方法:
var swiper = new Swiper('#swiper1', {
pagination: {
el: '.swiper-pagination',
},
autoplay:true,
loop:true,
autoplay: {
disableOnInteraction: false
}
});
设置autoplay:true之后,再设置
autoplay:{
disableOnInteraction: false
}
二手闲置小程序 免费信息发布系统功能源码(小程序+php后台管理)
https://blog.csdn.net/MPQ1314/article/details/87162363
电商商城小程序 小程序+php后台管理系统功能源码