From 65b5cd16cc9d9ab4b346a37107a44011550f701b Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期五, 31 五月 2024 14:27:09 +0800
Subject: [PATCH] 全文检索

---
 src/books/childHealth/view/content/components/chapter001.vue |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/books/childHealth/view/content/components/chapter001.vue b/src/books/childHealth/view/content/components/chapter001.vue
index 26c96bc..e94c94c 100644
--- a/src/books/childHealth/view/content/components/chapter001.vue
+++ b/src/books/childHealth/view/content/components/chapter001.vue
@@ -66,8 +66,8 @@
       </div>
     </div>
     <!-- 2 -->
-    <div class="page-box" page="10">
-      <div v-if="showPageList.indexOf(10) > -1">
+    <div class="page-box" page="10"  :show="showPageList.indexOf(10) > -1">
+      <div v-show="showPageList.indexOf(10) > -1">
         <div class="header-box">
           <div class="header-border-box"></div>
           <div class="header-num-box">
@@ -360,8 +360,6 @@
               v-if="testOne && questionData"
               ref="examinationOne"
               :cardList="questionData[10]"
-              :chapter="1"
-              :page="2"
             />
           </div>
           <h2 class="module_block" id="b001" style="margin: 0">
@@ -433,8 +431,8 @@
       </div>
     </div>
     <!-- 3 -->
-    <div class="page-box" page="11">
-      <div v-if="showPageList.indexOf(11) > -1">
+    <div class="page-box" page="11" :show="showPageList.indexOf(11) > -1">
+      <div v-show="showPageList.indexOf(11) > -1">
         <div class="page-header-box">
           <span class="page-header-text"
             >涓撻涓�&nbsp;瀛﹀墠鍎跨鐢熺悊鍙戝睍鐗圭偣涓庝繚鍋�</span
@@ -506,7 +504,6 @@
                         </div>
                       </div>
                     </div>
-                    <div class="swiper-pagination"></div>
                     <div class="swiper-button-next"></div>
                     <div class="swiper-button-prev"></div>
                   </div>
@@ -1029,7 +1026,7 @@
             </div>
             <div class="right" style="width: 60%">
               <video
-                :src="getResourcePath('163c06871b763954952d1cd74373c618')"
+                :src="pathFive"
                 poster="../../../assets/images/chapterOne/people-video-img.jpg"
                 webkit-playsinline="true"
                 x-webkit-airplay="true"
@@ -4854,7 +4851,6 @@
     };
   },
   async mounted() {
-    this.getResourcePath = getResourcePath;
     this.getVideoPath();
     const localData = localStorage.getItem("chapterOneData");
     if (localData) {
@@ -4878,6 +4874,13 @@
     }
     localStorage.setItem("chapterOneData", JSON.stringify(this.chapterOneData));
   },
+  watch: {
+    showPageList: {
+      handler(newVal, oldVal) {
+        console.log(newVal, "绔犺妭鎺ユ敹鍐呭");
+      }
+    }
+  },
   methods: {
     changeResources(type) {
       console.log("鐐瑰嚮", this.$props.questionData);

--
Gitblit v1.9.1