feat(web): use purple badge capsule for account proxy indicator
This commit is contained in:
@@ -1869,6 +1869,11 @@ body {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.badge-purple {
|
||||
background: #ede9fe;
|
||||
color: #6d28d9;
|
||||
}
|
||||
|
||||
.badge-link {
|
||||
display: inline-flex;
|
||||
text-decoration: none;
|
||||
|
||||
@@ -1601,7 +1601,7 @@ export default function Accounts() {
|
||||
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
|
||||
</span>
|
||||
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
|
||||
<span className="badge badge-outline" style={{ fontSize: 10 }}>代理</span>
|
||||
<span className="badge badge-purple" style={{ fontSize: 10 }}>代理</span>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
@@ -1814,7 +1814,7 @@ export default function Accounts() {
|
||||
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
|
||||
</span>
|
||||
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
|
||||
<span className="badge badge-outline" style={{ fontSize: 10 }}>代理</span>
|
||||
<span className="badge badge-purple" style={{ fontSize: 10 }}>代理</span>
|
||||
)}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user