fix: 移动端部门卡片改为总运营/出勤/闲置三列布局
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-03-28 18:39:45 +08:00
parent e38484d384
commit 02ead246d2

View File

@@ -1829,20 +1829,16 @@ export default function App() {
: {dept.attendanceRate}%
</span>
</div>
<div className="grid grid-cols-4 gap-2">
<div className="text-center">
<div className="text-[8px] text-gray-400 uppercase font-bold mb-0.5"></div>
<div className="grid grid-cols-3 gap-2">
<div className="text-center cursor-pointer hover:bg-gray-50 rounded p-1">
<div className="text-[8px] text-gray-400 uppercase font-bold mb-0.5"></div>
<div className="text-xs font-black text-gray-800">{dept.totalAssets}</div>
</div>
<div className="text-center">
<div className="text-[8px] text-gray-400 uppercase font-bold mb-0.5"></div>
<div className="text-xs font-black text-gray-800">{dept.avgMileage}</div>
</div>
<div className="text-center">
<div className="text-[8px] text-green-500 uppercase font-bold mb-0.5"></div>
<div className="text-center cursor-pointer hover:bg-green-50 rounded p-1">
<div className="text-[8px] text-green-500 uppercase font-bold mb-0.5"></div>
<div className="text-xs font-black text-green-500">{dept.operatingCount}</div>
</div>
<div className="text-center">
<div className="text-center cursor-pointer hover:bg-gray-100 rounded p-1">
<div className="text-[8px] text-gray-400 uppercase font-bold mb-0.5"></div>
<div className="text-xs font-black text-gray-400">{dept.idleCount}</div>
</div>