...
|
...
|
@@ -13,17 +13,19 @@ require('../common'); |
|
|
|
|
|
search.start();
|
|
|
|
|
|
if ($('.swiper-container .swiper-slide').length > 1) {
|
|
|
new Swiper('.swiper-container', {
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
|
|
loop: true,
|
|
|
autoplay: 3000,
|
|
|
autoplayDisableOnInteraction: true,
|
|
|
paginationClickable: true,
|
|
|
pagination: '.banner-top .pagination-inner'
|
|
|
});
|
|
|
}
|
|
|
$('.swiper-container').each(function() {
|
|
|
if ($(this).find('.swiper-slide').length > 1) {
|
|
|
new Swiper($(this).get(0), {
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
|
|
loop: true,
|
|
|
autoplay: 3000,
|
|
|
autoplayDisableOnInteraction: true,
|
|
|
paginationClickable: true,
|
|
|
pagination: $(this).closest('.banner-top').find('.pagination-inner').get(0)
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$(function() {
|
|
|
var $saleNavSelect = $('.sale-nav-select');
|
...
|
...
|
|