From 3d27635c7ac693c461dd2ca01e8f5bebb1f0c642 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期一, 27 五月 2024 17:16:22 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/lifeCare/view/chapter005.vue | 52 ++++++++++++++++++++++++++-------------------------- 1 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/books/lifeCare/view/chapter005.vue b/src/books/lifeCare/view/chapter005.vue index 4f16150..1ec380b 100644 --- a/src/books/lifeCare/view/chapter005.vue +++ b/src/books/lifeCare/view/chapter005.vue @@ -413,7 +413,6 @@ <h4 id="d045"> 鈻垛柖 娲诲姩3锛氬啿璋冮厤鏂瑰ザ<span class="fontsz1">锛烇紴锛烇紴锛烇紴锛烇紴</span> </h4> - <p><br /></p> <!-- <div class="bk-sys"> <div class="bj1-sys"> <p class="left"> @@ -2611,21 +2610,6 @@ <h4 id="d061"> 鈻垛柖 搴旂敤涓庡疄璺�<span class="fontsz1">锛烇紴锛烇紴锛烇紴锛烇紴</span> </h4> - <div class="tips-bk"> - <div class="bj-tip"> - 浜戞祴璇曪細鍗曞厓浜斿簲鐢ㄤ笌瀹炶返<img - src="../icons/sub.png" - @click="activityThree" - alt="" - /> - </div> - <div - v-if="chapter005.idOpenThree && chapter005.qustionData[3]" - class="tips-file" - > - <examinations :cardList="chapter005.qustionData[3]" /> - </div> - </div> <p><br /></p> <!-- <p><br /></p> <div class="bk-sys"> @@ -2739,15 +2723,30 @@ @blur="onBlurChange('desc')" ></textarea> </div> + <div class="tips-bk"> + <div class="bj-tip"> + 浜戞祴璇曪細鍗曞厓浜斿簲鐢ㄤ笌瀹炶返<img + src="../icons/sub.png" + @click="activityThree" + alt="" + /> + </div> + <div + v-if="chapter005.idOpenThree && chapter005.qustionData[94]" + class="tips-file" + > + <examinations :primaryColor="'#f49a4c'" :cardList="chapter005.qustionData[94]" /> + </div> + </div> </div> </div> </div> </template> <script> -// import getResourcePath from "@/assets/methods/resources.js"; -// import getQuestionData from "@/assets/methods/examination.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"; +import examinations from "@/components/examinations/index.vue"; export default { name: "chapter005", @@ -2767,6 +2766,7 @@ isScore1Open: true, isScore2Open: true, isScore3Open: true, + isScore4Open:true, qustionData: {}, // 鍐茶皟閰嶆柟濂� publicHeader: ["搴忓彿", "鑰冩牳鍐呭", "閰嶅垎", "璇勫垎鏍囧噯", "鎵e垎", "寰楀垎"], @@ -3172,17 +3172,17 @@ }; }, components: { - // examinations, + examinations, }, - created() { + async created() { const localData = JSON.parse(localStorage.getItem("chapter005")); if (localData) { this.chapter005 = { ...Object.assign(this.chapter005, localData) }; } - // this.chapter005.videOneUrl = getResourcePath("439b0bde62a5098875c77e2492676577"); - // this.chapter005.videoTwoUrl = getResourcePath("1a878261410b01ee8e4e0602a1fe935f"); - // this.chapter005.videoFourUrl = getResourcePath("6cf2619beb704b3d79de04f0775c8ba3"); - // this.chapter005.videoFiveUrl = getResourcePath("8400384441ad9236d5eab24f500ec2c7"); + this.chapter005.videOneUrl = getResourcePath("439b0bde62a5098875c77e2492676577"); + this.chapter005.videoTwoUrl = getResourcePath("1a878261410b01ee8e4e0602a1fe935f"); + this.chapter005.videoFourUrl = getResourcePath("6cf2619beb704b3d79de04f0775c8ba3"); + this.chapter005.videoFiveUrl = getResourcePath("8400384441ad9236d5eab24f500ec2c7"); this.chapter005.videOneUrl = "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; this.chapter005.videoTwoUrl = @@ -3191,7 +3191,7 @@ "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; this.chapter005.videoFiveUrl = "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; - // this.chapter005.qustionData = await getQuestionData("5",testData[5]); + this.chapter005.qustionData = await getQuestionData("5",testData[5],this.config.activeBook); }, methods: { activityOne() { -- Gitblit v1.9.1