var swiper = new Swiper(".myswiper_fx", { slidesPerView: 'auto', freeMode: true, speed:6000, autoplay: { delay: 2500, disableOnInteraction: false, }, loop: true, spaceBetween: 10, });
反向滑动需要在swiper-container
的div
上加dir="rtl"
,即 right to left
参考文章 http://t.csdn.cn/43bjI