From 6be0b7cf6f8c6ae69373d28e8c7910798906d1a2 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期五, 24 五月 2024 16:44:54 +0800 Subject: [PATCH] 优化 --- src/books/lifeCare/view/chapter002.vue | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/books/lifeCare/view/chapter002.vue b/src/books/lifeCare/view/chapter002.vue index 3100c90..495a408 100644 --- a/src/books/lifeCare/view/chapter002.vue +++ b/src/books/lifeCare/view/chapter002.vue @@ -216,7 +216,6 @@ <p> 2锝�4浜轰负涓�缁勫紑灞曞疄璁搷浣滐紝鍏朵腑涓�浜烘搷浣滐紝鍏朵粬鍚屽瑙傛懇銆傛搷浣滆�呬竴杈瑰疄鎿嶄竴杈硅瑙f搷浣滆棰嗭紝鍏朵粬鍚屽鎸夌収鐝骇鐜娓呮磥娑堟瘨鐨勮瘎鍒嗘爣鍑嗙粰鎿嶄綔鑰呮墦鍒嗐�� </p> - <p><br /></p> <!-- <div class="bk-sys"> <div class="bj1-sys"> <p class="left"> @@ -605,7 +604,6 @@ </p> <p>5.鏍规嵁妫�鏌ョ殑缁撴灉鍙戞斁瀵瑰簲鐨勬櫒闂存鏌ョ墝銆�</p> <p>6.灏嗘墍鐢ㄧ墿鍝佹竻鐞嗗共鍑�锛屾憜鏀炬暣榻愩��</p> - <p><br /></p> <div class="tips-bk"> <div class="bj-tip"> 鏅ㄩ棿妫�鏌ヨ瘎鍒嗘爣鍑�<img @@ -1113,8 +1111,9 @@ v-model="chapter002.textAreaItem.text21" style="border: 0" placeholder="璇疯緭鍏ュ唴瀹�" - rows="5" - maxlength="200" + rows="3" + maxlength="100" + class="texxtareaInput" @blur="onBlurChange('text21')" ></textarea> <p class="left">琛ㄧ幇</p> @@ -1122,8 +1121,9 @@ v-model="chapter002.textAreaItem.text22" style="border: 0" placeholder="璇疯緭鍏ュ唴瀹�" - rows="5" - maxlength="200" + rows="3" + maxlength="100" + class="texxtareaInput" @blur="onBlurChange('text22')" ></textarea> <p class="left">鍘熷洜</p> @@ -1131,8 +1131,9 @@ v-model="chapter002.textAreaItem.text23" style="border: 0" placeholder="璇疯緭鍏ュ唴瀹�" - rows="5" - maxlength="200" + rows="3" + maxlength="100" + class="texxtareaInput" @blur="onBlurChange('text23')" ></textarea> </div> @@ -1187,7 +1188,6 @@ <h4 id="d015"> 鈻垛柖 搴旂敤涓庡疄璺�<span class="fontsz1">锛烇紴锛烇紴锛烇紴锛烇紴</span> </h4> - <p><br /></p> <p><b>涓�銆佸崟閫夐</b></p> <p> 1.娆查厤鍒舵祿搴︿负250mg/L鐨勬湁鏁堟隘娑堟瘨鍓�2000mL锛岄渶瑕佷娇鐢ㄦ湁鏁堟隘鍚噺涓�500mg/鐗囩殑鍚隘娑堟瘨鐗囷紙銆�<input @@ -1287,10 +1287,10 @@ </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", @@ -1531,9 +1531,9 @@ }; }, components: { - examinations, + examinations, }, - created() { + async created() { const localData = JSON.parse(localStorage.getItem("chapter002")); if (localData) { this.chapter002 = { ...Object.assign(this.chapter002, localData) }; @@ -1544,7 +1544,7 @@ "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.chapter002.qustionData = await getQuestionData("2",testData[2],this.config.activeBook); }, methods: { activityOne() { -- Gitblit v1.9.1