var myswiper = new swiper('.swiper-container2', { slidesperview: "auto", loop: true, autoplay: true, //可选选项,自动滑动 slidespergroup: 1, pagination: { el: '.swiper-pagination', }, navigation: { nextel: '.swiper-button-next', prevel: '.swiper-button-prev', }, }) var myswiper = new swiper('.swiper-container3', { slidesperview: "auto", loop: true, centeredslides: true, spacebetween: 10, autoplay: true, //可选选项,自动滑动 slidespergroup: 1, pagination: { el: '.swiper-pagination', }, navigation: { nextel: '.swiper-button-next', prevel: '.swiper-button-prev', }, })