From 58a1f8c0fe7c46f21382f6359be02a8e375ece04 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期三, 05 六月 2024 17:59:48 +0800 Subject: [PATCH] 体育与健康样章 --- src/books/lifeCare/view/chapter003.vue | 107 +++++++++++++++++++++-------------------------------- 1 files changed, 43 insertions(+), 64 deletions(-) diff --git a/src/books/lifeCare/view/chapter003.vue b/src/books/lifeCare/view/chapter003.vue index b57e211..aa95886 100644 --- a/src/books/lifeCare/view/chapter003.vue +++ b/src/books/lifeCare/view/chapter003.vue @@ -2785,7 +2785,7 @@ </div> </template> <script> -import {getResourcePath} from "@/assets/methods/resources.js"; +import { getResourcePath } from "@/assets/methods/resources.js"; // import getQuestionData from "@/assets/methods/examination.js"; // import testData from "../js/examinationList.js"; import examinations from "@/components/examinations/index.vue"; @@ -2800,6 +2800,10 @@ }, questionData: { type: Object, + }, + isSearch: { + type: Boolean, + default: false, }, }, data() { @@ -3247,70 +3251,45 @@ drawflow, }, async created() { - const localData = JSON.parse(localStorage.getItem("chapter003")); - if (localData) { - this.chapter003 = { ...Object.assign(this.chapter003, localData) }; + if (!this.isSearch) { + const localData = JSON.parse(localStorage.getItem("chapter003")); + if (localData) { + this.chapter003 = { ...Object.assign(this.chapter003, localData) }; + } + this.chapter003.videOneUrl = await getResourcePath( + "459ab85d46207bfcca4801dc9b319b9b" + ); + this.chapter003.videoTwoUrl = await getResourcePath( + "3817bea302b25b865ff938140939a8de" + ); + this.chapter003.videoFourUrl = await getResourcePath( + "7af72da649f6656c3b2164e708f5c132" + ); + this.chapter003.videoFiveUrl = await getResourcePath( + "e24de9b0cdd889cb73e9b472ad6f4731" + ); + this.chapter003.videoSixUrl = await getResourcePath( + "d95740ab777d9c7ca074c33317a835c4" + ); + this.chapter003.videoSevenUrl = await getResourcePath( + "0b330926f3e6ed510b48144a83199fb3" + ); + this.chapter003.videoEigthUrl = await getResourcePath( + "9f63cc4dcba6a87cbfe82a9ec4d7c77e" + ); + this.chapter003.videoNineUrl = await getResourcePath( + "c2ecf6f102a6e9b210f3db49b17b58a4" + ); + this.chapter003.videoTenUrl = await getResourcePath( + "b6943018923c0cbad4e414dc2097cb9a" + ); + this.chapter003.videoEleUrl = await getResourcePath( + "eb604885f7c01cdf2d95df839c9c233a" + ); + this.chapter003.videoTevUrl = await getResourcePath( + "f12a50c2ac57da78ff02f3d5f430163b" + ); } - this.chapter003.videOneUrl = await getResourcePath( - "459ab85d46207bfcca4801dc9b319b9b" - ); - this.chapter003.videoTwoUrl = await getResourcePath( - "3817bea302b25b865ff938140939a8de" - ); - this.chapter003.videoFourUrl = await getResourcePath( - "7af72da649f6656c3b2164e708f5c132" - ); - this.chapter003.videoFiveUrl = await getResourcePath( - "e24de9b0cdd889cb73e9b472ad6f4731" - ); - this.chapter003.videoSixUrl = await getResourcePath( - "d95740ab777d9c7ca074c33317a835c4" - ); - this.chapter003.videoSevenUrl = await getResourcePath( - "0b330926f3e6ed510b48144a83199fb3" - ); - this.chapter003.videoEigthUrl = await getResourcePath( - "9f63cc4dcba6a87cbfe82a9ec4d7c77e" - ); - this.chapter003.videoNineUrl = await getResourcePath( - "c2ecf6f102a6e9b210f3db49b17b58a4" - ); - this.chapter003.videoTenUrl = await getResourcePath( - "b6943018923c0cbad4e414dc2097cb9a" - ); - this.chapter003.videoEleUrl = await getResourcePath( - "eb604885f7c01cdf2d95df839c9c233a" - ); - this.chapter003.videoTevUrl = await getResourcePath( - "f12a50c2ac57da78ff02f3d5f430163b" - ); - // this.chapter003.videOneUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=459ab85d46207bfcca4801dc9b319b9b"; - // this.chapter003.videoTwoUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=3817bea302b25b865ff938140939a8de"; - // this.chapter003.videoFourUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=7af72da649f6656c3b2164e708f5c132"; - // this.chapter003.videoFiveUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=e24de9b0cdd889cb73e9b472ad6f4731"; - // this.chapter003.videoSixUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=d95740ab777d9c7ca074c33317a835c4"; - // this.chapter003.videoSevenUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=0b330926f3e6ed510b48144a83199fb3"; - // this.chapter003.videoEigthUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=9f63cc4dcba6a87cbfe82a9ec4d7c77e"; - // this.chapter003.videoNineUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=c2ecf6f102a6e9b210f3db49b17b58a4"; - // this.chapter003.videoTenUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=b6943018923c0cbad4e414dc2097cb9a"; - // this.chapter003.videoEleUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=eb604885f7c01cdf2d95df839c9c233a"; - // this.chapter003.videoTevUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=f12a50c2ac57da78ff02f3d5f430163b"; - // this.chapter003.qustionData = await getQuestionData( - // "3", - // testData[3], - // this.config.activeBook - // ); }, methods: { activityOne() { -- Gitblit v1.9.1