From 07efcc7a71a08cbdf356ed2239d8b42ac1462f21 Mon Sep 17 00:00:00 2001 From: jingna <1264204245@qq.com> Date: Thu, 7 Aug 2025 14:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/renderer/src/views/Detection.vue | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue index fedbbf66..f0d0857d 100644 --- a/frontend/src/renderer/src/views/Detection.vue +++ b/frontend/src/renderer/src/views/Detection.vue @@ -137,8 +137,8 @@
历史数据
-
- +
+ @@ -196,7 +196,7 @@
+ style="display: flex;justify-content: center;margin-top: 8px;font-size: 18px;width: 430px;margin-left: -65px;">
左足总压力 {{ footPressure.left_total @@ -238,7 +238,6 @@ 基础信息
-
@@ -982,7 +981,7 @@ function updateHistoryTable() { if (historyData.value) { historyData.value.push(newHistoryItem) } - + historyData.value.sort((a, b) => b.id - a.id); console.log('📋 历史数据表格已更新') } } catch (error) { @@ -2323,7 +2322,7 @@ onUnmounted(() => { display: flex; /* justify-content: center; box-sizing: border-box; */ - padding-top: 20px; + padding-top: 15px; width: 100%; justify-content: space-between; } @@ -2450,20 +2449,20 @@ onUnmounted(() => { .xline { position: absolute; - width: 400px; + width: 350px; /* height: 1px; */ border-top: 1px dashed red; top: 50%; - left: -20px; + left: -25px; } .yline { position: absolute; /* width:1px; */ - height: 400px; + height: 350px; /* height: 1px; */ border-left: 1px dashed red; - top: -20px; + top: -25px; left: 50%; } @@ -2519,6 +2518,9 @@ onUnmounted(() => { background-color: #282828 !important; border-right: 1px solid rgb(81, 81, 81) !important; } +:deep(.el-scrollbar__wrap){ + background: #282828 !important; +}