zhongshujie
2025-04-03 300c757bd9c99bc240f1f79be4d6b1d2534ebc22
src/books/civilServices/view/components/index.vue
@@ -47,6 +47,7 @@
import "swiper/swiper-bundle.css";
import Viewer from "viewerjs";
import "viewerjs/dist/viewer.css";
export default {
  name: "pageContent",
  data() {
@@ -179,7 +180,7 @@
    // 测试页面跳转
    setTimeout(() => {
      this.gotoPage(2,32);
      this.gotoPage(4,140);
    //   setTimeout(() => {
    //     this.renderSign("Highlight", {
    //       id: "2ACA9359",
@@ -936,7 +937,12 @@
        const topGap = playVudio.getBoundingClientRect().top;
        if (bottomGap < 0 || topGap > window.innerHeight) {
          try {
            if (playVudio.readyState) playVudio.requestPictureInPicture();
            if (playVudio.readyState) {
              // playVudio.requestPictureInPicture();
              setTimeout(()=>{
                playVudio.requestPictureInPicture();
              },0)
            }
          } catch (error) {
            console.log(error, "小窗错误error");
          }