From d3c85a62e6db49b62b3ec80f0ec8b27026e49dd4 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Thu, 26 Mar 2026 15:06:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=96=87?= =?UTF-8?q?=E5=AD=97=E6=88=AA=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - KPI卡片添加 whitespace-nowrap 防止文字折行截断 - 小屏隐藏图标省空间 - 运营/库存明细换行展示(自营/租赁、库存/异动) - 地区缩写改为完整名称(江浙沪/广东/北京/新疆/其他) Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 66 +++++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 35 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 4dc6e0f..21b9e38 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -196,80 +196,76 @@ export default function App() { {/* Header Summary - Ultra Compact */}
{/* Total Assets */} -
-
+
+
-
-
资产总数
+
+
资产总数
{SUMMARY.totalAssets.toLocaleString()}
{/* Operating */} -
-
+
+
-
-
总运营
-
- {SUMMARY.operating.total} - - 自{SUMMARY.operating.self} 租{SUMMARY.operating.leased} - +
+
总运营
+
{SUMMARY.operating.total}
+
+ 自营{SUMMARY.operating.self} 租赁{SUMMARY.operating.leased}
{/* Inventory */} -
-
+
+
-
-
总库存
-
- {SUMMARY.inventory.total} - - 库{SUMMARY.inventory.inStock} 异{SUMMARY.inventory.abnormal} - +
+
总库存
+
{SUMMARY.inventory.total}
+
+ 库存{SUMMARY.inventory.inStock} 异动{SUMMARY.inventory.abnormal}
{/* Pending */}
setShowPlateNumbers({ batch: 'All', model: 'All', location: 'All', category: 'Pending' })} > -
+
-
-
待交车
+
+
待交车
{SUMMARY.pendingDelivery}
{/* New */} -
-
+
+
-
-
本周新增
+
+
本周新增
{SUMMARY.weeklyNew}
{/* Removed */} -
-
+
+
-
-
本周移除
+
+
本周移除
{SUMMARY.weeklyRemoved}
@@ -626,7 +622,7 @@ export default function App() { {['嘉兴', '广东', '北京', '新疆', '其他'].map((reg) => (
- {reg === '嘉兴' ? '浙' : reg === '广东' ? '粤' : reg === '北京' ? '京' : reg === '新疆' ? '新' : '其'} + {reg === '嘉兴' ? '江浙沪' : reg}
{(model.inventoryRegions[reg] || 0) > 0 ? (