From 5ce084892924b40e6b02c204dea82060592383a1 Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Mon, 8 Sep 2025 18:54:41 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/dashboard.html | 242 ++++++ frontend/device.html | 812 ++++++++++++++++++ .../{index.3aaa7f29.js => index.390b7904.js} | 10 +- ...{index.4e0b2087.css => index.c407adbd.css} | 2 +- frontend/dist/index.html | 4 +- frontend/src/pages/Device.vue | 20 +- internal/controller/device/device.go | 93 +- 7 files changed, 1152 insertions(+), 31 deletions(-) create mode 100644 frontend/dashboard.html create mode 100644 frontend/device.html rename frontend/dist/assets/{index.3aaa7f29.js => index.390b7904.js} (68%) rename frontend/dist/assets/{index.4e0b2087.css => index.c407adbd.css} (63%) diff --git a/frontend/dashboard.html b/frontend/dashboard.html new file mode 100644 index 0000000..e0cebbe --- /dev/null +++ b/frontend/dashboard.html @@ -0,0 +1,242 @@ + + +
+ + +当前系统运行正常
+连接设备: 0 台
+今日操作: 0 次
+温度: 25.6°C
+湿度: 65%
+空气质量: 良好
+中继设备: 在线
+风扇设备: 在线
+水帘设备: 离线
+