From 6e6c0e1e5150fa2685d74be6cd97db8d765bca92 Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Wed, 15 Oct 2025 10:40:31 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E9=A6=96=E9=A1=B5):=20=E5=B0=86?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=BC=B9=E7=AA=97=E7=BB=84=E4=BB=B6=E4=BB=8E?= =?UTF-8?q?uv-modal=E6=9B=BF=E6=8D=A2=E4=B8=BAuv-popup=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整视频弹窗组件以提升用户体验,移除不必要的padding并设置固定宽度 --- pages/index/home.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pages/index/home.vue b/pages/index/home.vue index 229427b..25e342d 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -165,13 +165,13 @@ - - + @@ -266,8 +266,8 @@ export default { break case '2': // 视频播放 if (bannerItem.video) { - this.$refs.videoModal.open() this.currentVideo = bannerItem.video + this.$refs.videoModal.open() } break case '0': // 富文本内容 @@ -803,7 +803,8 @@ export default { // 视频弹窗样式 .video-container { position: relative; - padding: 20rpx 0; + // padding: 20rpx 0; + width: 90vw; .video-loading { display: flex;