style:优化视频样式

- 为 video 元素添加边框和圆角样式
- 设置 object-fit 为 fill 以适应容器
- 注释掉未使用的 .video-player 类样式
This commit is contained in:
du.meimei
2025-05-26 18:44:13 +08:00
parent d7b9bb1fa6
commit c196bbb522

View File

@@ -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;
//}
</style>