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/identifwu.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/UI-Project/src/views/Identify/identifwu.vue b/UI-Project/src/views/Identify/identifwu.vue index 8aeb441..57c0584 100644 --- a/UI-Project/src/views/Identify/identifwu.vue +++ b/UI-Project/src/views/Identify/identifwu.vue @@ -9,7 +9,7 @@ class="rect" @click="showDialog(rect.glassId)" :style="{ position: 'absolute', - top: `${rect.yAxis}px`, left: `${rect.xAxis}px`, width: `${rect.width}px`, height: `${rect.height}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"> @@ -140,12 +140,12 @@ if (existingRect) { return { ...existingRect, - xAxis: (6000 - (rect.xAxis + rect.width)) * scaleFactor, - yAxis: rect.yAxis * scaleFactory, - width: rect.width * scaleFactor, - height: rect.height * scaleFactory, - widtha: rect.width, - heighta: rect.height, + 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, // 淇濇寔 isActive 鐘舵�佷笉鍙� }; @@ -153,12 +153,12 @@ // 濡傛灉涓嶅瓨鍦紝鍒欐坊鍔犳柊鐭╁舰锛岄粯璁� isActive 涓� false return { ...rect, - xAxis: (6000 - (rect.xAxis + rect.width)) * scaleFactor, - yAxis: rect.yAxis * scaleFactory, - width: rect.width * scaleFactor, - height: rect.height * scaleFactory, - widtha: rect.width, - heighta: rect.height, + 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, isActive: false, glassId: rect.glassId, -- Gitblit v1.8.0