zhongshujie
2025-05-23 7d7744fe006714f6be0341d03d4de9b1e90d775d
src/books/artAndDance/view/components/index.vue
@@ -23,6 +23,7 @@
</template>
<script>
import Vue from 'vue'
import pageHeader from "./header.vue";
import chapterOne from "./chapter001.vue";
import chapterTwo from "./chapter002.vue";
@@ -922,7 +923,7 @@
        const bottomGap = playVudio.getBoundingClientRect().bottom;
        const topGap = playVudio.getBoundingClientRect().top;
        if (bottomGap < 0 || topGap > window.innerHeight) {
          playVudio.requestPictureInPicture();
          if(playVudio.readyState) playVudio.requestPictureInPicture();
        }
      }
    }