Showing
1 changed file
with
3 additions
and
0 deletions
@@ -22,17 +22,20 @@ productListWithFilter.scrollActived = false; | @@ -22,17 +22,20 @@ productListWithFilter.scrollActived = false; | ||
22 | 22 | ||
23 | Tab.prototype.home = function() { // 隐藏筛选 TAB | 23 | Tab.prototype.home = function() { // 隐藏筛选 TAB |
24 | $filterBox.css('display', 'none'); | 24 | $filterBox.css('display', 'none'); |
25 | + $('.filter-mask').addClass('hide'); | ||
25 | productListWithFilter.scrollActived = false; | 26 | productListWithFilter.scrollActived = false; |
26 | }; | 27 | }; |
27 | Tab.prototype.getallgoods = function() { // 显示筛选 TAB | 28 | Tab.prototype.getallgoods = function() { // 显示筛选 TAB |
28 | $listNav.find('li').removeClass('active'); | 29 | $listNav.find('li').removeClass('active'); |
29 | $listNav.find('.default').addClass('active'); | 30 | $listNav.find('.default').addClass('active'); |
30 | $filterBox.css('display', 'block'); | 31 | $filterBox.css('display', 'block'); |
32 | + $('.filter-mask').addClass('hide'); | ||
31 | productListWithFilter.getGoodsList({type: 'default', page: 1}); | 33 | productListWithFilter.getGoodsList({type: 'default', page: 1}); |
32 | productListWithFilter.scrollActived = true; | 34 | productListWithFilter.scrollActived = true; |
33 | }; | 35 | }; |
34 | Tab.prototype.getnewgoods = function() { | 36 | Tab.prototype.getnewgoods = function() { |
35 | $filterBox.css('display', 'none'); | 37 | $filterBox.css('display', 'none'); |
38 | + $('.filter-mask').addClass('hide'); | ||
36 | productListWithFilter.getGoodsList({type: 'new', page: 1}); | 39 | productListWithFilter.getGoodsList({type: 'new', page: 1}); |
37 | productListWithFilter.scrollActived = true; | 40 | productListWithFilter.scrollActived = true; |
38 | }; | 41 | }; |
-
Please register or login to post a comment