From 6c53172ba71992f2079ccb470fd6316f7a3c0055 Mon Sep 17 00:00:00 2001 From: lingniu Date: Fri, 3 Jul 2026 23:49:01 +0800 Subject: [PATCH] feat(platform): center navigation on vehicle service --- .../apps/web/src/layout/AppShell.tsx | 13 +++++++------ .../apps/web/src/pages/Dashboard.tsx | 6 +++--- .../apps/web/src/pages/History.tsx | 8 ++++---- .../apps/web/src/pages/Mileage.tsx | 4 ++-- .../apps/web/src/pages/Quality.tsx | 6 +++--- .../apps/web/src/pages/Realtime.tsx | 4 ++-- .../apps/web/src/pages/Vehicles.tsx | 4 ++-- .../apps/web/src/test/App.test.tsx | 2 +- 8 files changed, 24 insertions(+), 23 deletions(-) diff --git a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx index efc5190a..25c18639 100644 --- a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx +++ b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx @@ -16,12 +16,12 @@ export type PageKey = 'dashboard' | 'vehicles' | 'realtime' | 'detail' | 'histor const navItems = [ { itemKey: 'dashboard', text: '总览工作台', icon: }, - { itemKey: 'vehicles', text: '车辆台账', icon: }, - { itemKey: 'realtime', text: '实时状态', icon: }, + { itemKey: 'vehicles', text: '车辆服务', icon: }, + { itemKey: 'realtime', text: '实时车辆', icon: }, { itemKey: 'detail', text: '车辆详情', icon: }, - { itemKey: 'history', text: '历史查询', icon: }, - { itemKey: 'mileage', text: '里程分析', icon: }, - { itemKey: 'quality', text: '数据质量', icon: } + { itemKey: 'history', text: '历史数据', icon: }, + { itemKey: 'mileage', text: '里程统计', icon: }, + { itemKey: 'quality', text: '质量治理', icon: } ]; function linkHealthClassName(count: number | null) { @@ -61,7 +61,7 @@ export function AppShell({