fix: 移动端部门卡片改为总运营/出勤/闲置三列布局
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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:
16
src/App.tsx
16
src/App.tsx
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user