Showing
1 changed file
with
2 additions
and
5 deletions
@@ -654,7 +654,9 @@ function search(opt, callback) { | @@ -654,7 +654,9 @@ function search(opt, callback) { | ||
654 | // reNav1Pos(); | 654 | // reNav1Pos(); |
655 | 655 | ||
656 | bindGoodThumbClick(); | 656 | bindGoodThumbClick(); |
657 | + setTimeout(function() { | ||
657 | callback && callback(); | 658 | callback && callback(); |
659 | + }, 0) | ||
658 | }, | 660 | }, |
659 | error: function() { | 661 | error: function() { |
660 | tip.show('网络断开连接了~'); | 662 | tip.show('网络断开连接了~'); |
@@ -877,12 +879,7 @@ $subNav.on('touchend touchcancel', function(e) { | @@ -877,12 +879,7 @@ $subNav.on('touchend touchcancel', function(e) { | ||
877 | 879 | ||
878 | // 若之前active项为筛选,则隐藏筛选面板 | 880 | // 若之前active项为筛选,则隐藏筛选面板 |
879 | filter.hideFilter(); | 881 | filter.hideFilter(); |
880 | - } else { | ||
881 | - | ||
882 | - // 切换container显示 | ||
883 | - reloadCb(); | ||
884 | } | 882 | } |
885 | - | ||
886 | $subNav.children().removeClass('active'); | 883 | $subNav.children().removeClass('active'); |
887 | $subNav.find(cname).addClass('active'); | 884 | $subNav.find(cname).addClass('active'); |
888 | } | 885 | } |
-
Please register or login to post a comment