zhengnaiwen_citu 3 tháng trước cách đây
mục cha
commit
883b189792
1 tập tin đã thay đổi với 10 bổ sung7 xóa
  1. 10 7
      src/views/components/MTry.vue

+ 10 - 7
src/views/components/MTry.vue

@@ -4,6 +4,9 @@
     <div class="d-flex black align-center justify-center" style="height: 100%; position: relative; overflow: hidden;">
       <div class="contentBox">
         <v-card :width="size.width" :height="size.height" class="content" ref="content">
+          <!-- <div class="point" :style="`left: ${coordinate.left.x}px;top: ${coordinate.left.y}px`"></div>
+          <div class="point" :style="`left: ${coordinate.right.x}px;top: ${coordinate.right.y}px`"></div>
+          <div class="point" :style="`left: ${coordinate.bridge.x}px;top: ${coordinate.bridge.y}px`"></div> -->
           <canvas :width="size.width" :height="size.height"
             ref="cover"
             class="cover noMove"
@@ -180,14 +183,14 @@ export default {
           handle: this.onRetake
         }
       ]
-    },
-    coordinate () {
-      return {
-        left: this.item.facial_points.cheek_left_3,
-        right: this.item.facial_points.cheek_right_3,
-        bridge: this.item.facial_points.nose_bridge_1
-      }
     }
+    // coordinate () {
+    //   return {
+    //     left: this.item.facial_points.cheek_left_3,
+    //     right: this.item.facial_points.cheek_right_3,
+    //     bridge: this.item.facial_points.nose_bridge_1
+    //   }
+    // }
   },
   mounted () {
     this.$nextTick(async () => {