From 1d0179bcb3237df95423d95c4fd6b697c6989629 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期二, 11 二月 2025 08:50:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
UI-Project/src/views/Identify/identifwu.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/UI-Project/src/views/Identify/identifwu.vue b/UI-Project/src/views/Identify/identifwu.vue
index 57c0584..d2ff3fd 100644
--- a/UI-Project/src/views/Identify/identifwu.vue
+++ b/UI-Project/src/views/Identify/identifwu.vue
@@ -13,8 +13,9 @@
backgroundColor: rect.isActive ? '#ADFF2F' : getRectColor(rect.state)
}">
<div class="centered-text">
- <div>{{ rect.glassId }}</div>
- <div>{{ rect.widtha }}*{{ rect.heighta }}</div>
+ <div style="font-size: 20px;font-weight: bold;">{{ rect.glassId }}</div>
+ <div style="font-size: 20px;font-weight: bold;">{{ rect.flowCardId }}</div>
+ <div style="font-size: 30px;font-weight: bold;">{{ rect.widtha }}*{{ rect.heighta }}</div>
</div>
</div>
</div>
@@ -140,10 +141,10 @@
if (existingRect) {
return {
...existingRect,
- xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor,
- yAxisa: rect.yAxis * scaleFactory,
- width: rect.edgWidth * scaleFactor,
- height: rect.edgHeight * scaleFactory,
+ xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor * 1.1,
+ yAxisa: rect.yAxis * scaleFactory * 1.1,
+ width: rect.edgWidth * scaleFactor * 1.1,
+ height: rect.edgHeight * scaleFactory * 1.1,
widtha: rect.edgWidth,
heighta: rect.edgHeight,
state: rect.state,
@@ -153,10 +154,10 @@
// 濡傛灉涓嶅瓨鍦紝鍒欐坊鍔犳柊鐭╁舰锛岄粯璁� isActive 涓� false
return {
...rect,
- xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor,
- yAxisa: rect.yAxis * scaleFactory,
- width: rect.edgWidth * scaleFactor,
- height: rect.edgHeight * scaleFactory,
+ xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor * 1.1,
+ yAxisa: rect.yAxis * scaleFactory * 1.1,
+ width: rect.edgWidth * scaleFactor * 1.1,
+ height: rect.edgHeight * scaleFactory * 1.1,
widtha: rect.edgWidth,
heighta: rect.edgHeight,
state: rect.state,
@@ -188,7 +189,7 @@
justify-content: center;
align-items: center;
height: 100%; /* 纭繚div鍗犳嵁鏁翠釜鐭╁舰鐨勯珮搴� */
- font-size: small;
+ /* font-size: large; */
}
#line {
position: absolute;
--
Gitblit v1.8.0