手机官网修改

master
zhengchanglong 5 years ago
parent cfe66517d5
commit 1e2635cff2

@ -1,16 +1,17 @@
$(function(){
var img = $(".swiper-container .swiper-slide").length;
var swiper = new Swiper('.swiper-container', {
loop: true,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
autoplay: {
/*autoplay: {
delay: 3000,
stopOnLastSlide: false,
disableOnInteraction: false,
},
},*/
autoplay: img > 1,
});
});
Loading…
Cancel
Save