Authored by QC-L

添加动态选中样式

... ... @@ -192,6 +192,9 @@ class Group extends Page {
success: (data) => {
// $('.filter-mask').remove();
// $('.group').append(data);
// $('.guess-scroll').find('')
$('.guess-scroll').children('div').removeClass('active');
$this.addClass('active');
this.renderMoreData(data.filterList || []);
}
});
... ... @@ -481,6 +484,7 @@ class Group extends Page {
// 筛选初始化
filterInit() {
$('.guess-scroll').find('div:first-child').addClass('active');
let selectedChannel = this.selectedChannel;
let requestParams = {
...this.filterTab[selectedChannel]
... ...
... ... @@ -20,5 +20,9 @@
}
}
.active {
border-bottom: 2px #222 solid;
}
.wapper::-webkit-scrollbar { width: 0 !important; }
}
... ...