From e5a42538eda99a4860bddc417e107ef230df8837 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 23 五月 2024 12:17:02 +0800 Subject: [PATCH] 合书 --- src/books/lifeCare/view/chapter002.vue | 55 ++++++++++++++++++++++++------------------------------- 1 files changed, 24 insertions(+), 31 deletions(-) diff --git a/src/books/lifeCare/view/chapter002.vue b/src/books/lifeCare/view/chapter002.vue index f2da956..96883e6 100644 --- a/src/books/lifeCare/view/chapter002.vue +++ b/src/books/lifeCare/view/chapter002.vue @@ -1,7 +1,7 @@ <template> <div class="page-content-box"> <div class="page-box"> - <div class="bodystyle"> + <div class="bodystyle topImg"> <h2 id="b002"><img class="img-0" alt="" src="../image/dy2.jpg" /></h2> <div class="bk"> <div class="bj1"> @@ -1187,24 +1187,6 @@ <h4 id="d015"> 鈻垛柖 搴旂敤涓庡疄璺�<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="chapter002.idOpenThree && chapter002.qustionData[23]" - class="tips-file" - > - <examinations - :primaryColor="'#f49a4c'" - :cardList="chapter002.qustionData[23]" - /> - </div> - </div> <p><br /></p> <p><b>涓�銆佸崟閫夐</b></p> <p> @@ -1282,15 +1264,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="chapter002.idOpenThree && chapter002.qustionData[2]" + class="tips-file" + > + <examinations :cardList="chapter002.qustionData[2]" /> + </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: "chapter002", @@ -1576,24 +1573,20 @@ }; }, components: { - examinations, + // examinations, }, - async created() { + created() { const localData = JSON.parse(localStorage.getItem("chapter002")); if (localData) { this.chapter002 = { ...Object.assign(this.chapter002, localData) }; } - this.chapter002.videOneUrl = getResourcePath( - "6e471afdbeb95a8891f1551cbb0cd4fd" - ); - this.chapter002.videOneUrl116 = getResourcePath( - "b727b78f8036a38cbd054816a81da7f8" - ); + // this.chapter002.videOneUrl = getResourcePath("6e471afdbeb95a8891f1551cbb0cd4fd"); + // this.chapter002.videOneUrl116 = getResourcePath('b727b78f8036a38cbd054816a81da7f8') this.chapter002.videOneUrl116 = "https:/jsek.bnuic.com/file/api/ApiDownload?md5=b727b78f8036a38cbd054816a81da7f8"; this.chapter002.videOneUrl = "https:/jsek.bnuic.com/file/api/ApiDownload?md5=6e471afdbeb95a8891f1551cbb0cd4fd"; - this.chapter002.qustionData = await getQuestionData("2", testData[2]); + // this.qustionData = await getQuestionData("2",testData[2]); }, methods: { activityOne() { -- Gitblit v1.9.1