diff --git a/vehicle-data-platform/apps/web/src/styles/global.css b/vehicle-data-platform/apps/web/src/styles/global.css
index 1af02d8e..f4e4cb89 100644
--- a/vehicle-data-platform/apps/web/src/styles/global.css
+++ b/vehicle-data-platform/apps/web/src/styles/global.css
@@ -4659,6 +4659,75 @@ body {
line-height: 18px;
}
+.vp-map-status-filter-strip {
+ margin-bottom: 16px;
+ border: 1px solid rgba(22, 100, 255, 0.16);
+ border-radius: 8px;
+ background: #ffffff;
+ display: grid;
+ grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
+ overflow: hidden;
+}
+
+.vp-map-status-filter-copy {
+ padding: 16px;
+ border-right: 1px solid var(--vp-border);
+ background: #f7fbff;
+ display: grid;
+ gap: 9px;
+ align-content: center;
+}
+
+.vp-map-status-filter-copy .semi-typography {
+ color: var(--vp-text);
+ line-height: 22px;
+}
+
+.vp-map-status-filter-grid {
+ padding: 12px;
+ display: grid;
+ grid-template-columns: repeat(4, minmax(0, 1fr));
+ gap: 10px;
+}
+
+.vp-map-status-filter-item {
+ min-height: 108px;
+ padding: 12px;
+ border: 1px solid var(--vp-border);
+ border-radius: 8px;
+ background: #fbfcff;
+ color: inherit;
+ cursor: pointer;
+ font: inherit;
+ text-align: left;
+ display: grid;
+ gap: 7px;
+ align-content: start;
+ transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
+}
+
+.vp-map-status-filter-item:hover,
+.vp-map-status-filter-item:focus-visible {
+ border-color: rgba(22, 100, 255, 0.42);
+ background: #f5f9ff;
+ box-shadow: var(--vp-shadow-sm);
+ outline: none;
+}
+
+.vp-map-status-filter-item strong {
+ color: var(--vp-text);
+ font-size: 18px;
+ line-height: 24px;
+ word-break: break-word;
+}
+
+.vp-map-status-filter-item span {
+ color: var(--vp-text-muted);
+ font-size: 12px;
+ line-height: 18px;
+ word-break: break-word;
+}
+
.vp-realtime-customer-steps {
padding: 16px;
display: grid;
@@ -13472,6 +13541,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-map-ops-board,
.vp-map-ops-readiness,
.vp-map-ops-work,
+ .vp-map-status-filter-strip,
+ .vp-map-status-filter-grid,
.vp-customer-service-command-main,
.vp-customer-service-command-grid,
.vp-customer-fleet-groups,
@@ -13715,7 +13786,8 @@ button.vp-realtime-command-item:focus-visible {
grid-template-columns: 1fr;
}
- .vp-customer-cockpit-summary {
+ .vp-customer-cockpit-summary,
+ .vp-map-status-filter-copy {
border-right: 0;
border-bottom: 1px solid var(--vp-border);
}
diff --git a/vehicle-data-platform/apps/web/src/test/App.test.tsx b/vehicle-data-platform/apps/web/src/test/App.test.tsx
index d8a1e0e4..cd62e0de 100644
--- a/vehicle-data-platform/apps/web/src/test/App.test.tsx
+++ b/vehicle-data-platform/apps/web/src/test/App.test.tsx
@@ -10870,6 +10870,12 @@ test('shows realtime freshness status for recently updated and stale vehicles',
expect(screen.getByRole('button', { name: '车辆服务地图任务 历史查询 JT808' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '车辆服务地图任务 告警通知 1 关注' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '车辆服务地图任务 统计导出 2 辆' })).toBeInTheDocument();
+ expect(screen.getByText('地图状态筛选条')).toBeInTheDocument();
+ expect(screen.getByText('先按客户最关心的在线、离线、无坐标和需关注分组看车,再进入轨迹、统计、导出或告警。')).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: '地图状态筛选条 在线车辆 1 在线' })).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: '地图状态筛选条 离线车辆 1 离线' })).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: '地图状态筛选条 无坐标车辆 0 无坐标' })).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: '地图状态筛选条 需关注车辆 1 关注' })).toBeInTheDocument();
expect(screen.getAllByText('数据新鲜').length).toBeGreaterThan(0);
expect(screen.getAllByText('更新超时').length).toBeGreaterThan(0);
expect(screen.getByText('车辆服务闭环')).toBeInTheDocument();