diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue index 3892a47..f340265 100644 --- a/pages/short_video/nvueSwiper/index.nvue +++ b/pages/short_video/nvueSwiper/index.nvue @@ -389,6 +389,7 @@ page: 1, limit: 10 }, + communityId:'', } }, watch: { @@ -682,9 +683,7 @@ console.log('eeeee', event.detail.current); this.k = event.detail.current; this.posterImage = false; - if (this.isLogin) { - this.downloadFilePromotionCode(this.dataList[this.k]['community_id']); - } + this.communityId = this.dataList[this.k]['community_id']; }, animationfinish(event) { @@ -791,6 +790,7 @@ }) }, videoData(list) { + this.communityId = list[0]['community_id'] if (list.length == 0) return let that = this; that.page = that.page + 1;