diff --git a/docs/更新说明.md b/docs/更新说明.md index d2223bf..197df1c 100644 --- a/docs/更新说明.md +++ b/docs/更新说明.md @@ -5,6 +5,16 @@ --- +## 2026-07-27 — 手机端监控布局 + +### 变更 + +1. **底部导航**:窄屏隐藏顶栏菜单,改用底栏「监控 / 记录 / 统计 / 设置」(含安全区)。 +2. **监控首页卡**:一屏看状态(启动/暂停/已停)、盘口、阶段、净盈利 vs 目标、到期倒计时、最近错误。 +3. **操作区**:启动 / 暂停 / 紧急全平触摸友好;紧急全平通栏;桌面布局不变。 + +--- + ## 2026-07-26 — 企业微信通知 + 暂停盯目标 ### 变更 diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a253d2d..e371577 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -12,6 +12,13 @@ import TradesPage from "./pages/Trades"; import StatsPage from "./pages/Stats"; import SettingsPage from "./pages/Settings"; +const NAV = [ + { to: "/plan", label: "监控", full: "自动对冲计划" }, + { to: "/trades", label: "记录", full: "交易记录" }, + { to: "/stats", label: "统计", full: "统计" }, + { to: "/settings", label: "设置", full: "系统设置" }, +] as const; + function Shell({ children }: { children: ReactNode }) { const user = getUsername(); return ( @@ -26,27 +33,26 @@ function Shell({ children }: { children: ReactNode }) { width={28} height={28} /> - 比特骆驼自动化对冲系统 + 比特骆驼自动化对冲系统 + 比特骆驼 -