优化细节

This commit is contained in:
mmc
2026-05-18 14:28:42 +08:00
parent 00541fcf71
commit 002371a374
9 changed files with 202 additions and 295 deletions

View File

@@ -228,13 +228,11 @@ export default function AppLayout() {
style={{
border: '1px solid #e5e7eb',
borderRadius: 8,
//borderLeft: 0,
//borderRight: 0,
//borderBottom: 0,
margin: 4,
marginBottom: 50
}}
styles={{ body: { padding: '12px 8px' } }}
styles={{ body: { padding: '12px 4px' } }}
>
<div style={{ textAlign: 'left' }}>
<div style={{ fontSize: 14, fontWeight: 600, marginBottom: 8 }}>
@@ -244,15 +242,15 @@ export default function AppLayout() {
<img style={{ width: '100%', borderRadius: "8px", marginBottom: 8 }} src="https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80" />
{/* <img src="电站图片地址" style={{ width: '100%', borderRadius: 4, marginBottom: 8 }} alt="电站" /> */}
<div style={{ fontSize: 10, color: '#666', lineHeight: 1.8 }}>
<div style={{ fontSize: 11, color: '#666', lineHeight: 1.8 }}>
<div>装机容量:{currentStation.capacity || '1.00'} MWp</div>
<div>并网时间:{currentStation.gridTime || '2024-01-15'}</div>
<div>电站地址:{currentStation.address || '浙江省杭州市'}</div>
<div>电站类型:{currentStation.type || '地面电站'}</div>
<div style={{ marginTop: 4, display: 'flex', alignItems: 'center' }}>
<span style={{ color: '#52c41a' }}>运行状态</span>
<span style={{ color: '#52c41a' }}>●</span>
<span style={{ color: '#52c41a', marginLeft: 4 }}>正常运行</span>
<div style={{ marginTop: 4, display: 'flex', alignItems: 'center', color: '#41ad0a' }}>
<span>运行状态:</span>
<span style={{ marginLeft: 4 }}>●</span>
<span style={{ marginLeft: 4 }}>正常运行</span>
</div>
</div>
</div>