diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 815d65f..ecf83d2 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -21,33 +21,47 @@ function dateLine(): string { }) } +/** 期号:当年第几天,报纸连载的仪式感 */ +function issueNo(): number { + const now = new Date() + const start = new Date(now.getFullYear(), 0, 0) + return Math.floor((now.getTime() - start.getTime()) / 86400000) +} + function HomePage() { return ( // grain: 纸张噪点氛围层;报头、赛程行、预测版各自带 rise-in 入场
- {/* ── 报头:粗线 + 居中刊名 + 报眉 ── */} + {/* ── 报头:Oxford 双线 + 大字刊名 + 期号报眉 ── */}
-
-

+
+

先知 - + Profeto

-

+

足球比分预测 · 五路专家 · 终裁汇总

- {dateLine()} - - - 管理后台 - + + 第 {issueNo()} 期 + + {dateLine()} + + + 体育版 + + + 管理后台 + +

diff --git a/frontend/src/admin/AdminLayout.tsx b/frontend/src/admin/AdminLayout.tsx index cf75856..0c2305d 100644 --- a/frontend/src/admin/AdminLayout.tsx +++ b/frontend/src/admin/AdminLayout.tsx @@ -90,14 +90,14 @@ export default function AdminLayout() {

先知 - + Profeto

ADMIN
- {/* 导航:选中项以印报红方块标记,同前台胜平负选中样式 */} + {/* 导航:选中项以墨色方块标记(红色只留给异常状态,与前台纪律一致) */}