From 30d147c4c92dbfd5ca1b2f8c24a617dc82d2d25b Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期一, 28 四月 2025 18:34:51 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/meetingPlanners/view/components/index.vue |   42 +++++++++++++++++++++++-------------------
 1 files changed, 23 insertions(+), 19 deletions(-)

diff --git a/src/books/meetingPlanners/view/components/index.vue b/src/books/meetingPlanners/view/components/index.vue
index 4b8129b..7834ecd 100644
--- a/src/books/meetingPlanners/view/components/index.vue
+++ b/src/books/meetingPlanners/view/components/index.vue
@@ -8,15 +8,19 @@
       transform: `scale(${pageZoom})`,
       transformOrigin: 'center top',
     }">
-      <pageHeader v-if="showCatalogList.indexOf(1) > -1" :showPageList="loadPageList" ></pageHeader>
-      <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" :interfaceQuestion="questionDataMap"></chapterOne>
-      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList" :interfaceQuestion="questionDataMap"></chapterTwo>
-      <chapterThree  v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :interfaceQuestion="questionDataMap"></chapterThree>
+      <pageHeader v-if="showCatalogList.indexOf(1) > -1" :showPageList="loadPageList"></pageHeader>
+      <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList"
+        :interfaceQuestion="questionDataMap"></chapterOne>
+      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"
+        :interfaceQuestion="questionDataMap"></chapterTwo>
+      <chapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList"
+        :interfaceQuestion="questionDataMap"></chapterThree>
     </div>
   </div>
 </template>
 
 <script>
+import Vue from "vue";
 import pageHeader from "./header.vue";
 import chapterOne from "./chapter001.vue";
 import chapterTwo from "./chapter002.vue";
@@ -102,7 +106,6 @@
     // 榛樿鍔犺浇绔犺妭
     this.showCatalogList = [1];
     // 婊氬姩鐩戝惉鑺傛祦
-    debugger
     this.throttledScrollHandler = _.throttle(
       this.scrollFun,
       this.throttleThreshold,
@@ -157,8 +160,8 @@
     }, 500);
 
     //娴嬭瘯椤甸潰璺宠浆
-    setTimeout(() => {
-      this.gotoPage(3, 134);
+    // setTimeout(() => {
+    //   this.gotoPage(3,237);
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -171,8 +174,8 @@
       //   this.delSign({
       //     ids: ["2ACA9359"]
       //   });
-      // }, 2000);
-    }, 500);
+      //   // }, 2000);
+    // }, 500);
 
     // const pageDom = (this.container ? this.container : document)
     //   .querySelector("#app")
@@ -218,7 +221,6 @@
         ) {
           console.log(1);
 
-          debugger
           // 鍒拌揪闃堝��
           if (
             this.showCatalogList[this.showCatalogList.length - 1] <
@@ -905,19 +907,21 @@
     },
     // 瑙嗛灏忕獥
     handleVideoPicture() {
-      let doms = (
-        this.container ? this.container : document
-      ).querySelectorAll(".video");
-      doms = Array.from(doms)
-      if (!doms.length) return false
-      const playVudio = doms
-        .reverse()
-        .find((item) => item.paused == false);
+      let doms = (this.container ? this.container : document).querySelectorAll(
+        ".video"
+      );
+      doms = Array.from(doms);
+      if (!doms.length) return false;
+      const playVudio = doms.reverse().find((item) => item.paused == false);
       if (playVudio) {
         const bottomGap = playVudio.getBoundingClientRect().bottom;
         const topGap = playVudio.getBoundingClientRect().top;
         if (bottomGap < 0 || topGap > window.innerHeight) {
-          if (playVudio.readyState) playVudio.requestPictureInPicture();
+          try {
+            if (playVudio.readyState) playVudio.requestPictureInPicture();
+          } catch (error) {
+            console.log(error, "灏忕獥閿欒error");
+          }
         }
       }
     },

--
Gitblit v1.9.1