...
|
...
|
@@ -96,7 +96,7 @@ function initFilter(cb) { |
|
|
//tap subclassify
|
|
|
$cur = $this.closest('li');
|
|
|
|
|
|
classifyTapEvt($cur);
|
|
|
subClassifyTapEvt($cur);
|
|
|
} else {
|
|
|
|
|
|
//tap classify
|
...
|
...
|
@@ -104,7 +104,7 @@ function initFilter(cb) { |
|
|
|
|
|
e.srcEvent.stopPropagation();
|
|
|
|
|
|
subClassifyTapEvt($cur);
|
|
|
classifyTapEvt($cur);
|
|
|
}
|
|
|
} else {
|
|
|
hideFilter();
|
...
|
...
|
@@ -116,9 +116,6 @@ function initFilter(cb) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
//设置完高度后显示sub并设置选中
|
|
|
//T:不在HTML中使用{{#if @first}}active{{/if}}来初始化active为避免sub设置高度时的闪烁
|
|
|
// $filter.find('.classify > :first-child').addClass('active');
|
|
|
exports.initFilter = initFilter;
|
|
|
|
|
|
exports.showFilter = showFilter;
|
...
|
...
|
|