From 21828c7b0529f75b567880386e0b39cd879c8b8a Mon Sep 17 00:00:00 2001 From: lingniu Date: Sun, 5 Jul 2026 02:44:34 +0800 Subject: [PATCH] feat(platform): reorganize customer navigation --- .../apps/web/src/layout/AppShell.tsx | 21 ++++++++++++------- .../apps/web/src/styles/global.css | 9 ++++++++ .../apps/web/src/test/App.test.tsx | 12 ++++++----- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx index 45cf6ee9..b582aa8f 100644 --- a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx +++ b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx @@ -20,17 +20,19 @@ export type PageKey = 'dashboard' | 'vehicles' | 'map' | 'realtime' | 'detail' | const navGroups = [ { - title: '车辆运营', + title: '车辆服务', + description: '以车辆为对象监控在线、位置和服务状态', items: [ { itemKey: 'dashboard', text: '运营驾驶舱', icon: }, + { itemKey: 'vehicles', text: '车辆中心', icon: }, { itemKey: 'map', text: '实时地图', icon: }, { itemKey: 'realtime', text: '实时监控', icon: }, - { itemKey: 'vehicles', text: '车辆中心', icon: }, { itemKey: 'detail', text: '车辆档案', icon: } ] }, { - title: '轨迹报表', + title: '数据交付', + description: '轨迹、里程、历史数据和客户导出', items: [ { itemKey: 'history', text: '轨迹回放', icon: }, { itemKey: 'mileage', text: '里程统计', icon: }, @@ -38,14 +40,16 @@ const navGroups = [ ] }, { - title: '告警通知', + title: '告警闭环', + description: '断链、离线、定位异常和通知升级', items: [ { itemKey: 'alert-events', text: '告警事件', icon: }, { itemKey: 'notification-rules', text: '通知规则', icon: } ] }, { - title: '平台运维', + title: '运维后台', + description: '接入链路和平台运行质量单独查看', items: [ { itemKey: 'ops-quality', text: '运维质量', icon: } ] @@ -141,13 +145,16 @@ export function AppShell({ 车辆服务中台 - 地图监控 / 轨迹回放 / 里程统计 + 车辆地图 / 里程统计 / 数据交付
{navGroups.map((group) => (
-
{group.title}
+
+ {group.title} + {group.description} +