Explorar o código

修改视频展示样式

wyling %!s(int64=3) %!d(string=hai) anos
pai
achega
2d5954efb6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/components/VideoPreview/src/index.vue

+ 3 - 0
src/components/VideoPreview/src/index.vue

@@ -37,6 +37,7 @@ export default {
   align-items: center;
   .video-box {
     width: 50%;
+    height: 50%;
     position: relative;
     .close-icon {
       position: absolute;
@@ -46,6 +47,8 @@ export default {
     }
     .video {
       width: 100%;
+      height: 100%;
+      background-color: #000000;
     }
   }
 }