From 730bc0de004908d399a329f54dc9645e09ce73e1 Mon Sep 17 00:00:00 2001 From: shangfangjian Date: Sun, 20 Sep 2026 23:32:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=A6=9C:=E8=A1=A5=E5=85=A8?= =?UTF-8?q?=E6=89=80=E6=9C=89=E5=88=86=E5=8C=BA=E4=B8=AD=E6=96=87=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=20+=20=E9=98=B2=E6=AD=A2=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增分区翻译: - Europa Conference League → 欧协杯 - Championship / Promotion → 升级区 - Promotion Group → 升级组 - Relegation Group → 降级组 - Playoffs → 附加赛 - Championship Playoffs → 升级附加赛 - Qualification → 资格赛 修复:zoneBadge 添加 whitespace-nowrap,4字以上不换行 Co-Authored-By: new-provider/LongCat-2.0 <> --- frontend/src/pages/Standings.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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) → 彩色圆点 */