From c42e625e4fac49d446d9e0eb98ea8b06eb1b8df0 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期四, 02 一月 2025 15:22:16 +0800
Subject: [PATCH] 掰片模块调整比例、字体大小
---
UI-Project/src/views/Identify/identify.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue
index 7521e9f..42e61e2 100644
--- a/UI-Project/src/views/Identify/identify.vue
+++ b/UI-Project/src/views/Identify/identify.vue
@@ -160,12 +160,12 @@
const scaleFactory = 750/3300;
adjustedRects.value = rawRects.map(rect => ({
...rect,
- xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor,
- yaxisa: rect.yaxis * scaleFactory,
- width: rect.edgWidth * scaleFactor ,
+ xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1,
+ yaxisa: rect.yaxis * scaleFactory * 1.1,
+ width: rect.edgWidth * scaleFactor * 1.1,
widtha: rect.edgWidth ,
heighta: rect.edgHeight ,
- height: rect.edgHeight * scaleFactory,
+ height: rect.edgHeight * scaleFactory * 1.1,
state: rect.state
}));
currentPage.value = 1;
@@ -183,12 +183,12 @@
const scaleFactory = 750/3300;
adjustedRects.value = rawRects.map(rect => ({
...rect,
- xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor,
- yaxisa: rect.yaxis * scaleFactory,
- width: rect.edgWidth * scaleFactor ,
+ xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1,
+ yaxisa: rect.yaxis * scaleFactory * 1.1,
+ width: rect.edgWidth * scaleFactor * 1.1,
widtha: rect.edgWidth ,
heighta: rect.edgHeight ,
- height: rect.edgHeight * scaleFactory,
+ height: rect.edgHeight * scaleFactory * 1.1,
state: rect.state
}));
}
@@ -236,7 +236,7 @@
justify-content: center;
align-items: center;
height: 100%;
- font-size: small;
+ font-size: large;
}
#rect {
position: relative; /* 纭繚绠ご鍙互鐩稿浜庣煩褰㈠畾浣� */
--
Gitblit v1.8.0