...
|
...
|
@@ -240,10 +240,11 @@ $listNav.delegate('li', 'touchstart', function() { |
|
|
|
|
|
// 价格/折扣切换排序状态
|
|
|
$this.find('.icon > .iconfont').toggleClass('cur');
|
|
|
$pre = $active; //更新pre为当前项
|
|
|
}
|
|
|
} else {
|
|
|
|
|
|
$active = $this.siblings('.active');
|
|
|
|
|
|
if ($active.hasClass('filter')) {
|
|
|
$pre = $this; //$pre为除筛选导航的其他导航项,若当前active的为筛选,则把$pre置为当前点击项
|
|
|
|
...
|
...
|
|