From e33672cf85da88d515d5fe6ccc0a139c3cfaa5db Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 28 八月 2025 22:53:54 +0800 Subject: [PATCH] 8.28更新 --- src/components/bookVideo/index.vue | 22 +++++----------------- 1 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/components/bookVideo/index.vue b/src/components/bookVideo/index.vue index a387040..2cffe95 100644 --- a/src/components/bookVideo/index.vue +++ b/src/components/bookVideo/index.vue @@ -15,11 +15,11 @@ <el-tooltip class="item" effect="dark" :content="localIsCollectVideo ? '鐐瑰嚮鍙栨秷' : '鐐瑰嚮鏀惰棌'" placement="top-start"> <svgIcon class="collect-btn " :icon-file-name="collectResourceList.findIndex( - (item) => item.id == videoPath - ) > -1 - ? collectCheck - : collectImg - " @click="handleCollect()"></svgIcon> + (item) => item.id == videoPath + ) > -1 + ? collectCheck + : collectImg + " @click="handleCollect()"></svgIcon> </el-tooltip> </p> </div> @@ -41,7 +41,6 @@ videoPathSrc: "", collectResourceList: [], localIsCollectVideo: false, - isDisplay: true, videoName: this.videoInfo.resourceName }; }, @@ -53,31 +52,20 @@ type: String, required: "",// 榛樿鍊� }, - logoColor: { - type: String, - required: "#00918e",// 榛樿鍊� - }, }, async mounted() { - debugger - console.log(this.videoInfo, "111111"); await this.getVidoePath(); this.collectResourceList = await getCollectResource( this.BookId ); - console.log(this.collectResourceList, "this.collectResourceList"); - }, methods: { async getVidoePath() { - console.log(this.videoInfo, "this.videoInfo.md5"); this.videoPathSrc = await getResourcePath( this.videoInfo.md5 ); }, - handleCollect() { - debugger this.handleCollectResource( this.videoPath, this.videoPath, -- Gitblit v1.9.1