diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue index 9d3c6bf..3892a47 100644 --- a/pages/short_video/nvueSwiper/index.nvue +++ b/pages/short_video/nvueSwiper/index.nvue @@ -682,7 +682,10 @@ console.log('eeeee', event.detail.current); this.k = event.detail.current; this.posterImage = false; - this.communityId = this.dataList[this.k]['community_id']; + if (this.isLogin) { + this.downloadFilePromotionCode(this.dataList[this.k]['community_id']); + } + }, animationfinish(event) { // 1.这里进行判断,如果是最后一个视频就进入 get() 方法加载视频进入列表 @@ -788,7 +791,6 @@ }) }, videoData(list) { - this.communityId = list[0]['community_id'] if (list.length == 0) return let that = this; that.page = that.page + 1; @@ -931,6 +933,10 @@ * 生成海报 */ async goPoster() { + // if (!this.isLogin) { + // console.log(this.downloadFilePromotionCode(this.dataList[this.k]['community_id'])); + // // this.downloadFilePromotionCode(this.videoID); + // } let that = this; if (!that.isLogin) {} let type;