From c196bbb5220d6140a6616fd74355935bc8f961fc Mon Sep 17 00:00:00 2001 From: "du.meimei" Date: Mon, 26 May 2025 18:44:13 +0800 Subject: [PATCH] =?UTF-8?q?style:=E4=BC=98=E5=8C=96=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 video 元素添加边框和圆角样式 - 设置 object-fit 为 fill 以适应容器 - 注释掉未使用的 .video-player 类样式 --- src/views/Home/components/Operating.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/views/Home/components/Operating.vue b/src/views/Home/components/Operating.vue index 05505ae4..ed2528eb 100644 --- a/src/views/Home/components/Operating.vue +++ b/src/views/Home/components/Operating.vue @@ -447,4 +447,16 @@ li{ .custom-swiper-button-next { right: 0; } + +video{ + border: 1px solid transparent; + border-radius: 8px; + object-fit: fill; +} +//.video-player { +// //width: 100%; +// //height: auto; /* 自动计算高度 */ +// //max-height: 100%; /* 防止视频超出容器 */ +// border-radius: 8px; +//}