|
@@ -113,6 +113,10 @@ $.each($listNav.find('li'), function(key, item) { |
|
@@ -113,6 +113,10 @@ $.each($listNav.find('li'), function(key, item) { |
113
|
$(item).addClass(goodsType[key]);
|
113
|
$(item).addClass(goodsType[key]);
|
114
|
});
|
114
|
});
|
115
|
|
115
|
|
|
|
116
|
+$.each($swiperSize, function(key, item) {
|
|
|
117
|
+ $(item).addClass(goodsType[key]);
|
|
|
118
|
+});
|
|
|
119
|
+
|
116
|
// 判断导航类型
|
120
|
// 判断导航类型
|
117
|
function judgeType(dom) {
|
121
|
function judgeType(dom) {
|
118
|
var navType;
|
122
|
var navType;
|
|
@@ -528,6 +532,8 @@ $(function() { |
|
@@ -528,6 +532,8 @@ $(function() { |
528
|
}
|
532
|
}
|
529
|
$selectNav = $('#list-nav').find(selector);
|
533
|
$selectNav = $('#list-nav').find(selector);
|
530
|
$selectNav.addClass('active').siblings().removeClass('active');
|
534
|
$selectNav.addClass('active').siblings().removeClass('active');
|
|
|
535
|
+ $swiperSize.hide();
|
|
|
536
|
+ $swiperSize.filter(selector).show();
|
531
|
search([{
|
537
|
search([{
|
532
|
type: 'breakSort',
|
538
|
type: 'breakSort',
|
533
|
id: $selectNav.data('id')
|
539
|
id: $selectNav.data('id')
|