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/aviationSafety/view/components/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/books/aviationSafety/view/components/index.vue b/src/books/aviationSafety/view/components/index.vue
index c954fdc..b646fac 100644
--- a/src/books/aviationSafety/view/components/index.vue
+++ b/src/books/aviationSafety/view/components/index.vue
@@ -22,6 +22,7 @@
   </template>
   
   <script>
+  import Vue from "vue";
   import pageHeader from "./header.vue";
   import chapterOne from "./chapter001.vue";
   import chapterTwo from "./chapter002.vue";
@@ -164,8 +165,8 @@
       }, 500);
   
       // 娴嬭瘯椤甸潰璺宠浆
-      setTimeout(() => {
-        this.gotoPage(6,72);
+      // setTimeout(() => {
+      //   this.gotoPage(3,22);
       //   setTimeout(() => {
       //     this.renderSign("Highlight", {
       //       id: "2ACA9359",
@@ -179,7 +180,7 @@
       //     ids: ["2ACA9359"]
       //   });
       // }, 2000);
-      }, 500);
+      // }, 500);
   
       // const pageDom = (this.container ? this.container : document)
       //   .querySelector("#app")
@@ -927,7 +928,11 @@
           const bottomGap = playVudio.getBoundingClientRect().bottom;
           const topGap = playVudio.getBoundingClientRect().top;
           if (bottomGap < 0 || topGap > window.innerHeight) {
-            playVudio.requestPictureInPicture();
+            try {
+            if(playVudio.readyState) playVudio.requestPictureInPicture();
+          } catch (error) {
+              console.log(error,"灏忕獥閿欒error");
+          }
           }
         }
       },

--
Gitblit v1.9.1