...
|
...
|
@@ -50,6 +50,7 @@ if ($('.shop-swiper')) { |
|
|
let num = $('.shop-swiper').length;
|
|
|
|
|
|
for (let i = 1; i <= num; i++) {
|
|
|
if ($('.shop-swiper-' + i).find('.swiper-slide').length > 1) {
|
|
|
new Swiper2('.shop-swiper-' + i, {
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
...
|
...
|
@@ -60,6 +61,7 @@ if ($('.shop-swiper')) { |
|
|
pagination: $(this).closest('.shop-swiper-' + i).find('.pagination-inner').get(0)
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|