样式修改
This commit is contained in:
@@ -478,7 +478,7 @@ export default function WayLinePage({ planedevices }) {
|
||||
|
||||
return (
|
||||
<div className="normal-spacing" style={{ background: '#f5f7fa', minHeight: '100vh', padding: '0px', paddingTop: 0 }}>
|
||||
<Row gutter={[16, 16]} style={{ marginBottom: 16 }}>
|
||||
<Row gutter={[16, 16]} style={{ marginBottom: 8 }}>
|
||||
{topCards.map((item, index) => (
|
||||
<Col xs={12} sm={8} md={4} key={index}>
|
||||
<Card bordered={false} bodyStyle={{ padding: '12px 14px' }} style={cardStyle}>
|
||||
@@ -610,7 +610,7 @@ export default function WayLinePage({ planedevices }) {
|
||||
title={<span style={{ fontSize: fontTitle, fontWeight: 700 }}>任务编排与 AI 建议</span>}
|
||||
bordered={false}
|
||||
bodyStyle={{ padding: '12px 16px' }}
|
||||
style={{ ...cardStyle, marginBottom: 16 }}
|
||||
style={{ ...cardStyle, marginBottom: 8 }}
|
||||
>
|
||||
<Table
|
||||
size="small"
|
||||
@@ -631,7 +631,7 @@ export default function WayLinePage({ planedevices }) {
|
||||
{ title: '状态', dataIndex: 'status', width: 90, render: (s) => <Text style={{ color: s.includes('建议') ? '#165DFF' : '#86909C', fontSize: 11, fontWeight: 500 }}>{s}</Text> },
|
||||
]}
|
||||
/>
|
||||
<div style={{ background: '#F8F9FB', padding: '10px 14px', borderRadius: 8, marginTop: 14, border: '1px solid #F1F2F5' }}>
|
||||
<div style={{ background: '#F8F9FB', padding: '2px 14px', borderRadius: 8, marginTop: 8, border: '1px solid #F1F2F5' }}>
|
||||
<div style={{ display: 'flex', gap: 12, fontSize: fontSmall, alignItems: 'center' }}>
|
||||
<span style={{ fontWeight: 700, color: '#1D2129' }}>AI 建议:</span>
|
||||
<Space split={<Divider type="vertical" style={{ margin: 0 }} />}>
|
||||
@@ -641,10 +641,10 @@ export default function WayLinePage({ planedevices }) {
|
||||
</Space>
|
||||
</div>
|
||||
</div>
|
||||
<Row gutter={12} style={{ marginTop: 16 }}>
|
||||
<Col span={8}><Button type="primary" block style={{ background: '#165DFF', height: 36, borderRadius: 18, fontWeight: 600 }}>一键排程</Button></Col>
|
||||
<Col span={8}><Button type="primary" block style={{ background: '#165DFF', height: 36, borderRadius: 18, fontWeight: 600 }}>智能分配</Button></Col>
|
||||
<Col span={8}><Button type="primary" block style={{ background: '#165DFF', height: 36, borderRadius: 18, fontWeight: 600 }}>生成工单</Button></Col>
|
||||
<Row gutter={12} style={{ marginTop: 8 }}>
|
||||
<Col span={8}><Button type="primary" block style={{ background: '#165DFF', height: 28, borderRadius: 18, fontWeight: 600 }}>一键排程</Button></Col>
|
||||
<Col span={8}><Button type="primary" block style={{ background: '#165DFF', height: 28, borderRadius: 18, fontWeight: 600 }}>智能分配</Button></Col>
|
||||
<Col span={8}><Button type="primary" block style={{ background: '#165DFF', height: 28, borderRadius: 18, fontWeight: 600 }}>生成工单</Button></Col>
|
||||
</Row>
|
||||
</Card>
|
||||
|
||||
@@ -653,9 +653,9 @@ export default function WayLinePage({ planedevices }) {
|
||||
extra={<Text type="secondary" style={{ fontSize: 12 }}>当前航线:FL-03</Text>}
|
||||
bordered={false}
|
||||
bodyStyle={{ padding: '16px' }}
|
||||
style={{ ...cardStyle, marginBottom: 16 }}
|
||||
style={{ ...cardStyle, marginBottom: 8 }}
|
||||
>
|
||||
<Row gutter={[24, 16]}>
|
||||
<Row gutter={[24, 8]}>
|
||||
{[
|
||||
{ label: '飞行高度', value: '35', unit: 'm' },
|
||||
{ label: '速度', value: '6', unit: 'm/s' },
|
||||
|
||||
Reference in New Issue
Block a user