From 9a65e81ab0a38fdde5092e92decf1b9fa1609645 Mon Sep 17 00:00:00 2001 From: shangfangjian Date: Sun, 20 Sep 2026 22:12:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=AF=94=E8=B5=9B?= =?UTF-8?q?=E8=A1=8C=E5=B8=83=E5=B1=80=E6=94=BE=E5=AE=BD,=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E6=AF=94=E5=88=86=E7=BB=9D=E5=AF=B9=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 水平内边距 px-1 → px-4 - 垂直内边距 py-3.5 → py-5 - 行间距 gap-2 → gap-3 - 主客队列间距 gap-2 → gap-4 - 队名字号 13px → text-sm, VS 字号 xs → text-sm - 比分字号 lg → xl,更醒目 - 网格 grid-cols-[1fr_auto_1fr] 确保比分绝对居中 Co-Authored-By: new-provider/LongCat-2.0 <> ) --- frontend/src/pages/Matches.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/pages/Matches.tsx b/frontend/src/pages/Matches.tsx index a53a518..07ebf99 100644 --- a/frontend/src/pages/Matches.tsx +++ b/frontend/src/pages/Matches.tsx @@ -561,7 +561,7 @@ export default function Matches() {
{/* 行:可点击展开 */}
{/* 桌面 grid: 日期 | 主队 | 比分 | 客队 | 状态 | 按钮 */} -
+
{/* 日期 + 状态:小屏同行;桌面 date 单独一列 */} -
- {fmtTime(m.match_date)} - {st.label} +
+ {fmtTime(m.match_date)} + {st.label}
{/* 主队 + 比分 + 客队:移动端 grid 三列(严格居中),桌面端 grid 分列 */} -
+
{/* 主队(右对齐) */} - + - {homeName} + {homeName} {/* 比分 / VS(严格居中) */} {m.home_goals !== null && m.away_goals !== null ? ( - + {m.home_goals}:{m.away_goals} ) : ( - VS + VS )} {m.home_xg !== null && m.away_xg !== null && ( @@ -603,9 +603,9 @@ export default function Matches() { {/* 客队(左对齐) */} - + - {awayName} + {awayName}