var mySwiper = new Swiper('.swiper-container', {
direction: 'horizontal',
loop: true, // 循環模式選項
autoplay: {
disableOnInteraction: false, //開啟這個就可以自動滑動了
delay: 3000,
},
effect: 'coverflow',
// 如果需要分頁器
pagination: {
el: '.swiper-pagination',
}
});
