...
|
...
|
@@ -91,7 +91,11 @@ $('.filter-box').on('selectstart', '.attr, .brands-index span', function() { |
|
|
|
|
|
//【分类】
|
|
|
$('.sort-pre').on('click', 'li', function() {
|
|
|
var index = $(this).index();
|
|
|
var $this = $(this),
|
|
|
index = $this.index();
|
|
|
|
|
|
$this.siblings('.active').removeClass('active');
|
|
|
$this.addClass('active');
|
|
|
|
|
|
$sortSub.children(':not(.hide)').addClass('hide');
|
|
|
$sortSub.children(':eq(' + index + ')').removeClass('hide');
|
...
|
...
|
|