From 407dc5a43a380cdb3e31c3d34a4df0a4ca7a95e6 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 14 Apr 2025 17:45:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/index.html | 54 ++++++++++++++-------------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/admin/dashboard/templates/index.html b/admin/dashboard/templates/index.html index 248e47b..35ec192 100644 --- a/admin/dashboard/templates/index.html +++ b/admin/dashboard/templates/index.html @@ -13,7 +13,25 @@ 系统状态 - + + +
+
+ +
+
+
{% raw %}{{ currentUser.data.nickname }}{% endraw %}
+
{% raw %}{{ currentUser.data.wx_id }}{% endraw %}
+
+
+
+ +
{% raw %}{{ currentUser.message || '未获取到用户信息' }}{% endraw %}
+
+
+ + +
操作系统: @@ -29,24 +47,24 @@
- +

CPU使用率: {% raw %}{{ systemInfo.cpu_usage }}{% endraw %}%

- +

内存使用率: {% raw %}{{ systemInfo.memory_usage }}{% endraw %}%

- +

磁盘使用率: {% raw %}{{ systemInfo.disk_usage }}{% endraw %}%

- +
@@ -59,26 +77,6 @@ - - -
- {% raw %}{{ currentUser.data.nickname }}{% endraw %} -
-
-
- -
-
-
{% raw %}{{ currentUser.data.wx_id }}{% endraw %}
-
-
-
- -
{% raw %}{{ currentUser.message || '未获取到用户信息' }}{% endraw %}
-
-
-
-
@@ -605,7 +603,7 @@ /* 饼图容器样式 */ .pie-chart-container { - padding: 10px; + padding: 5px; text-align: center; margin-bottom: 0; box-shadow: none; @@ -613,8 +611,8 @@ .pie-chart-container h4 { margin-top: 0; - margin-bottom: 10px; - font-size: 14px; + margin-bottom: 5px; + font-size: 12px; color: #606266; }