样式修改

This commit is contained in:
mmc
2026-05-21 14:54:42 +08:00
parent 7cb9148aaa
commit 3734279cb0

View File

@@ -688,10 +688,10 @@ export default function Agri() {
bodyStyle={{ padding: '12px 8px' }}
>
<Statistic
title="热点数量"
title={<span style={{ fontSize: 15, color: '#86909C' }}>热点数量</span>}
value={segResult?.summary?.panel_hotspot_count || 0}
titleStyle={{ fontSize: 12, color: '#333', marginBottom: 4 }}
valueStyle={{ fontSize: 18, fontWeight: 600, color: '#00B42A' }}
valueStyle={{ fontSize: 18, fontWeight: 600, color: '#FF4D4F' }}
/>
</Card>
</Col>
@@ -708,7 +708,7 @@ export default function Agri() {
bodyStyle={{ padding: '12px 8px' }}
>
<Statistic
title="面板区域"
title={<span style={{ fontSize: 15, color: '#86909C' }}>面板区域</span>}
value={segResult?.summary?.panel_polygon_count || 0}
titleStyle={{ fontSize: 12, color: '#333', marginBottom: 4 }}
valueStyle={{ fontSize: 18, fontWeight: 600, color: '#1677FF' }}
@@ -728,7 +728,7 @@ export default function Agri() {
bodyStyle={{ padding: '12px 8px' }}
>
<Statistic
title="最高温度"
title={<span style={{ fontSize: 15, color: '#86909C' }}>最高温度</span>}
value={hasResult ? `${segResult.summary?.max_temp_c || 0}℃` : '-'}
titleStyle={{ fontSize: 12, color: '#333', marginBottom: 4 }}
valueStyle={{ fontSize: 18, fontWeight: 600, color: '#FF7D00' }}
@@ -748,7 +748,7 @@ export default function Agri() {
bodyStyle={{ padding: '12px 8px' }}
>
<Statistic
title="分析编号"
title={<span style={{ fontSize: 15, color: '#86909C' }}>分析编号</span>}
value={segResult?.analysis_id?.substring(0, 8) || '-'}
titleStyle={{ fontSize: 12, color: '#333', marginBottom: 4 }}
valueStyle={{ fontSize: 18, fontWeight: 600, color: '#722ED1' }}