docs: document path routing and in-place filter updates

This commit is contained in:
kairee committed 2026-11-01 01:55:37 +08:00
1 parent 52a8d90c47
commit 4bb3d3bef5
2 files changed
+3

No files matched your search

+2
View File
@@ -680,6 +680,8 @@ fan_delta_cum = follower(d) - follower(首日)
### 9.2 技术
- 单 `index.html` + 原生 ES Module,无构建链;
- History API 路径路由(`/rank`、`/video/{aid}`、`/up/{mid}`),服务端对无扩展名的非静态路径回退 `index.html`;
- 排序、筛选和趋势指标切换用 `replaceState` 更新 URL 并重新取数,保留滚动位置,不整页刷新;
- 图表本地 vendored ECharts(Apache-2.0,离线);
- `/api/*` JSON,前端只渲染;
- 移动端优先,底部 5 项导航;桌面端左侧导航;