Showing
2 changed files
with
4 additions
and
4 deletions
@@ -244,7 +244,7 @@ C_ID = window._ChannelVary[window.cookie('_Channel')]; | @@ -244,7 +244,7 @@ C_ID = window._ChannelVary[window.cookie('_Channel')]; | ||
244 | * 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载 | 244 | * 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载 |
245 | * @param opt {type, id} | 245 | * @param opt {type, id} |
246 | */ | 246 | */ |
247 | -function search(opt) { | 247 | +function search(opt, filtering) { |
248 | var setting = {}, | 248 | var setting = {}, |
249 | ext, | 249 | ext, |
250 | att, | 250 | att, |
@@ -465,7 +465,7 @@ function search(opt) { | @@ -465,7 +465,7 @@ function search(opt) { | ||
465 | 465 | ||
466 | argument = setting; | 466 | argument = setting; |
467 | 467 | ||
468 | - if (!firstScreen) { | 468 | + if (filtering) { |
469 | $fsgc.addClass('hide'); | 469 | $fsgc.addClass('hide'); |
470 | } | 470 | } |
471 | 471 | ||
@@ -854,7 +854,7 @@ $newList.on('touchstart', 'li', function(e) { | @@ -854,7 +854,7 @@ $newList.on('touchstart', 'li', function(e) { | ||
854 | break; | 854 | break; |
855 | } | 855 | } |
856 | $pre = $firstLiDom; | 856 | $pre = $firstLiDom; |
857 | - search(); | 857 | + search({}, true); |
858 | }); | 858 | }); |
859 | 859 | ||
860 | $(document).on('touchstart', function(e) { | 860 | $(document).on('touchstart', function(e) { |
-
Please register or login to post a comment