From 29758f3657c62d4317bcb54050d4b860abeb184e Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期三, 14 八月 2024 14:57:17 +0800
Subject: [PATCH] 体育与健康视频修改

---
 src/books/sportsAndHealth/view/components/index.vue |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/books/sportsAndHealth/view/components/index.vue b/src/books/sportsAndHealth/view/components/index.vue
index f6801d2..aa6c1dd 100644
--- a/src/books/sportsAndHealth/view/components/index.vue
+++ b/src/books/sportsAndHealth/view/components/index.vue
@@ -19,7 +19,7 @@
       <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>
 
     </div>
   </div>
@@ -37,7 +37,7 @@
 import chapterSix from './chapter006.vue'
 import chapterSeven from './chapter007.vue'
 import chapterEight from './chapter008.vue'
-
+import chapterNine from './chapter009.vue'
 
 import NoteIcon from '@/assets/images/biji.png'
 import _ from 'lodash'
@@ -50,7 +50,7 @@
 export default {
   data() {
     return {
-      catalogLength: 9, // 鎬荤珷鑺傛暟
+      catalogLength: 10, // 鎬荤珷鑺傛暟
       showCatalogList: [], // 鏄剧ず鐨勭珷鑺�
       loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝��
       throttleThreshold: 100, // 鑺傛祦闃堝��
@@ -168,7 +168,7 @@
 
     // 娴嬭瘯椤甸潰璺宠浆
     setTimeout(() => {
-      this.gotoPage(1, 1)
+      this.gotoPage(4, 134)
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -297,9 +297,11 @@
           const pageDom = (
             this.container ? this.container : document
           ).querySelector(`[page="${page}"]`)
+
           if (pageDom) {
             pageDom.scrollIntoView()
           } else {
+
             console.log('椤电爜閿欒锛�')
           }
         }, 500)
@@ -741,7 +743,8 @@
         chapterfive,
         chapterSix,
         chapterSeven,
-        chapterEight
+        chapterEight,
+        chapterNine
         // assemblyOne,
         // assemblyTwo,
       }
@@ -879,7 +882,8 @@
     chapterfive,
     chapterSix,
     chapterSeven,
-    chapterEight
+    chapterEight,
+    chapterNine
     // assemblyOne,
     // assemblyTwo,
     // ChapterFour,

--
Gitblit v1.9.1