|
|
|
@ -1007,7 +1007,7 @@ function getCurUserId() {
|
|
|
|
|
|
|
|
|
|
function swiperGet2(){
|
|
|
|
|
var mySwiper = new Swiper('.mounting-box .swiper-container', {
|
|
|
|
|
loop: true,
|
|
|
|
|
loop: false,
|
|
|
|
|
observer: true,//修改swiper自己或子元素时,自动初始化swiper
|
|
|
|
|
observeParents: true,//修改swiper的父元素时,自动初始化swiper
|
|
|
|
|
lazyLoading:true,//图片延迟加载
|
|
|
|
@ -1031,7 +1031,7 @@ function getCurUserId() {
|
|
|
|
|
// },
|
|
|
|
|
autoplay: {
|
|
|
|
|
delay: 2000,
|
|
|
|
|
stopOnLastSlide: false,
|
|
|
|
|
stopOnLastSlide: true,
|
|
|
|
|
disableOnInteraction: false,
|
|
|
|
|
},
|
|
|
|
|
onSlideChangeEnd: function(swiper){
|
|
|
|
@ -1402,7 +1402,7 @@ function getCurUserId() {
|
|
|
|
|
|
|
|
|
|
function swiperGet(){
|
|
|
|
|
var swiper1 = new Swiper('.second-box .swiper-container', {
|
|
|
|
|
loop: true,
|
|
|
|
|
loop: false,
|
|
|
|
|
observer: true,//修改swiper自己或子元素时,自动初始化swiper
|
|
|
|
|
observeParents: true,//修改swiper的父元素时,自动初始化swiper
|
|
|
|
|
// autoplayDisableOnInteraction:false,//
|
|
|
|
@ -1414,12 +1414,8 @@ function getCurUserId() {
|
|
|
|
|
},
|
|
|
|
|
autoplay: {
|
|
|
|
|
delay: 2000,
|
|
|
|
|
stopOnLastSlide: false,
|
|
|
|
|
stopOnLastSlide: true,
|
|
|
|
|
disableOnInteraction: false,
|
|
|
|
|
},
|
|
|
|
|
onSlideChangeEnd: function(swiper){
|
|
|
|
|
// swiper.update();
|
|
|
|
|
swiper1.startAutoplay();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|