From ab4eeb1b8b17f9fd49784996507f9f12b43ee8d2 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Tue, 24 Dec 2024 16:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=85=8D=E8=B4=B9=E5=88=86?= =?UTF-8?q?=E9=92=9F=E6=92=AD=E6=94=BE=E8=A7=86=E9=A2=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- me/detail/detail.nvue | 4 ++++ pages/task/index.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/me/detail/detail.nvue b/me/detail/detail.nvue index 2f79759..be16bc4 100644 --- a/me/detail/detail.nvue +++ b/me/detail/detail.nvue @@ -563,8 +563,10 @@ //播放时的回掉 videoPlay(videoId, courseDetailsId) { console.log(courseDetailsId) + console.log(this.playFlag) // this.courseDetailsId = courseDetailsId if (!this.playFlag) { + this.getDataList(this.courseId, this.videoList[this.current].courseDetailsId,true); this.playFlag = true httpsRequest.getT('app/course/viewCourse', { courseId: this.courseId, @@ -594,6 +596,7 @@ }, appear(e, index) { + this.playFlag = false this.courseDetailsId = e; // 清除已经设置的定时器 clearTimeout(this.appearTimeout); @@ -1273,6 +1276,7 @@ }; httpsRequest.getT('/app/course/selectCourseDetailsById', data).then(res => { if (res.code == 0) { + console.log(res) if (res.data.listsDetail) { this.info = res.data; this.title = this.info.title; diff --git a/pages/task/index.vue b/pages/task/index.vue index d6b764e..01dd421 100644 --- a/pages/task/index.vue +++ b/pages/task/index.vue @@ -156,7 +156,7 @@ userId: uni.getStorageSync('userId'), extra: uni.getStorageSync('userId')+""+new Date().getTime(), } - + console.log(this.urlCallback) this.isLoading = true; // 首次加载广告 setTimeout(() => {