feat: 新增排行榜模块

- 新增 leaderboard 服务与 handler、前端排行榜页面
- 路由与首页入口适配
This commit is contained in:
2026-09-25 18:28:12 +08:00
parent 4ae57d9392
commit cab8230803
9 changed files with 1112 additions and 2 deletions

View File

@@ -66,7 +66,7 @@
/* 工作台可点块悬停底:左栏、帖子行、右栏公告/热门/友链/关于本站、目录等共用。
改这一处即可全局换悬停色;选中态仍走 --nav-active-*。按钮/菜单等控件不要绑这个。 */
--item-hover-bg: var(--accent-soft);
--item-hover-bg: color-mix(in srgb, var(--accent-soft) 50%, transparent);
/* 工作台语义:选中用主题色淡底 */
--nav-active-bg: var(--accent-soft);
--nav-active-ink: var(--accent);
@@ -183,7 +183,7 @@
--stock-badge-low-bg: var(--tint);
--stock-badge-low-fg: var(--ink-3);
--item-hover-bg: var(--accent-soft);
--item-hover-bg: color-mix(in srgb, var(--accent-soft) 50%, transparent);
/* 工作台语义:选中用主题色淡底 */
--nav-active-bg: var(--accent-soft);
--nav-active-ink: #a9b8ff;