紧凑样式
This commit is contained in:
@@ -153,7 +153,7 @@ export default function CleanOptimizationPage() {
|
||||
</style>
|
||||
|
||||
<Row
|
||||
gutter={[12, 12]}
|
||||
gutter={[8, 8]}
|
||||
style={{
|
||||
marginBottom: 16,
|
||||
flexWrap: 'wrap',
|
||||
@@ -218,7 +218,7 @@ export default function CleanOptimizationPage() {
|
||||
bg: '#e6f7ff'
|
||||
},
|
||||
].map((item, index) => (
|
||||
<Col key={index} style={{ minWidth: '168px', flex: '1 0 auto' }}>
|
||||
<Col key={index} style={{ minWidth: '168px', flex: '1 0 auto', maxWidth: "250px" }}>
|
||||
<Card
|
||||
bordered={false}
|
||||
bodyStyle={{ padding: '16px' }}
|
||||
@@ -273,7 +273,7 @@ export default function CleanOptimizationPage() {
|
||||
))}
|
||||
</Row>
|
||||
{/* 标题与操作栏 */}
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 8 }}>
|
||||
<Space size={8}>
|
||||
<Typography.Title level={4} style={{ margin: 0, fontSize: 'clamp(18px, 1.5vw, 24px)', fontWeight: 800 }}>清洗优化管理</Typography.Title>
|
||||
<InfoCircleOutlined style={{ color: '#86909C' }} />
|
||||
@@ -289,9 +289,9 @@ export default function CleanOptimizationPage() {
|
||||
</Space>
|
||||
</div>
|
||||
|
||||
<Row gutter={[12, 12]} style={{ display: 'flex', alignItems: 'stretch' }}>
|
||||
<Row gutter={[8, 8]} style={{ display: 'flex', alignItems: 'stretch' }}>
|
||||
{/* 左侧:分析图表 */}
|
||||
<Col xs={24} xl={6} style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
||||
<Col xs={24} xl={6} style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>污染趋势分析</span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<div style={{ fontSize: 12, color: '#86909C', marginBottom: 16, display: 'flex', justifyContent: 'space-between' }}>
|
||||
<span>污染指数</span>
|
||||
@@ -389,7 +389,7 @@ export default function CleanOptimizationPage() {
|
||||
</Col>
|
||||
|
||||
{/* 中间:地图分布与工单预览 */}
|
||||
<Col xs={24} xl={11} style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
||||
<Col xs={24} xl={11} style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
|
||||
<Card
|
||||
title={<span style={{ fontSize: 15, fontWeight: 700 }}>电站污染分布与建议清洗区块分布图</span>}
|
||||
bordered={false}
|
||||
@@ -408,7 +408,7 @@ export default function CleanOptimizationPage() {
|
||||
</div>
|
||||
|
||||
{/* 地图背景图与浮动标签 */}
|
||||
<div style={{ position: 'relative', width: '100%', height: 'calc(100% - 40px)', background: '#e5e6eb' }}>
|
||||
<div style={{ position: 'relative', width: '100%', height: '100%', background: '#e5e6eb' }}>
|
||||
<img src="https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80" style={{ width: '100%', height: '100%', objectFit: 'cover' }} />
|
||||
|
||||
{/* 模拟区块叠加层 */}
|
||||
@@ -472,7 +472,7 @@ export default function CleanOptimizationPage() {
|
||||
</Col>
|
||||
|
||||
{/* 右侧:决策建议与参考 */}
|
||||
<Col xs={24} xl={7} style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
||||
<Col xs={24} xl={7} style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>智能清洗策略建议</span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 0 }}>
|
||||
<div style={{ background: '#f8fafc', padding: '8px 16px', borderBottom: '1px solid #f0f0f0' }}>
|
||||
<Text type="secondary" style={{ fontSize: 11 }}>算法模型:多因子加权综合优化模型 (v2.0)</Text>
|
||||
|
||||
Reference in New Issue
Block a user