卡片样式

This commit is contained in:
mmc
2026-06-02 13:50:00 +08:00
parent d1dd2b4c70
commit 16f0be3da6
4 changed files with 174 additions and 70 deletions

View File

@@ -450,8 +450,8 @@ const WorkOrderPage = () => {
<Card bordered={false} bodyStyle={{ padding: '20px 16px' }} style={cardStyle}>
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<div>
<div style={{ fontSize: 'clamp(12px, 0.8vw, 13px)', color: '#86909C', marginBottom: 8 }}>{item.title}</div>
<div style={{ display: 'flex', alignItems: 'baseline', gap: 6, marginBottom: 8 }}>
<div style={{ fontSize: 'clamp(12px, 0.8vw, 13px)', color: '#86909C', marginBottom: 2 }}>{item.title}</div>
<div style={{ display: 'flex', alignItems: 'baseline', gap: 6, marginBottom: 2 }}>
<div style={{ fontSize: 'clamp(20px, 1.4vw, 24px)', fontWeight: 800, color: '#1D2129' }}>{item.value}</div>
{item.unit && <span style={{ fontSize: 13, color: '#1D2129', fontWeight: 600 }}>{item.unit}</span>}
</div>