|
@@ -444,7 +444,7 @@
|
|
|
"uploads/home/adv/" + item.adv_code + '"/></div>');
|
|
|
}
|
|
|
} else {
|
|
|
- $(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img src="' + siteurl +
|
|
|
+ $(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img style="width:100%" src="' + siteurl +
|
|
|
"uploads/home/adv/" + item.adv_code + '"/></div>');
|
|
|
}
|
|
|
});
|
|
@@ -458,13 +458,13 @@
|
|
|
pagination: {
|
|
|
el: '.swiper-pagination',
|
|
|
},
|
|
|
- on: {
|
|
|
- transitionEnd: function() {
|
|
|
- var tempSlideWidth = $(".swiper-slide").width();
|
|
|
- $(".swiper-slide").css("width", tempSlideWidth);
|
|
|
- $(".swiper-slide-active").css("width", (tempSlideWidth + 1));
|
|
|
- }
|
|
|
- }
|
|
|
+ // on: {
|
|
|
+ // transitionEnd: function() {
|
|
|
+ // var tempSlideWidth = $(".swiper-slide").width();
|
|
|
+ // $(".swiper-slide").css("width", tempSlideWidth);
|
|
|
+ // $(".swiper-slide-active").css("width", (tempSlideWidth + 1));
|
|
|
+ // }
|
|
|
+ // }
|
|
|
});
|
|
|
} else {
|
|
|
errcode(datas, datas.code);
|