mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 17:54:15 +08:00
style(screener): 分钟周期徽章换 sky 色系, 与 AI 来源徽章的紫色区分
This commit is contained in:
@@ -128,7 +128,7 @@ export function StrategyCard({
|
||||
<div className="flex items-center gap-1.5 max-w-full">
|
||||
<span className={`text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 ${badgeCls}`}>{srcLabel}</span>
|
||||
{timeframeBadge && (
|
||||
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-purple-500/30 bg-purple-500/10 text-purple-400">{timeframeBadge}</span>
|
||||
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-sky-500/30 bg-sky-500/10 text-sky-400">{timeframeBadge}</span>
|
||||
)}
|
||||
<span className="text-xs font-medium truncate text-foreground">{name}</span>
|
||||
</div>
|
||||
@@ -170,7 +170,7 @@ export function StrategyCard({
|
||||
<div className="flex items-center gap-1.5 min-w-0">
|
||||
<span className={`text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 ${badgeCls}`}>{srcLabel}</span>
|
||||
{timeframeBadge && (
|
||||
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-purple-500/30 bg-purple-500/10 text-purple-400">{timeframeBadge}</span>
|
||||
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-sky-500/30 bg-sky-500/10 text-sky-400">{timeframeBadge}</span>
|
||||
)}
|
||||
<span className="text-xs font-medium truncate text-foreground">{name}</span>
|
||||
{count != null && !loading && (
|
||||
|
||||
@@ -24,7 +24,7 @@ const SOURCE_LABEL: Record<string, string> = {
|
||||
invalid: '失效',
|
||||
}
|
||||
|
||||
const TF_BADGE_CLS = 'text-[8px] px-1 py-px rounded border leading-tight shrink-0 border-purple-500/30 bg-purple-500/10 text-purple-400'
|
||||
const TF_BADGE_CLS = 'text-[8px] px-1 py-px rounded border leading-tight shrink-0 border-sky-500/30 bg-sky-500/10 text-sky-400'
|
||||
|
||||
type SourceTab = 'all' | 'builtin' | 'custom' | 'ai'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user