From 29758f3657c62d4317bcb54050d4b860abeb184e Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 14 八月 2024 14:57:17 +0800 Subject: [PATCH] 体育与健康视频修改 --- src/books/sportsAndHealth/view/components/chapter004.vue | 82 +++++++++++++++++++++++----------------- 1 files changed, 47 insertions(+), 35 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter004.vue b/src/books/sportsAndHealth/view/components/chapter004.vue index 61a69c7..a7485c6 100644 --- a/src/books/sportsAndHealth/view/components/chapter004.vue +++ b/src/books/sportsAndHealth/view/components/chapter004.vue @@ -2549,42 +2549,7 @@ if (localData) { this.chapter004 = { ...Object.assign(this.chapter004, localData) }; } - if (!this.isSearch) { - this.getVideo(this.chapter004.videoMd5.v1.md5, "v1"); - this.getVideo(this.chapter004.videoMd5.v2.md5, "v2"); - this.getVideo(this.chapter004.videoMd5.v3.md5, "v3"); - this.getVideo(this.chapter004.videoMd5.v4.md5, "v4"); - this.getVideo(this.chapter004.videoMd5.v5.md5, "v5"); - this.getVideo(this.chapter004.videoMd5.v6.md5, "v6"); - setTimeout(() => { - this.getVideo(this.chapter004.videoMd5.v7.md5, "v7"); - this.getVideo(this.chapter004.videoMd5.v8.md5, "v8"); - this.getVideo(this.chapter004.videoMd5.v9.md5, "v9"); - this.getVideo(this.chapter004.videoMd5.v10.md5, "v10"); - this.getVideo(this.chapter004.videoMd5.v11.md5, "v11"); - this.getVideo(this.chapter004.videoMd5.v12.md5, "v12"); - }, 1000); - - setTimeout(() => { - this.getVideo(this.chapter004.videoMd5.v13.md5, "v13"); - this.getVideo(this.chapter004.videoMd5.v14.md5, "v14"); - this.getVideo(this.chapter004.videoMd5.v15.md5, "v15"); - this.getVideo(this.chapter004.videoMd5.v16.md5, "v16"); - this.getVideo(this.chapter004.videoMd5.v17.md5, "v17"); - this.getVideo(this.chapter004.videoMd5.v18.md5, "v18"); - }, 3000); - - setTimeout(() => { - this.getVideo(this.chapter004.videoMd5.v19.md5, "v19"); - this.getVideo(this.chapter004.videoMd5.v20.md5, "v20"); - this.getVideo(this.chapter004.videoMd5.v21.md5, "v21"); - this.getVideo(this.chapter004.videoMd5.v22.md5, "v22"); - this.getVideo(this.chapter004.videoMd5.v23.md5, "v23"); - this.getVideo(this.chapter004.videoMd5.v24.md5, "v24"); - this.getVideo(this.chapter004.videoMd5.v25.md5, "v25"); - }, 5000); - } }, methods: { @@ -2622,6 +2587,53 @@ }, activityXyx6() { this.chapter004.isShowXyx06 = !this.chapter004.isShowXyx06; + + + + + + if (!this.isSearch && !this.chapter004.videoShow1) { + this.getVideo(this.chapter004.videoMd5.v1.md5, "v1"); + this.getVideo(this.chapter004.videoMd5.v2.md5, "v2"); + this.getVideo(this.chapter004.videoMd5.v3.md5, "v3"); + this.getVideo(this.chapter004.videoMd5.v4.md5, "v4"); + this.getVideo(this.chapter004.videoMd5.v5.md5, "v5"); + this.getVideo(this.chapter004.videoMd5.v6.md5, "v6"); + + setTimeout(() => { + this.getVideo(this.chapter004.videoMd5.v7.md5, "v7"); + this.getVideo(this.chapter004.videoMd5.v8.md5, "v8"); + this.getVideo(this.chapter004.videoMd5.v9.md5, "v9"); + this.getVideo(this.chapter004.videoMd5.v10.md5, "v10"); + this.getVideo(this.chapter004.videoMd5.v11.md5, "v11"); + this.getVideo(this.chapter004.videoMd5.v12.md5, "v12"); + }, 1000); + + setTimeout(() => { + this.getVideo(this.chapter004.videoMd5.v13.md5, "v13"); + this.getVideo(this.chapter004.videoMd5.v14.md5, "v14"); + this.getVideo(this.chapter004.videoMd5.v15.md5, "v15"); + this.getVideo(this.chapter004.videoMd5.v16.md5, "v16"); + this.getVideo(this.chapter004.videoMd5.v17.md5, "v17"); + this.getVideo(this.chapter004.videoMd5.v18.md5, "v18"); + }, 3000); + + setTimeout(() => { + this.getVideo(this.chapter004.videoMd5.v19.md5, "v19"); + this.getVideo(this.chapter004.videoMd5.v20.md5, "v20"); + this.getVideo(this.chapter004.videoMd5.v21.md5, "v21"); + this.getVideo(this.chapter004.videoMd5.v22.md5, "v22"); + this.getVideo(this.chapter004.videoMd5.v23.md5, "v23"); + this.getVideo(this.chapter004.videoMd5.v24.md5, "v24"); + this.getVideo(this.chapter004.videoMd5.v25.md5, "v25"); + }, 5000); + } + + + + + + this.chapter004.videoShow1 = true; setTimeout(() => { this.chapter004.videoShow2 = true; -- Gitblit v1.9.1