Authored by 毕凯

Merge branch 'master' into feature/expandNewTrend

{
"name": "m-yohobuy-node",
"version": "6.0.2",
"version": "6.0.3",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -238,7 +238,7 @@ class ProductListWithFilter {
// 初始化filter&注册filter回调
filter.initFilter({
fCbFn: () => {
this.getGoodsList();
this.getGoodsList({ navTouch: true });
},
hCbFn: () => {
... ...
... ... @@ -22,17 +22,20 @@ productListWithFilter.scrollActived = false;
Tab.prototype.home = function() { // 隐藏筛选 TAB
$filterBox.css('display', 'none');
$('.filter-mask').addClass('hide');
productListWithFilter.scrollActived = false;
};
Tab.prototype.getallgoods = function() { // 显示筛选 TAB
$listNav.find('li').removeClass('active');
$listNav.find('.default').addClass('active');
$filterBox.css('display', 'block');
$('.filter-mask').addClass('hide');
productListWithFilter.getGoodsList({type: 'default', page: 1});
productListWithFilter.scrollActived = true;
};
Tab.prototype.getnewgoods = function() {
$filterBox.css('display', 'none');
$('.filter-mask').addClass('hide');
productListWithFilter.getGoodsList({type: 'new', page: 1});
productListWithFilter.scrollActived = true;
};
... ...