From d11b7bf0ecbf1662ca96c127beda0581ecfd6853 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期六, 19 七月 2025 00:07:27 +0800 Subject: [PATCH] 7.19 --- src/books/civilServices/view/components/index.vue | 24 +++++++++--------------- 1 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/books/civilServices/view/components/index.vue b/src/books/civilServices/view/components/index.vue index ae6cfed..bae448b 100644 --- a/src/books/civilServices/view/components/index.vue +++ b/src/books/civilServices/view/components/index.vue @@ -36,6 +36,7 @@ </template> <script> +import Vue from "vue"; import pageHeader from "./header.vue"; import chapterOne from "./chapter001.vue"; import chapterTwo from "./chpater002.vue"; @@ -47,6 +48,7 @@ import "swiper/swiper-bundle.css"; import Viewer from "viewerjs"; import "viewerjs/dist/viewer.css"; + export default { name: "pageContent", data() { @@ -179,20 +181,7 @@ // 娴嬭瘯椤甸潰璺宠浆 // setTimeout(() => { - // this.gotoPage(3,79); - // setTimeout(() => { - // this.renderSign("Highlight", { - // id: "2ACA9359", - // txt: "棰樹竴瀛︿範涓婚涓� 杩愬姩", - // page: "10", - // type: "Highlight", - // color: "#F5E12A" - // }); - // setTimeout(() => { - // this.delSign({ - // ids: ["2ACA9359"] - // }); - // }, 2000); + // this.gotoPage(3,33); // }, 500); // const pageDom = (this.container ? this.container : document) @@ -936,7 +925,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"); } -- Gitblit v1.9.1