...
|
...
|
@@ -72,6 +72,8 @@ lazyLoad($('img.lazy')); |
|
|
|
|
|
if ($('.banner-swiper .swiper-slide').length > 1) {
|
|
|
new Swiper('.swiper-container', {
|
|
|
observer: true,
|
|
|
observeParents: true,
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
|
|
loop: true,
|
...
|
...
|
@@ -122,8 +124,6 @@ function search(opt) { |
|
|
page,
|
|
|
i;
|
|
|
|
|
|
delete defaultOpt.size;
|
|
|
|
|
|
if (searching) {
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -185,9 +185,9 @@ function search(opt) { |
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$.extend(defaultOpt, ext); // 扩展筛选项
|
|
|
$.extend(defaultOpt, ext); // 扩展筛选项
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 导航类别
|
...
|
...
|
@@ -398,7 +398,7 @@ $listNav.on('touchend touchcancel', function(e) { |
|
|
e.stopPropagation();
|
|
|
});
|
|
|
|
|
|
$swiperSize.on('touchend touchcancel', function(e) {
|
|
|
$swiperSize.on('click', function(e) {
|
|
|
var $this = $(e.target).closest('li'),
|
|
|
index = $this.parents('.swiper-size').index(),
|
|
|
$parentType = $listNav.find('li').eq(index),
|
...
|
...
|
|