在此贴出swiper官网地址:https://www.swiper.com.cn/api/index.html
示例如下(官网示例):
<script> var mySwiper = new Swiper('.swiper-container',{ autoplay: { disableOnInteraction: false,//用户拖动轮播图之后继续轮播,该属性默认是true }, }) </script>