zengyicheng 3 年之前
父節點
當前提交
b13e0e86a7
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/components/function.vue

+ 6 - 6
src/components/function.vue

@@ -14,16 +14,16 @@
 					<video
 						ref="video"
 						id="video_cam"
-						width="265"
-						height="212"
+						width="195"
+						height="156"
 						class="face"
 						autoplay
 						v-show="isCamera"
 					></video>
 					<canvas
 						ref="canvasDOM"
-						width="265"
-						height="212"
+						width="195"
+						height="156"
 						class="kuang"
 						v-show="isCamera"
 					></canvas>
@@ -350,8 +350,8 @@
 
 	.face {
 		position: absolute;
-		z-index: 1;
-		padding: 26.5px 0;
+    z-index: 1;
+    padding: 5px 0px;
 	}
 
 	.kuang {