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; +}