From 2d685f5d2ad5bf41833b3545fefe04ab17b6f96f Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期五, 24 五月 2024 10:46:03 +0800
Subject: [PATCH] 英语分页

---
 src/books/lifeCare/view/chapter002.vue |   75 ++++++++-----------------------------
 1 files changed, 16 insertions(+), 59 deletions(-)

diff --git a/src/books/lifeCare/view/chapter002.vue b/src/books/lifeCare/view/chapter002.vue
index b7f8afd..129d081 100644
--- a/src/books/lifeCare/view/chapter002.vue
+++ b/src/books/lifeCare/view/chapter002.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="chapter" num='2'>
+  <div class="chapter" num="2">
     <div class="page-box" page="16">
       <div class="bodystyle topImg">
         <h2 id="b002"><img class="img-0" alt="" src="../image/dy2.jpg" /></h2>
@@ -1187,7 +1187,6 @@
         <h4 id="d015">
           鈻垛柖 搴旂敤涓庡疄璺�<span class="fontsz1">锛烇紴锛烇紴锛烇紴锛烇紴</span>
         </h4>
-        <p><br /></p>
         <p><b>涓�銆佸崟閫夐</b></p>
         <p>
           1.娆查厤鍒舵祿搴︿负250mg/L鐨勬湁鏁堟隘娑堟瘨鍓�2000mL锛岄渶瑕佷娇鐢ㄦ湁鏁堟隘鍚噺涓�500mg/鐗囩殑鍚隘娑堟瘨鐗囷紙銆�<input
@@ -1273,10 +1272,13 @@
             />
           </div>
           <div
-            v-if="chapter002.idOpenThree && chapter002.qustionData[2]"
+            v-if="chapter002.idOpenThree && chapter002.qustionData[23]"
             class="tips-file"
           >
-            <examinations :cardList="chapter002.qustionData[2]" />
+            <examinations
+              :primaryColor="'#f49a4c'"
+              :cardList="chapter002.qustionData[23]"
+            />
           </div>
         </div>
       </div>
@@ -1284,10 +1286,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",
@@ -1306,53 +1308,8 @@
         isInspectOpen: true,
         isInspectOpen: true,
         qustionData: {},
-        textAreaItem: {
-          text1: "",
-          text2: "",
-          text3: "",
-          text4: "",
-          text5: "",
-          text6: "",
-          text7: "",
-          text8: "",
-          text9: "",
-          text10: "",
-          text11: "",
-          text12: "",
-          text13: "",
-          text14: "",
-          text15: "",
-          text16: "",
-          text17: "",
-          text18: "",
-          text19: "",
-          text20: "",
-          text21: "",
-          text22: "",
-          text23: "",
-          text24: "",
-          text25: "",
-        },
-        table121: {
-          text1: "",
-          text2: "",
-          text3: "",
-          text4: "",
-          text5: "",
-          text6: "",
-          text7: "",
-          text8: "",
-          text9: "",
-          text10: "",
-          text11: "",
-          text12: "",
-          text13: "",
-          text14: "",
-          text15: "",
-          text16: "",
-          text17: "",
-          text18: "",
-        },
+        textAreaItem: {},
+        table121: {},
         // 琛ㄦ牸1-2-1
         headersData: [
           "妫�鏌ュ璞�",
@@ -1573,20 +1530,20 @@
     };
   },
   components: {
-    // examinations,
+    examinations,
   },
-  created() {
+  async 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.qustionData = await getQuestionData("2",testData[2]);
+    this.chapter002.qustionData = await getQuestionData("2",testData[2],this.config.activeBook);
   },
   methods: {
     activityOne() {

--
Gitblit v1.9.1