Authored by xuqi

筛选nav选中状态

... ... @@ -31,16 +31,17 @@ exports.init = function() {
*/
function touchEvt(e) {
var $cur = $(e.currentTarget);
if ($cur.hasClass('focus')) {
return;
}
$navItem.removeClass('focus');
$cur.addClass('focus');
if ($cur.hasClass('screen-nav')) {
//筛选
} else {
if ($cur.hasClass('focus')) {
return;
}
$navItem.removeClass('focus');
$cur.addClass('focus');
$goodList.addClass('hide');
if ($cur.hasClass('new-patterns-nav')) {
$npc.removeClass('hide');
... ...