落地页

master
liuweiwen 5 years ago
parent e834c37cb3
commit 8d5297bd99

@ -308,13 +308,17 @@
function swiperGet(){
var swiper = new Swiper('.swiper-container', {
loop: true,
// autoplay: img > 1,
observer: true,//修改swiper自己或子元素时自动初始化swiper
observeParents: true,//修改swiper的父元素时自动初始化swiper
// autoplayDisableOnInteraction:false,//
lazyLoading:true,//图片延迟加载
lazyLoadingInPrevNext:true,//前一个和后一个延迟加载
pagination: {
el: '.swiper-pagination',
clickable: true,
},
autoplay: {
delay: 3000,
delay: 2000,
stopOnLastSlide: false,
disableOnInteraction: false,
},
@ -405,4 +409,6 @@
});
});
}
</script>

Loading…
Cancel
Save