...
|
...
|
@@ -113,6 +113,10 @@ $.each($listNav.find('li'), function(key, item) { |
|
|
$(item).addClass(goodsType[key]);
|
|
|
});
|
|
|
|
|
|
$.each($swiperSize, function(key, item) {
|
|
|
$(item).addClass(goodsType[key]);
|
|
|
});
|
|
|
|
|
|
// 判断导航类型
|
|
|
function judgeType(dom) {
|
|
|
var navType;
|
...
|
...
|
@@ -528,6 +532,8 @@ $(function() { |
|
|
}
|
|
|
$selectNav = $('#list-nav').find(selector);
|
|
|
$selectNav.addClass('active').siblings().removeClass('active');
|
|
|
$swiperSize.hide();
|
|
|
$swiperSize.filter(selector).show();
|
|
|
search([{
|
|
|
type: 'breakSort',
|
|
|
id: $selectNav.data('id')
|
...
|
...
|
|