Authored by 徐炜

修复列表跳动问题

@@ -113,7 +113,7 @@ function subClassifyTapEvt($this) { @@ -113,7 +113,7 @@ function subClassifyTapEvt($this) {
113 fCbFn({ 113 fCbFn({
114 type: $sub.data('type'), 114 type: $sub.data('type'),
115 id: id 115 id: id
116 - }); 116 + }, true);
117 } 117 }
118 118
119 if (hCbFn) { 119 if (hCbFn) {
@@ -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) {