From 1360d110943a02823b56d07e40af1b7ad64d2a36 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 10 十月 2024 11:26:20 +0800
Subject: [PATCH] 体育与健康bug修改

---
 src/books/sportsAndHealth/view/components/index.vue |   95 ++++++-----------------------------------------
 1 files changed, 12 insertions(+), 83 deletions(-)

diff --git a/src/books/sportsAndHealth/view/components/index.vue b/src/books/sportsAndHealth/view/components/index.vue
index 2bff493..0707942 100644
--- a/src/books/sportsAndHealth/view/components/index.vue
+++ b/src/books/sportsAndHealth/view/components/index.vue
@@ -15,85 +15,12 @@
       <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"></chapterTwo>
       <chapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList"></chapterThree>
       <chapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList"></chapterFour>
-      <!-- <assemblyOne v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList"></assemblyOne> -->
       <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>
+      <chapterNine v-if="showCatalogList.indexOf(10) > -1" :showPageList="loadPageList"></chapterNine>
 
-      <!-- <assemblyTwo v-if="showCatalogList.indexOf(7) > -1" :showPageList="loadPageList" @openPDFChange="swdtChange" /> -->
-
-      <!-- <ChapterFour
-        v-if="showCatalogList.indexOf(5) > -1"
-        :showPageList="loadPageList"
-        :questionData="questionDataMap"
-      /> -->
-      <!-- <ChapterFive
-        v-if="showCatalogList.indexOf(6) > -1"
-        :showPageList="loadPageList"
-        :questionData="questionDataMap"
-        @Upload_initViewer="changeDomViewer"
-      /> -->
-      <!-- <chapterSix
-        v-if="showCatalogList.indexOf(7) > -1"
-        :showPageList="loadPageList"
-        :questionData="questionDataMap"
-      /> -->
-      <!-- <chapterSeven
-        v-if="showCatalogList.indexOf(8) > -1"
-        :showPageList="loadPageList"
-        :questionData="questionDataMap"
-        @eventSwdt="swdtChange"
-        @Upload_initViewer="changeDomViewer"
-      /> -->
-      <!-- <chapterEight
-        v-if="showCatalogList.indexOf(9) > -1"
-        :showPageList="loadPageList"
-        :questionData="questionDataMap"
-      /> -->
-      <!-- <chapterNine
-        v-if="showCatalogList.indexOf(10) > -1"
-        :showPageList="loadPageList"
-        :questionData="questionDataMap"
-      /> -->
-      <!-- <chapter010
-        v-if="showCatalogList.indexOf(11) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter011
-        v-if="showCatalogList.indexOf(12) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter012
-        v-if="showCatalogList.indexOf(13) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter013
-        v-if="showCatalogList.indexOf(14) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter014
-        v-if="showCatalogList.indexOf(15) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter015
-        v-if="showCatalogList.indexOf(16) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter016
-        v-if="showCatalogList.indexOf(17) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter017
-        v-if="showCatalogList.indexOf(18) > -1"
-        :showPageList="loadPageList"
-      /> -->
-      <!-- <chapter018
-        v-if="showCatalogList.indexOf(19) > -1"
-        :showPageList="loadPageList"
-      /> -->
     </div>
   </div>
 </template>
@@ -110,9 +37,7 @@
 import chapterSix from './chapter006.vue'
 import chapterSeven from './chapter007.vue'
 import chapterEight from './chapter008.vue'
-// import assemblyOne from "./testDynaicTable.vue";
-import assemblyTwo from './testPp.vue'
-
+import chapterNine from './chapter009.vue'
 
 import NoteIcon from '@/assets/images/biji.png'
 import _ from 'lodash'
@@ -125,7 +50,7 @@
 export default {
   data() {
     return {
-      catalogLength: 9, // 鎬荤珷鑺傛暟
+      catalogLength: 10, // 鎬荤珷鑺傛暟
       showCatalogList: [], // 鏄剧ず鐨勭珷鑺�
       loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝��
       throttleThreshold: 100, // 鑺傛祦闃堝��
@@ -242,8 +167,8 @@
     }, 500)
 
     // 娴嬭瘯椤甸潰璺宠浆
-    setTimeout(() => {
-      this.gotoPage(9, 248)
+    // setTimeout(() => {
+    //   this.gotoPage(1, 41)
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -271,7 +196,7 @@
       //   txt: " 杩愬姩绯荤粺鏄敱楠ㄣ�侀杩炵粨鍜岄楠艰倢涓夐儴鍒嗙粍鎴愮殑銆傚叏韬殑楠ㄩ�氳繃楠ㄨ繛缁撶粍鎴愪汉浣撻楠硷紙瑙佸浘1-1锛夈�傞楠兼槸浜轰綋鐨勬敮鏋讹紝鍏锋湁淇濇姢鍐呰剰鍣ㄥ畼銆佷緵鑲岃倝闄勭潃鍜屼綔涓鸿倢鑲夎繍鍔ㄧ殑鏉犳潌绛変綔鐢ㄣ�傚湪绁炵粡绯荤粺鐨勬敮閰嶄笅锛岃倢鑲夋敹缂╃壍鍔ㄦ墍闄勭潃鐨勯缁曠潃鍏宠妭杞姩锛屼娇韬綋浜х敓鍚勭鍔ㄤ綔銆傛墍浠ワ紝杩愬姩绯荤粺鍏锋湁杩愬姩銆佹敮鎸佸拰淇濇姢绛夊姛鑳斤紝骞煎勾鏃舵湡鐨勯楠艰繕鍏锋湁閫犺鍔熻兘銆� ",
       //   txtIndex: 57
       // });
-    }, 500)
+    // }, 500)
   },
   methods: {
     swdtChange(data) {
@@ -372,9 +297,11 @@
           const pageDom = (
             this.container ? this.container : document
           ).querySelector(`[page="${page}"]`)
+
           if (pageDom) {
             pageDom.scrollIntoView()
           } else {
+
             console.log('椤电爜閿欒锛�')
           }
         }, 500)
@@ -816,7 +743,8 @@
         chapterfive,
         chapterSix,
         chapterSeven,
-        chapterEight
+        chapterEight,
+        chapterNine
         // assemblyOne,
         // assemblyTwo,
       }
@@ -954,7 +882,8 @@
     chapterfive,
     chapterSix,
     chapterSeven,
-    chapterEight
+    chapterEight,
+    chapterNine
     // assemblyOne,
     // assemblyTwo,
     // ChapterFour,

--
Gitblit v1.9.1