From f6775e5080917ed7d4d5a8b901e55e65abda3670 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期一, 28 十月 2024 18:12:55 +0800
Subject: [PATCH] 民航概论分页

---
 src/books/civilAviation/view/components/index.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/books/civilAviation/view/components/index.vue b/src/books/civilAviation/view/components/index.vue
index 4c75882..753cb31 100644
--- a/src/books/civilAviation/view/components/index.vue
+++ b/src/books/civilAviation/view/components/index.vue
@@ -10,6 +10,7 @@
     }">
       <pageHeader v-if="showCatalogList.indexOf(1) > -1" :showPageList="loadPageList"></pageHeader>
       <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList"></chapterOne>
+      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"></chapterTwo>
     </div>
   </div>
 </template>
@@ -17,6 +18,7 @@
 <script>
 import pageHeader from "./header.vue";
 import chapterOne from "./chapter001.vue";
+import chapterTwo from "./chapter002.vue"
 import NoteIcon from "@/assets/images/biji.png";
 import _ from "lodash";
 import Swiper from "swiper/bundle";
@@ -27,7 +29,7 @@
   name: "pageContent",
   data() {
     return {
-      catalogLength: 2, // 鎬荤珷鑺傛暟
+      catalogLength: 3, // 鎬荤珷鑺傛暟
       showCatalogList: [], // 鏄剧ず鐨勭珷鑺�
       loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝��
       throttleThreshold: 100, // 鑺傛祦闃堝��
@@ -151,8 +153,8 @@
     }, 500);
 
     // 娴嬭瘯椤甸潰璺宠浆
-    // setTimeout(() => {
-    //   this.gotoPage(6, 30);
+    setTimeout(() => {
+      this.gotoPage(3, 45);
     //   setTimeout(() => {
     //     this.renderSign("Highlight", {
     //       id: "2ACA9359",
@@ -166,7 +168,7 @@
     //     ids: ["2ACA9359"]
     //   });
     // }, 2000);
-    // }, 500);
+    }, 500);
 
     // const pageDom = (this.container ? this.container : document)
     //   .querySelector("#app")
@@ -706,6 +708,7 @@
       const pageData = {
         pageHeader,
         chapterOne,
+        chapterTwo
       };
       // 閬嶅巻鎵�鏈夌珷鑺傛枃浠�
       for (const key in pageData) {
@@ -914,7 +917,6 @@
     },
     //鍏朵粬绫诲悕涓嬪瓧浣撳ぇ灏忓彉鍖�
     transformDom(fs) {
-      console.log('瀛椾綋澶у皬',fs);
       if(!fs) return
       let doms = (
         this.container ? this.container : document
@@ -929,6 +931,7 @@
   components: {
     pageHeader,
     chapterOne,
+    chapterTwo
   },
 };
 </script>

--
Gitblit v1.9.1