feat: WebUI 首页仪表盘 — CPU/MEM/进程内存 数字跳动动画

- animateNumber(): 900ms ease-out 缓动, 存储前值于 data-val
- CPU%、MEM%、进程内存 三个指标使用跳动动画
- 与 Sentinel 卡片动画风格统一

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
qinglong
2026-06-13 18:21:05 +08:00
parent 3ca001b938
commit 81ebbc3e45
4 changed files with 43 additions and 5 deletions
+22
View File
@@ -284,5 +284,27 @@
"framework.command.execute"
],
"timestamp": 27821.239961313
},
"2ae8c213": {
"plugin_name": "example_plugin",
"permissions": [
"plugin.example.read",
"plugin.example.write",
"plugin.example.execute",
"framework.event.subscribe",
"framework.command.execute"
],
"timestamp": 27941.293164548
},
"dd24f0d1": {
"plugin_name": "sentinel",
"permissions": [
"plugin.sentinel.read",
"plugin.sentinel.write",
"plugin.network.access",
"framework.event.subscribe",
"framework.command.execute"
],
"timestamp": 27941.297902882
}
}
+1 -1
View File
@@ -101,7 +101,7 @@ commands:
permissions:
- framework.command.test
source: internal
last_updated: 27821.221132094
last_updated: 27941.282839757
plugin_commands:
example_plugin:
echo: *id001
+1 -1
View File
@@ -1,5 +1,5 @@
http_port: 4200
last_updated: 27821.238246209
last_updated: 27941.295580277
plugin_routes:
example_plugin:
- methods: