SyuanYu 6 meses atrás
pai
commit
93ba6d7f52
2 arquivos alterados com 9 adições e 4 exclusões
  1. 6 0
      src/views/Step_1.vue
  2. 3 4
      src/views/Step_6.vue

+ 6 - 0
src/views/Step_1.vue

@@ -184,6 +184,12 @@ span {
     }
   }
 
+  h3,
+  p {
+    position: relative;
+    z-index: 1000;
+  }
+
   .main-btn {
     margin: 0 auto 2.5rem;
 

+ 3 - 4
src/views/Step_6.vue

@@ -194,12 +194,11 @@ const openUploadInput = () => {
             :options="{
               viewMode: 1,
               dragMode: 'crop',
-              aspectRatio: 16 / 9,
             }"
             :presetMode="{
               mode: 'fixedSize',
-              width: 1024,
-              height: 768,
+              width: 1920,
+              height: 1080,
             }"
             @ready="ready"
           />
@@ -282,7 +281,7 @@ const openUploadInput = () => {
   height: 50vw;
   background-repeat: no-repeat;
   background-position: center center;
-  background-size: cover;
+  background-size: contain;
 
   // 隱藏遮罩
   // &::after {