From 849800c4cdbd6bb21b5da4a9867b0bdeda4c9e4b Mon Sep 17 00:00:00 2001
From: Hureru <3507039083@qq.com>
Date: Thu, 19 Mar 2026 01:12:39 +0800
Subject: [PATCH] feat(web): use purple badge capsule for account proxy
indicator
---
src/web/index.css | 5 +++++
src/web/pages/Accounts.tsx | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/web/index.css b/src/web/index.css
index d30401a..114d064 100644
--- a/src/web/index.css
+++ b/src/web/index.css
@@ -1869,6 +1869,11 @@ body {
color: var(--color-text-muted);
}
+.badge-purple {
+ background: #ede9fe;
+ color: #6d28d9;
+}
+
.badge-link {
display: inline-flex;
text-decoration: none;
diff --git a/src/web/pages/Accounts.tsx b/src/web/pages/Accounts.tsx
index 9b279e0..548d7ce 100644
--- a/src/web/pages/Accounts.tsx
+++ b/src/web/pages/Accounts.tsx
@@ -1601,7 +1601,7 @@ export default function Accounts() {
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
- 代理
+ 代理
)}
)}
@@ -1814,7 +1814,7 @@ export default function Accounts() {
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
- 代理
+ 代理
)}