feat(ui): 内置品牌图标库,badge 显示真实平台图标 - 新增 app/static/icons.js:17 个品牌 SVG 离线内嵌 (simple-icons CC0 + tabler MIT:OpenAI/Anthropic/Claude/DeepSeek/OpenRouter/ Google/Gemini/Meta/Perplexity/HuggingFace/Replicate/Baidu/MiniMax/NVIDIA/Qwen/Ollama/LMStudio) - badge 渲染:有图标显示白色品牌图形,无图标回落品牌色缩写
This commit is contained in:
@@ -235,6 +235,8 @@ label { font-size: 12px; font-weight: 500; color: var(--text-2); margin-bottom:
|
||||
letter-spacing: 0.02em;
|
||||
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
|
||||
}
|
||||
.badge-icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
|
||||
.badge-icon svg { width: 18px; height: 18px; }
|
||||
.card-title { min-width: 0; }
|
||||
.card-platform { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 5px; }
|
||||
.card-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
Reference in New Issue
Block a user