From a6be747fb2d15cbb8aad9490bacc374a055ed63f Mon Sep 17 00:00:00 2001 From: wangfei <3597712270@qq.com> Date: 星期二, 31 十二月 2024 15:16:01 +0800 Subject: [PATCH] 大理片笼指定工程入参,掰片/识别模块样式更改 --- UI-Project/src/views/Identify/identifwutwo.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/UI-Project/src/views/Identify/identifwutwo.vue b/UI-Project/src/views/Identify/identifwutwo.vue index e633e48..e7114ff 100644 --- a/UI-Project/src/views/Identify/identifwutwo.vue +++ b/UI-Project/src/views/Identify/identifwutwo.vue @@ -9,7 +9,7 @@ class="rect" @click="showDialog(rect.glassId)" :style="{ position: 'absolute', - top: `${rect.yAxis}px`, left: `${rect.xAxis}px`, width: `${rect.edgWidth}px`, height: `${rect.edgHeight}px`, + top: `${rect.yAxisa}px`, left: `${rect.xAxisa}px`, width: `${rect.width}px`, height: `${rect.height}px`, backgroundColor: rect.isActive ? '#ADFF2F' : getRectColor(rect.state) }"> <div class="centered-text"> @@ -58,10 +58,10 @@ if (existingRect) { return { ...existingRect, - xAxis: (6000 - (rect.xAxis + rect.edgWidth)) * scaleFactor, - yAxis: rect.yAxis * scaleFactory, - edgWidth: rect.edgWidth * scaleFactor, - edgHeight: rect.edgHeight * scaleFactory, + xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor, + yAxisa: rect.yAxis * scaleFactory, + width: rect.edgWidth * scaleFactor, + height: rect.edgHeight * scaleFactory, widtha: rect.edgWidth, heighta: rect.edgHeight, state: rect.state, @@ -71,10 +71,10 @@ // 濡傛灉涓嶅瓨鍦紝鍒欐坊鍔犳柊鐭╁舰锛岄粯璁� isActive 涓� false return { ...rect, - xAxis: (6000 - (rect.xAxis + rect.edgWidth)) * scaleFactor, - yAxis: rect.yAxis * scaleFactory, - edgWidth: rect.edgWidth * scaleFactor, - edgHeight: rect.edgHeight * scaleFactory, + xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor, + yAxisa: rect.yAxis * scaleFactory, + width: rect.edgWidth * scaleFactor, + height: rect.edgHeight * scaleFactory, widtha: rect.edgWidth, heighta: rect.edgHeight, state: rect.state, -- Gitblit v1.8.0