自适应完成

This commit is contained in:
mmc
2026-05-14 12:44:18 +08:00
parent d7808a38e1
commit 5e397698d2
7 changed files with 1793 additions and 1409 deletions

View File

@@ -172,13 +172,12 @@ export default function DeviceOverviewPage({ devices, planedevices, devicesAll,
{/*<AgoraTextTest />*/}
<Row gutter={[16, 16]} style={{ marginBottom: 20, flexWrap: 'wrap' }}>
{dynamicTopCards.map((card, idx) => (
<Col key={idx} style={{ minWidth: '200px', flex: '0 0 auto' }}>
<Col key={idx} style={{ minWidth: '200px', flex: '1 0 auto' }}>
<Card
bordered={false}
style={{
borderRadius: 12,
boxShadow: '0 2px 8px rgba(0,0,0,0.05)',
width: 200,
height: 110,
}}
bodyStyle={{ padding: '16px', height: '100%' }}