diff --git a/frontend/src/pages/Standings.tsx b/frontend/src/pages/Standings.tsx index b3ac699..393b8be 100644 --- a/frontend/src/pages/Standings.tsx +++ b/frontend/src/pages/Standings.tsx @@ -21,18 +21,31 @@ const LEAGUES = [ ] const ZONE_META: Record = { + // 欧战资格 'Champions League': { label: '欧冠区', cls: 'bg-emerald-100 text-emerald-700' }, 'Europa League': { label: '欧联区', cls: 'bg-amber-100 text-amber-700' }, 'Conference League': { label: '欧协杯', cls: 'bg-sky-100 text-sky-700' }, 'Conference League Qualification': { label: '欧协杯', cls: 'bg-sky-100 text-sky-700' }, + 'Europa Conference League': { label: '欧协杯', cls: 'bg-sky-100 text-sky-700' }, + 'Europa Conference League Qualification': { label: '欧协杯', cls: 'bg-sky-100 text-sky-700' }, + // 升级 + 'Championship': { label: '升级区', cls: 'bg-emerald-100 text-emerald-700' }, + 'Promotion': { label: '升级区', cls: 'bg-emerald-100 text-emerald-700' }, + 'Promotion Group': { label: '升级组', cls: 'bg-emerald-100 text-emerald-700' }, + // 降级 'Relegation': { label: '降级区', cls: 'bg-rose-100 text-rose-700' }, 'Relegation Playoffs': { label: '降级附加赛', cls: 'bg-orange-100 text-orange-700' }, + 'Relegation Group': { label: '降级组', cls: 'bg-rose-100 text-rose-700' }, + // 附加赛 + 'Playoffs': { label: '附加赛', cls: 'bg-amber-100 text-amber-700' }, + 'Championship Playoffs': { label: '升级附加赛', cls: 'bg-amber-100 text-amber-700' }, + 'Qualification': { label: '资格赛', cls: 'bg-sky-100 text-sky-700' }, } function zoneBadge(zone?: string | null) { if (!zone) return null const meta = ZONE_META[zone] ?? { label: zone, cls: 'bg-ink-100 text-ink-600' } - return {meta.label} + return {meta.label} } /** 近期走势串(W/D/L) → 彩色圆点 */