From 3d4ae9bfb8c9e4390aa52b8f188eea0d1f0628ac Mon Sep 17 00:00:00 2001 From: 11cookies11 Date: Mon, 12 Jan 2026 00:21:05 +0800 Subject: [PATCH 01/36] feat(ui): add proxy monitoring view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [中文] - 变更: - 新增代理监控页面和侧边栏入口。 - 添加代理总览卡片、筛选与状态样式。 - 影响: - 新增代理可视化监控入口。 - 兼容性/行为变更: - 无。 - 依赖/环境: - 无。 - 验证: - 未运行(仅 UI 变更)。 [English] - Changes: - Add proxy monitoring page and navigation entry. - Style cards, filters, and status badges for proxy overview. - Impact: - Adds a new UI section for proxy visibility. - Compatibility/Behavior changes: - None. - Dependencies/Environment: - None. - Verification: - Not run (UI-only change). Refs: - N/A --- web-ui/src/App.vue | 6 + web-ui/src/components/ProxyMonitorView.vue | 158 ++++++++++ web-ui/src/style.css | 321 +++++++++++++++++++++ 3 files changed, 485 insertions(+) create mode 100644 web-ui/src/components/ProxyMonitorView.vue diff --git a/web-ui/src/App.vue b/web-ui/src/App.vue index 1a28cf1..3f8ba23 100644 --- a/web-ui/src/App.vue +++ b/web-ui/src/App.vue @@ -7,6 +7,7 @@ import { HighlightStyle, syntaxHighlighting } from '@codemirror/language' import { tags } from '@lezer/highlight' import ManualView from './components/ManualView.vue' import ScriptsView from './components/ScriptsView.vue' +import ProxyMonitorView from './components/ProxyMonitorView.vue' import DropdownSelect from './components/DropdownSelect.vue' import { yaml as yamlLanguage } from '@codemirror/lang-yaml' @@ -1698,6 +1699,10 @@ function unlockSidebarWidth() { smart_toy 自动脚本 + - - - - -
- - - - -
-
-
-
-
- settings_input_hdmi -
-
-
- {{ card.name }} - {{ card.type }} -
-
- {{ card.details[0] }} - - {{ card.details[1] }} -
-
-
-
-
- 流量 - {{ card.traffic }} -
-
- - {{ card.statusText }} -
- -
-
-
-
-
- link_off -
-
-
暂无通道
-
- 未检测到活动连接 -
-
-
-
-
- -