置顶新闻

热点文章

var swiper = new Swiper('.swiper-container', { slidesPerView: 1, //只显示1图 loop: true, //无限循环 // autoHeight: true, //自由高度 // spaceBetween: 20, //切换间距 centeredSlides: false, // true时候活动块居中 false 居左 lazy: true, //延迟加载 autoplay: { delay: 5000, disableOnInteraction: false, }, //自动切换 pagination: { el: '.swiper-pagination', clickable: true, }, //圆标点 navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, //上下翻页 });