...
|
...
|
@@ -17,9 +17,9 @@ var winH = $(window).height(), |
|
|
|
|
|
var swiper;
|
|
|
|
|
|
// slide 个数大于 1 事,使用 swiper ,否则只显示单张图片
|
|
|
// slide 个数大于 1 时,使用 swiper ,否则只显示单张图片
|
|
|
if ($('.swiper-container').length > 1) {
|
|
|
swiper = new Swiper('.swiper-container', {
|
|
|
swiper = new Swiper('.swiper-container', {
|
|
|
lazyLoading: true,
|
|
|
pagination: '.swiper-pagination'
|
|
|
});
|
...
|
...
|
|