...
|
...
|
@@ -20,7 +20,7 @@ var winH = $(window).height(); |
|
|
var defaultOpt = {
|
|
|
gender: $('#gender').val(),
|
|
|
brand: $('#brand').val(),
|
|
|
sort: $('#sort').val(),
|
|
|
msort: $('#msort').val(),
|
|
|
color: $('#color').val(),
|
|
|
size: $('#size').val(),
|
|
|
price: $('#price').val(),
|
...
|
...
|
@@ -54,8 +54,8 @@ var $listNav = $('#list-nav'), |
|
|
$pre, //纪录进入筛选前的active项
|
|
|
searching;
|
|
|
|
|
|
$pgc.addClass('hide');
|
|
|
$dgc.addClass('hide');
|
|
|
$pgc.addClass('hide');
|
|
|
$dgc.addClass('hide');
|
|
|
|
|
|
/**
|
|
|
* 筛选注册的回调,筛选子项点击后逻辑
|
...
|
...
|
@@ -94,9 +94,9 @@ function search(opt) { |
|
|
brand: opt.id
|
|
|
};
|
|
|
break;
|
|
|
case 'sort':
|
|
|
case 'msort':
|
|
|
ext = {
|
|
|
sort: opt.id
|
|
|
msort: opt.id
|
|
|
};
|
|
|
break;
|
|
|
case 'color':
|
...
|
...
|
@@ -322,5 +322,4 @@ $(window).scroll(function() { |
|
|
$(document).height() - 0.25 * $goodsContainer.height()) {
|
|
|
search();
|
|
|
}
|
|
|
}); |
|
|
|
|
|
\ No newline at end of file |
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|