From ce70bc450a2401997bb850f89f3c4dc0a23e0a72 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 05 九月 2025 18:38:13 +0800
Subject: [PATCH] 31 数字化口腔修复技术 整本

---
 src/books/preventiveDentistry/view/components/chapter001.vue |   46 ++++++++++++----------------------------------
 1 files changed, 12 insertions(+), 34 deletions(-)

diff --git a/src/books/preventiveDentistry/view/components/chapter001.vue b/src/books/preventiveDentistry/view/components/chapter001.vue
index d630f51..d50d0cd 100644
--- a/src/books/preventiveDentistry/view/components/chapter001.vue
+++ b/src/books/preventiveDentistry/view/components/chapter001.vue
@@ -193,7 +193,7 @@
           <p class="content">
             鍏厓752骞达紝鐜嬬剺鍦ㄣ�婂鍙扮瑕併�嬩腑宸叉湁鏌虫灊鍒跺埛鐨勮杞斤紝灏嗘潹鏌虫灊鐢ㄧ墮鍜垚绲姸锛屾彥鍒风墮闈€�傚畫浠f棩鏈悕鍍ч亾鍏冪甯堝湪銆婃娉曠溂钘忋�嬩腑璁拌浇鈥滃儳渚d滑闄ゆ急鍙d箣澶栵紝灏氱敤鍓垚瀵镐綑涔嬮┈灏撅紝妞嶄簬鐗涜鍒舵垚鐨勫櫒鐗╀笂锛岀敤浠ュ埛娲楃墮鈥濄�傚叕鍏�916鈥�1125骞达紝杈戒唬鍑虹幇浜嗛鏌勬姣涚墮鍒凤紝涓庤繎浠g墮鍒风浉浼硷紝鍥藉17涓栫邯鎵嶆湁妞嶆瘺鐗欏埛銆傚叕鍏�1281骞寸綏鍏冪泭鎵�钁椼�婂崼鐢熷疂閴淬�嬩腑鎻愬埌瑕佹棭鏅氬埛鐗�2娆★紝蹇芥�濇収鍦ㄣ�婇ギ鑶虫瑕併�嬩腑鎻愬嚭鈥滃嚒娓呮棪鍒风墮锛屼笉濡傚鍒风墮榻跨柧涓嶇敓鈥濓紝寮鸿皟鏅氫笂鍒风墮鐨勯噸瑕佹�с�傝�冨彜鍙戠幇锛屾槑鏈濆笣鐜嬩滑鐨勪竴浜涚墮涓婃湁妤旂姸缂烘崯锛岃鏄庡湪閭f椂鍒风墮灏卞凡鎴愪负涔犳儻銆�
           </p>
-          <h4 class="fourthTitle ">浜屻�佺瀛﹀舰鎴愭椂鏈�</h4>
+          <h4 class="fourthTitle">浜屻�佺瀛﹀舰鎴愭椂鏈�</h4>
           <bookVideo :videoInfo="getResourceInfo('Z16')" :BookId="config.activeBook.bookId"></bookVideo>
           <p class="content">
             鍦ㄥ彛鑵旈闃插尰瀛︾殑鍘嗗彶涓婏紝鍙戠幇鍙h厰缁嗚弻銆佽璇嗘盁鍖栫墿鍙婄獫娌熷皝闂墏鐨勮癁鐢燂紝澶уぇ鎺ㄥ姩浜嗗彛鑵旈闃插尰瀛︾殑鍙戝睍銆傚墠涓よ�呰浜轰滑璁よ瘑浜嗗紩璧峰彛鑵旂柧鐥呯殑鐥呭洜锛屼负閽堝鎬у湴寮�灞曞彛鑵旂柧鐥呴闃插瀹氫簡鍩虹銆傜涓夎�呬娇鍙h厰棰勯槻鏈変簡鏈夋晥鐨勯闃叉帾鏂斤紝鍑忓皯浜嗛緥鐥呯殑鍙戠敓銆�
@@ -347,7 +347,7 @@
       </div>
     </div>
     <preView :md5="p_md5" :pdfTitle="somePdfTitleValue" ref="pdfDialogRef"></preView>
-    <dialogExaminations :cardList="interfaceQuestion" :questionIDList=questionIDList :page="questionNum"
+    <dialogExaminations :cardList="interfaceQuestion" :questionIDList="questionIDList" :page="questionNum"
       :questionTitle="questionTitleMain" ref="dialogRef">
     </dialogExaminations>
   </div>
@@ -365,18 +365,18 @@
     },
     getResourceInfo: {
       type: Function, // 鏄庣‘鎸囧畾瀹冩槸涓�涓嚱鏁�
-      required: true
+      required: true,
     },
     interfaceQuestion: {
       type: Array,
       required: true,
       default: () => [],
-    }
+    },
   },
   components: {
     preView,
     bookVideo,
-    dialogExaminations
+    dialogExaminations,
   },
   data() {
     return {
@@ -387,7 +387,6 @@
       questionTitleMain: "",
       questionIDList: [],
       chapterNum: 2,
-      cardArrayList: [],
       examinations: [
         {
           questionTitleMain: "鎷撳睍缁冧範",
@@ -397,31 +396,12 @@
       questionData: {
         one: "",
       },
-
     };
   },
-  watch: {
-    interfaceQuestion: {
-      handler(newValue, oldValue) {
-        console.log('--- 瀛愮粍浠讹細interfaceQuestion 鏇存柊浜嗭紒 ---');
-        console.log('鏂板�� (newValue):', newValue);
-        console.log('鏃у�� (oldValue):', oldValue);
-        if (newValue && newValue.length > 0) {
-
-        }
-      },
-      deep: true,
-      immediate: true
-    },
-  },
-
   mounted() {
-    console.log(this.interfaceQuestion, "interfaceQuestion");
-
-    this.getQuestionData()
+    this.getQuestionData();
   },
   methods: {
-
     toUrl(val) {
       if (val != null) {
         this.p_md5 = val.md5;
@@ -436,7 +416,9 @@
       );
     },
     getQuestionData() {
-      let questionData = localStorage.getItem("preventiveDentistry-book-chapter01-questionData");
+      let questionData = localStorage.getItem(
+        "preventiveDentistry-book-chapter01-questionData"
+      );
       if (questionData) {
         this.questionData = JSON.parse(questionData);
       }
@@ -444,15 +426,11 @@
     openQuestion(num) {
       if (num != undefined) {
         this.questionNum = this.examinations[num].questionNum;
-        console.log(this.questionNum);
         this.questionTitleMain = this.examinations[num].questionTitleMain;
-        console.log(this.questionTitleMain);
-        this.cardArrayList = this.interfaceQuestion;
-        console.log(this.cardArrayList);
         this.questionIDList = testData[this.chapterNum][this.questionNum];
-        console.log(this.questionIDList);
-
-        this.$refs.dialogRef.openDialogQuestion();
+        this.$nextTick(() => {
+          this.$refs.dialogRef.openDialogQuestion();
+        });
       }
     },
   },

--
Gitblit v1.9.1