let swiper1 = new axSwiper('#swiper1', { slidesPerView:"auto", //自适应宽度 spaceBetween:0,//间距 loop:true, speed:1000, //滚动速度 autoplay: { delay:3000,//间隔时间0秒 stopOnLastSlide: false, disableOnInteraction: false,//触摸后仍然执行 pauseOnMouseEnter: true, }, }); let swiper2 = new axSwiper('#swiper2', { slidesPerView:"auto", //自适应宽度 spaceBetween:0,//间距 loop:true, speed:1000, //滚动速度 autoplay: { delay:3000,//间隔时间0秒 stopOnLastSlide: false, disableOnInteraction: false,//触摸后仍然执行 pauseOnMouseEnter: true, }, }); let swiper3 = new axSwiper('#swiper3', { slidesPerView:"1.3", //自适应宽度 spaceBetween:10,//间距 breakpoints: { 992: { slidesPerView: 4, spaceBetween: 20 }, 768: { slidesPerView: 3, spaceBetween: 10 } }, loop:true, speed:1000, //滚动速度 autoplay: { delay:3000,//间隔时间0秒 stopOnLastSlide: false, disableOnInteraction: false,//触摸后仍然执行 pauseOnMouseEnter: true, }, });