From 63a7d4f2bb7fdeaa1e6ed616a14c213d91d25a99 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 27 十二月 2024 15:21:21 +0800
Subject: [PATCH] 轮播图优化

---
 src/books/aviationSafety/view/components/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue
index aff5a0d..c954fdc 100644
--- a/src/books/aviationSafety/view/components/index.vue
+++ b/src/books/aviationSafety/view/components/index.vue
@@ -16,6 +16,7 @@
         <chapterFive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList"></chapterFive> 
         <chapterSix v-if="showCatalogList.indexOf(7) > -1" :showPageList="loadPageList"></chapterSix>
         <chapterSeven v-if="showCatalogList.indexOf(8) > -1" :showPageList="loadPageList"></chapterSeven>
+        <chapterEight v-if="showCatalogList.indexOf(9) > -1" :showPageList="loadPageList"></chapterEight>
       </div>
     </div>
   </template>
@@ -29,6 +30,7 @@
   import chapterFive from "./chapter005.vue";
   import chapterSix from "./chapter006.vue";
   import chapterSeven from "./chapter007.vue";
+  import chapterEight from "./chapter008.vue";
   import NoteIcon from "@/assets/images/biji.png";
   import _ from "lodash";
   import Swiper from "swiper/bundle";
@@ -39,7 +41,7 @@
     name: "pageContent",
     data() {
       return {
-        catalogLength: 8, // 鎬荤珷鑺傛暟
+        catalogLength: 9, // 鎬荤珷鑺傛暟
         showCatalogList: [], // 鏄剧ず鐨勭珷鑺�
         loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝��
         throttleThreshold: 100, // 鑺傛祦闃堝��
@@ -163,7 +165,7 @@
   
       // 娴嬭瘯椤甸潰璺宠浆
       setTimeout(() => {
-        this.gotoPage(7, 127);
+        this.gotoPage(6,72);
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -722,6 +724,7 @@
           chapterFive,
           chapterSix,
           chapterSeven,
+          chapterEight
         };
         // 閬嶅巻鎵�鏈夌珷鑺傛枃浠�
         for (const key in pageData) {
@@ -950,6 +953,7 @@
       chapterFive,
       chapterSix,
       chapterSeven,
+      chapterEight
     },
   };
   </script>

--
Gitblit v1.9.1