@@ -166,5 +166,8 @@ export default {
width: 100%;
height: auto;
border-radius: 8px;
+ max-height: 300px; /* 设置最大高度,避免过大 */
+ object-fit: contain; /* 保持比例,不拉伸 */
+ background-color: #000; /* 黑色背景,避免视频加载时显示白色 */
}
</style>