function gudong() { var swiper = new Swiper('.cpxq-img', { pagination: '.swiper-pagination', paginationClickable: true, nextButton: '.swiper-button-next', prevButton: '.swiper-button-prev', autoHeight: true, //enable auto height }); var swiper = new Swiper('.cpzs-img', { pagination: '.swiper-pagination', paginationClickable: true, //slidesPerColumn: 2, //slidesPerColumnFill: 'row', autoplay: 3000, //loop: true, nextButton: '.swiper-button-next', prevButton: '.swiper-button-prev', slidesPerView: 7, spaceBetween: 34, breakpoints: { 1200: { slidesPerView: 7, spaceBetween: 30, }, 1024: { slidesPerView: 6, spaceBetween: 25, }, 991: { slidesPerView: 5, spaceBetween: 20, }, 767: { slidesPerView: 3, spaceBetween: 10 }, }, }); } gudong();