QYF-GitLab1
2025-02-17 1b3fd3be47ea0c06b80db9603eb1279daa0dad07
src/books/aviationEtiquette/view/components/index.vue
@@ -158,8 +158,8 @@
    }, 500);
    // 测试页面跳转
    // setTimeout(() => {
    //   this.gotoPage(2, 6);
    setTimeout(() => {
      this.gotoPage(2, 9);
      //   setTimeout(() => {
      //     this.renderSign("Highlight", {
      //       id: "2ACA9359",
@@ -173,7 +173,7 @@
      //     ids: ["2ACA9359"]
      //   });
      // }, 2000);
    // }, 500);
    }, 500);
    // const pageDom = (this.container ? this.container : document)
    //   .querySelector("#app")
@@ -917,7 +917,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");
          }
        }
      }
    },