swiper 轮播图,拖动之后继续轮播

在此贴出swiper官网地址:https://www.swiper.com.cn/api/index.html

示例如下(官网示例):

<script> 
var mySwiper = new Swiper('.swiper-container',{
  autoplay: {
    disableOnInteraction: false,//用户拖动轮播图之后继续轮播,该属性默认是true
  },
})
</script>

 

posted @ 2019-03-05 14:30  大瘦猴  阅读(228)  评论(0编辑  收藏  举报