设备接入 优化
This commit is contained in:
@@ -172,10 +172,11 @@ export default function AppLayout() {
|
||||
onChange={handleStationChange}
|
||||
options={stationList.map(s => ({ label: s.siteName, value: s.id }))}
|
||||
style={{
|
||||
width: 'clamp(140px, 15vw, 180px)',
|
||||
width: 'clamp(160px, 15vw, 220px)',
|
||||
backgroundColor: '#0837a8',
|
||||
color: '#fff',
|
||||
border: 'none',
|
||||
|
||||
}}
|
||||
/>
|
||||
</Space>
|
||||
@@ -238,7 +239,6 @@ export default function AppLayout() {
|
||||
<div style={{ fontSize: 14, fontWeight: 600, marginBottom: 8 }}>
|
||||
{currentStation.siteName || '1MW 光伏电站'}
|
||||
</div>
|
||||
{/* 这里可以放电站图片,用你自己的电站图片地址替换 */}
|
||||
<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="电站" /> */}
|
||||
|
||||
Reference in New Issue
Block a user