From 10b1d48b7f7655d80e1e431257f3af4e00d5ef2e Mon Sep 17 00:00:00 2001
From: wang <3597712270@qq.com>
Date: 星期四, 06 六月 2024 16:56:21 +0800
Subject: [PATCH] 掰片/识别页面样式,钢化前、钢化后接口

---
 UI-Project/src/views/Identify/identify.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue
index 2e2de95..9316fc9 100644
--- a/UI-Project/src/views/Identify/identify.vue
+++ b/UI-Project/src/views/Identify/identify.vue
@@ -76,12 +76,12 @@
 
       adjustedRects.value = rawRects.map(rect => ({  
         ...rect, // 澶嶅埗鍘熷瀵硅薄鐨勫叾浠栧睘鎬�  
-        x_axis: (rect.x_axis*100) * 0.005, // 灏唜鍊奸櫎浠�3  
-        y_axis: (rect.y_axis*100) * 0.005,
-        width: (rect.width*100) * 0.004 ,
+        x_axis: (rect.x_axis*100) * 0.004, // 灏唜鍊奸櫎浠�3  
+        y_axis: (rect.y_axis*100) * 0.004,
+        width: (rect.width*100) * 0.002 ,
         widtha: rect.width ,
         heighta: rect.height ,
-        height:( rect.height*100) * 0.004 ,
+        height:( rect.height*100) * 0.002 ,
         glass_state: rect.glass_state
       }));  
       console.log(adjustedRects.value);
@@ -183,12 +183,12 @@
   // adjustedRects.value = data.currentCutTerritory[0]
   adjustedRects.value = data.currentCutTerritory[0].map(rect => ({  
         ...rect, // 澶嶅埗鍘熷瀵硅薄鐨勫叾浠栧睘鎬�  
-        x_axis: (rect.x_axis*100) * 0.005, // 灏唜鍊奸櫎浠�3  
-        y_axis: (rect.y_axis*100) * 0.005,
-        width: (rect.width*100) * 0.004 ,
+        x_axis: (rect.x_axis*100) * 0.004, // 灏唜鍊奸櫎浠�3  
+        y_axis: (rect.y_axis*100) * 0.004,
+        width: (rect.width*100) * 0.002 ,
         widtha: rect.width ,
         heighta: rect.height ,
-        height:( rect.height*100) * 0.004 ,
+        height:( rect.height*100) * 0.002 ,
         glass_state: rect.glass_state
       }));  
  // console.log("鏇存柊鍚庢暟鎹�", tableData);

--
Gitblit v1.8.0