设备接入产品配置 界面
This commit is contained in:
@@ -112,7 +112,7 @@ export default function DeviceOverviewPage({ devices, planedevices, devicesAll,
|
||||
};
|
||||
|
||||
return (
|
||||
<Content style={{ maxWidth: 1800, margin: '0 auto', }}>
|
||||
<Content style={{ maxWidth: 1800, margin: '0 8', }}>
|
||||
<Row gutter={[8, 8]} style={{ marginBottom: 12, flexWrap: 'wrap' }}>
|
||||
{dynamicTopCards.map((card, idx) => (
|
||||
<Col key={idx} style={{ minWidth: '160px', flex: '1 0 auto' }}>
|
||||
|
||||
@@ -421,7 +421,7 @@ export default function WayLinePage({ planedevices }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="normal-spacing" style={{ background: '#f5f7fa', minHeight: '100vh', padding: '16px', paddingTop: 0 }}>
|
||||
<div className="normal-spacing" style={{ background: '#f5f7fa', minHeight: '100vh', padding: '0px', paddingTop: 0 }}>
|
||||
<Row gutter={[16, 16]} style={{ marginBottom: 16 }}>
|
||||
{topCards.map((item, index) => (
|
||||
<Col xs={12} sm={8} md={4} key={index}>
|
||||
@@ -527,8 +527,8 @@ export default function WayLinePage({ planedevices }) {
|
||||
</Tooltip>
|
||||
}
|
||||
bordered={false}
|
||||
bodyStyle={{ padding: 0, display: 'flex', flexDirection: 'column', flex: 1 }}
|
||||
style={{ ...cardStyle, flex: 1 }}
|
||||
bodyStyle={{ padding: 0, display: 'flex', flexDirection: 'column', height: "calc(100% - 40px)", overflow: "auto" }}
|
||||
style={{ ...cardStyle, height: "410px" }}
|
||||
>
|
||||
<Table
|
||||
size="small"
|
||||
@@ -536,8 +536,7 @@ export default function WayLinePage({ planedevices }) {
|
||||
columns={taskColumns}
|
||||
dataSource={taskList}
|
||||
pagination={false}
|
||||
scroll={{ y: 'auto', maxHeight: 260 }}
|
||||
style={{ height: '100%' }}
|
||||
style={{ height: "calc(100% - 40px)" }}
|
||||
rowClassName={(record) =>
|
||||
selectedTask?.uuid === record.uuid ? 'table-row-highlight' : ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user