Authored by 姜枫

fix shop collect in app bug

... ... @@ -153,8 +153,6 @@ const _searchGoods = (params) => {
params.app_type = 1;
}
console.log(method, params);
return api.get('', _.assign({
method: method
}, params), {
... ...
... ... @@ -38,7 +38,7 @@ var $subNav = $('.home-sub-nav'),
brand = $('input[name="brand"]').val(),
coverChannel = $('input[name="coverChannel"]').val(),
favId = $('input[name="favId"]').val(),
uid = $('input[name="uid"]').val();
uid = window.queryString.uid;
var winH = $(window).height(),
noResult = '<p class="no-result">未找到相关搜索结果</p>';
... ... @@ -883,7 +883,7 @@ $subNav.on('touchend touchcancel', function(e) {
// 若之前active项为筛选,则隐藏筛选面板
filter.hideFilter();
}
}
$subNav.children().removeClass('active');
$subNav.find(cname).addClass('active');
}
... ...