From bb5951df768c7b2158247053981702fe9d2a32a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=89=E6=B5=A9=E8=8C=B9?= Date: Tue, 30 Sep 2025 00:29:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=81=E7=B3=BB=E7=BB=9F=E6=97=A5=E5=BF=97=E3=80=81=E6=8A=A5?= =?UTF-8?q?=E8=AD=A6=E8=AE=B0=E5=BD=95=E8=A1=A8=E6=A0=BC=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 5 + src/components/AlarmRecord.vue | 4 +- src/components/SystemLog.vue | 4 +- src/pages.json | 1 + src/pages/alarm/index.vue | 17 ++- src/pages/log/index.vue | 223 ++++++++++++++++++++------------- src/pages/visual/index.vue | 93 -------------- src/utils/sendMqtt.js | 15 ++- 8 files changed, 164 insertions(+), 198 deletions(-) diff --git a/src/App.vue b/src/App.vue index a8f18e9..3c3147c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -78,10 +78,15 @@ page { // top: 0; // left: 0; // right: 0; + height: 40px; z-index: 1000; background-color: #3f51b5; padding: 20rpx 30rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1); + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; } .header-title { diff --git a/src/components/AlarmRecord.vue b/src/components/AlarmRecord.vue index d226969..03ca36f 100644 --- a/src/components/AlarmRecord.vue +++ b/src/components/AlarmRecord.vue @@ -1,7 +1,7 @@