From ebf7a029c270a728c7578870d6d60a5762f0d1f2 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期一, 16 十二月 2024 19:35:07 +0800 Subject: [PATCH] ll --- h5/pages/staff/task/vDangetAppr.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/h5/pages/staff/task/vDangetAppr.vue b/h5/pages/staff/task/vDangetAppr.vue index b92706c..e02a154 100644 --- a/h5/pages/staff/task/vDangetAppr.vue +++ b/h5/pages/staff/task/vDangetAppr.vue @@ -263,9 +263,9 @@ @cancel="isShowHandleDate = false" mode="datetime"></u-datetime-picker> <!-- --> - <view v-if="videoPlay" class="video_app"> +<!-- <view v-show="videoPlay" class="video_app"> <video controls id="myvideo" :src="videoUrl" @fullscreenchange="screenChange"></video> - </view> + </view> --> </view> </template> @@ -366,8 +366,8 @@ console.log(item) this.videoPlay = true; this.videoUrl = item.fileurlFull; + this.videoContext.requestFullScreen(); this.$nextTick(() => { - this.videoContext.requestFullScreen(); this.videoContext.play(); }) @@ -1378,6 +1378,10 @@ top: 0; width: 100vw; height: 100vh; + video{ + width: 100%; + height: 100%; + } } .Transfer_footer { display: flex; -- Gitblit v1.9.3