From 02af807705a50a7b32d03373a8c1cb7402f17e2c Mon Sep 17 00:00:00 2001 From: kkfluous Date: Sun, 29 Mar 2026 00:01:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BA=93=E5=AD=98=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E9=9D=A2=E6=9D=BF=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E5=8F=82=E8=80=83=E5=AE=A2=E6=88=B7=E7=AD=9B=E9=80=89=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 标题改为"数据筛选",重置改为红色 - 车型和批次改为并排两列布局 - 标签统一uppercase加粗样式 - 确认按钮加阴影,更醒目 - 整体间距和样式与客户筛选一致 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 63 +++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 903ca0f..acbf67e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1045,56 +1045,53 @@ export default function App() { initial={{ opacity: 0, y: 10, scale: 0.95 }} animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: 10, scale: 0.95 }} - className="fixed inset-x-4 top-24 bottom-24 overflow-auto sm:top-auto sm:bottom-auto sm:left-auto sm:right-4 sm:w-80 sm:max-h-[80vh] bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4" + className="fixed inset-x-4 top-24 bottom-24 overflow-auto sm:top-auto sm:bottom-auto sm:left-auto sm:right-4 sm:w-72 sm:max-h-[80vh] bg-white rounded-xl shadow-2xl border border-slate-100 z-50 p-4" > -
-

库存统计 - 数据筛选

- +
+ 数据筛选 +
-
-
- - setInventoryFilters({...inventoryFilters, region: e.target.value})} className="w-full bg-white border border-gray-200 rounded-lg py-2 px-2 text-xs focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 outline-none transition-all cursor-pointer shadow-sm"> {uniqueInventoryRegions.map(r => )}
-
- - setInventoryFilters({...inventoryFilters, city: e.target.value})} className="w-full bg-white border border-gray-200 rounded-lg py-2 px-2 text-xs focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 outline-none transition-all cursor-pointer shadow-sm"> {uniqueInventoryCities.map(c => )}
-
- - setInventoryFilters({...inventoryFilters, brand: e.target.value})} className="w-full bg-white border border-gray-200 rounded-lg py-2 px-2 text-xs focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 outline-none transition-all cursor-pointer shadow-sm"> {uniqueInventoryBrands.map(b => )}
-
- - -
-
- - +
+
+ + +
+
+ + +
- + )}