闫增涛
2024-12-31 a8da6c44895f90bc6d33df129bccd424bf73be3e
src/books/aviationSafety/view/components/index.vue
@@ -110,7 +110,6 @@
      // 默认加载章节
      this.showCatalogList = [1];
      // 滚动监听节流
      // debugger
      this.throttledScrollHandler = _.throttle(
        this.scrollFun,
        this.throttleThreshold,
@@ -166,7 +165,7 @@
  
      // 测试页面跳转
      setTimeout(() => {
        this.gotoPage(9,130);
        this.gotoPage(1,1);
      //   setTimeout(() => {
      //     this.renderSign("Highlight", {
      //       id: "2ACA9359",
@@ -226,7 +225,6 @@
          ) {
            console.log(1);
  
            // debugger
            // 到达阈值
            if (
              this.showCatalogList[this.showCatalogList.length - 1] <
@@ -929,7 +927,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");
          }
          }
        }
      },