Ver código fonte

修改视频展示样式

wyling 3 anos atrás
pai
commit
2d5954efb6
1 arquivos alterados com 3 adições e 0 exclusões
  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;
     }
   }
 }