Authored by QC-L

添加列表点击事件

... ... @@ -21,7 +21,8 @@ class Group extends Page {
filterTab: $('.filter-nav'),
groupListContent: $('.goods-list'),
resourceList: $('.resource-collage-buy-prd-list'),
resourceListC: $('.resource-collage-buy-prd-list-c')
resourceListC: $('.resource-collage-buy-prd-list-c'),
goodsList: $('.new-goods-list'),
};
this.shareData = {
shareImgUrl: $('.group').data('share-img'),
... ... @@ -150,6 +151,7 @@ class Group extends Page {
this.selector.groupListContent.on('click', '.group-product-cell', this.checkDetail.bind(this));
this.selector.resourceList.on('click', '.product-item', this.checkDetail.bind(this));
this.selector.resourceListC.on('click', '.swiper-slide', this.checkDetail.bind(this));
this.selector.goodsList.on('click', '.new-index-filter-list-item', this.checkDetail.bind(this));
}
fixedTab() {
let listHeight = this.selector.groupListContent.height();
... ...