...
|
...
|
@@ -187,19 +187,20 @@ $goodInfoMain.on('click', '.col-btn', function() { |
|
|
|
|
|
// 左侧导航
|
|
|
$productListNav.click(function(event) {
|
|
|
var $this = $(this);
|
|
|
|
|
|
if (!$(event.target).hasClass('product-list-nav')) {
|
|
|
if (!$this.hasClass('product-list-nav')) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if ($(this).hasClass('active')) {
|
|
|
if ($this.hasClass('active')) {
|
|
|
|
|
|
$(this).find('.sort-child-list').stop(true, true).slideUp();
|
|
|
$this.find('.sort-child-list').stop(true, true).slideUp();
|
|
|
|
|
|
} else {
|
|
|
|
|
|
$(this).find('.sort-child-list').stop(true, true).slideDown();
|
|
|
$this.find('.sort-child-list').stop(true, true).slideDown();
|
|
|
}
|
|
|
|
|
|
$(this).toggleClass('active');
|
|
|
$this.toggleClass('active');
|
|
|
}); |
...
|
...
|
|