Showing
2 changed files
with
8 additions
and
0 deletions
@@ -192,6 +192,9 @@ class Group extends Page { | @@ -192,6 +192,9 @@ class Group extends Page { | ||
192 | success: (data) => { | 192 | success: (data) => { |
193 | // $('.filter-mask').remove(); | 193 | // $('.filter-mask').remove(); |
194 | // $('.group').append(data); | 194 | // $('.group').append(data); |
195 | + // $('.guess-scroll').find('') | ||
196 | + $('.guess-scroll').children('div').removeClass('active'); | ||
197 | + $this.addClass('active'); | ||
195 | this.renderMoreData(data.filterList || []); | 198 | this.renderMoreData(data.filterList || []); |
196 | } | 199 | } |
197 | }); | 200 | }); |
@@ -481,6 +484,7 @@ class Group extends Page { | @@ -481,6 +484,7 @@ class Group extends Page { | ||
481 | 484 | ||
482 | // 筛选初始化 | 485 | // 筛选初始化 |
483 | filterInit() { | 486 | filterInit() { |
487 | + $('.guess-scroll').find('div:first-child').addClass('active'); | ||
484 | let selectedChannel = this.selectedChannel; | 488 | let selectedChannel = this.selectedChannel; |
485 | let requestParams = { | 489 | let requestParams = { |
486 | ...this.filterTab[selectedChannel] | 490 | ...this.filterTab[selectedChannel] |
-
Please register or login to post a comment