tremble 3 years ago
parent
commit
017d7081fd
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/components/openVideo/index.vue

+ 4 - 1
src/components/openVideo/index.vue

@@ -51,12 +51,15 @@ onMounted(() => {
   table-layout: fixed;
   .bgvideo {
     position: absolute;
-    height: 150%;
     left: 0;
     top: 0;
     bottom: 0;
     right: 0;
     z-index: -2;
+    height: 100%;
+    z-index: 0;
+    width: auto;
+    object-fit: fill;
     // filter: blur(10px);
   }
   .vmask {