自适应完成
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
import React, { useState } from 'react';
|
||||
import {
|
||||
Row, Col, Card, Button, Table, Tag, Typography, Space, Statistic, DatePicker,
|
||||
Divider, Progress, Badge, Select, Tooltip
|
||||
Divider, Progress, Badge, Select, Tooltip, Avatar
|
||||
} from 'antd';
|
||||
import {
|
||||
ReloadOutlined, PlusOutlined, ArrowUpOutlined, ArrowDownOutlined,
|
||||
CheckCircleOutlined, CloudOutlined, SunOutlined, MoneyCollectOutlined,
|
||||
CalendarOutlined, DropOutlined, DownloadOutlined, InfoCircleOutlined,
|
||||
EnvironmentOutlined, RocketOutlined, UserOutlined, WindOutlined,
|
||||
PercentageOutlined, GlobalOutlined, AimOutlined
|
||||
PercentageOutlined, GlobalOutlined, AimOutlined, FilterOutlined,
|
||||
FullscreenOutlined, ZoomInOutlined, ZoomOutOutlined
|
||||
} from '@ant-design/icons';
|
||||
import { Line, Pie, Column } from '@ant-design/charts';
|
||||
import { Line, Pie, Column, DualAxes } from '@ant-design/charts';
|
||||
import {
|
||||
Droplets,
|
||||
Zap,
|
||||
@@ -24,7 +25,9 @@ import {
|
||||
CloudRain,
|
||||
Thermometer,
|
||||
Wind,
|
||||
Info
|
||||
Info,
|
||||
ShieldCheck,
|
||||
Leaf
|
||||
} from 'lucide-react';
|
||||
|
||||
const { Title, Text } = Typography;
|
||||
@@ -57,22 +60,43 @@ const pollutionTrendData = [
|
||||
{ date: '05-22', value: 68, type: '污染指数' },
|
||||
{ date: '05-23', value: 60, type: '污染指数' },
|
||||
{ date: '05-24', value: 68.5, type: '污染指数' },
|
||||
{ date: '05-18', value: 75, type: '阈值' },
|
||||
{ date: '05-19', value: 75, type: '阈值' },
|
||||
{ date: '05-20', value: 75, type: '阈值' },
|
||||
{ date: '05-21', value: 75, type: '阈值' },
|
||||
{ date: '05-22', value: 75, type: '阈值' },
|
||||
{ date: '05-23', value: 75, type: '阈值' },
|
||||
{ date: '05-24', value: 75, type: '阈值' },
|
||||
];
|
||||
|
||||
const lossPieData = [
|
||||
{ type: '灰尘积累', value: 6120 },
|
||||
{ type: '鸟粪遮挡', value: 1480 },
|
||||
{ type: '沙尘沉积', value: 1120 },
|
||||
{ type: '其他', value: 600 },
|
||||
{ type: '灰尘积累', value: 6120, color: '#165DFF' },
|
||||
{ type: '鸟粪遮挡', value: 1480, color: '#F53F3F' },
|
||||
{ type: '沙尘沉积', value: 1120, color: '#F7BA1E' },
|
||||
{ type: '其他', value: 600, color: '#86909C' },
|
||||
];
|
||||
|
||||
const dualAxesData = [
|
||||
[
|
||||
{ date: 'D-7', value: 800, type: '清洗前发电量' },
|
||||
{ date: 'D-7', value: 1200, type: '清洗后发电量' },
|
||||
{ date: 'D-6', value: 850, type: '清洗前发电量' },
|
||||
{ date: 'D-6', value: 1250, type: '清洗后发电量' },
|
||||
{ date: 'D-5', value: 900, type: '清洗前发电量' },
|
||||
{ date: 'D-5', value: 1300, type: '清洗后发电量' },
|
||||
{ date: 'D-4', value: 880, type: '清洗前发电量' },
|
||||
{ date: 'D-4', value: 1280, type: '清洗后发电量' },
|
||||
{ date: 'D-3', value: 920, type: '清洗前发电量' },
|
||||
{ date: 'D-3', value: 1320, type: '清洗后发电量' },
|
||||
{ date: 'D-2', value: 950, type: '清洗前发电量' },
|
||||
{ date: 'D-2', value: 1350, type: '清洗后发电量' },
|
||||
{ date: 'D-1', value: 980, type: '清洗前发电量' },
|
||||
{ date: 'D-1', value: 1380, type: '清洗后发电量' },
|
||||
],
|
||||
[
|
||||
{ date: 'D-7', rate: 35 },
|
||||
{ date: 'D-6', rate: 32 },
|
||||
{ date: 'D-5', rate: 30 },
|
||||
{ date: 'D-4', rate: 28 },
|
||||
{ date: 'D-3', rate: 31 },
|
||||
{ date: 'D-2', rate: 29 },
|
||||
{ date: 'D-1', rate: 33 },
|
||||
],
|
||||
|
||||
];
|
||||
const compareBarData = [
|
||||
{ date: 'D-7', value: 800, type: '清洗前发电量(kWh)' },
|
||||
{ date: 'D-7', value: 1200, type: '清洗后发电量(kWh)' },
|
||||
@@ -90,30 +114,51 @@ const compareBarData = [
|
||||
{ date: 'D-1', value: 1380, type: '清洗后发电量(kWh)' },
|
||||
];
|
||||
|
||||
const boostRateData = [
|
||||
{ date: 'D-7', rate: 35 },
|
||||
{ date: 'D-6', rate: 32 },
|
||||
{ date: 'D-5', rate: 30 },
|
||||
{ date: 'D-4', rate: 28 },
|
||||
{ date: 'D-3', rate: 31 },
|
||||
{ date: 'D-2', rate: 29 },
|
||||
{ date: 'D-1', rate: 33 },
|
||||
];
|
||||
|
||||
export default function CleanOptimizationPage() {
|
||||
const cardStyle = {
|
||||
borderRadius: 12,
|
||||
border: '1px solid #f0f0f0',
|
||||
boxShadow: '0 4px 12px rgba(0,0,0,0.05)',
|
||||
overflow: 'hidden'
|
||||
};
|
||||
|
||||
const renderPriorityTag = (priority: string) => {
|
||||
const config: Record<string, any> = {
|
||||
'高': { color: '#ff4d4f', bg: '#fff1f0' },
|
||||
'中': { color: '#faad14', bg: '#fff7e6' },
|
||||
'低': { color: '#52c41a', bg: '#f6ffed' },
|
||||
};
|
||||
return <Tag color={config[priority]?.bg} style={{ color: config[priority]?.color, border: `1px solid ${config[priority]?.color}` }}>{priority}</Tag>;
|
||||
return <Tag color={config[priority]?.bg} style={{ color: config[priority]?.color, border: `1px solid ${config[priority]?.color}`, margin: 0, borderRadius: 4 }}>{priority}</Tag>;
|
||||
};
|
||||
|
||||
return (
|
||||
<div style={{ background: '#f0f2f5', minHeight: '100vh', padding: '16px 24px' }}>
|
||||
{/* 顶部指标卡片 */}
|
||||
{/* 清洗建议卡片组 —— 宽高统一 + 最小168px + 自动换行 + 风格统一 */}
|
||||
<div style={{ background: '#f5f7fa', minHeight: '100vh', padding: '16px 24px', boxSizing: 'border-box' }}>
|
||||
<style>
|
||||
{`
|
||||
.compact-table .ant-table-thead > tr > th {
|
||||
background: #f8fafc;
|
||||
padding: 8px 12px !important;
|
||||
font-size: 12px;
|
||||
color: #4E5969;
|
||||
}
|
||||
.compact-table .ant-table-tbody > tr > td {
|
||||
padding: 8px 12px !important;
|
||||
font-size: 12px;
|
||||
}
|
||||
.map-block {
|
||||
transition: all 0.3s;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
||||
}
|
||||
.map-block:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 8px 16px rgba(0,0,0,0.3);
|
||||
z-index: 10;
|
||||
}
|
||||
`}
|
||||
</style>
|
||||
|
||||
<Row
|
||||
gutter={[12, 12]}
|
||||
style={{
|
||||
@@ -234,28 +279,34 @@ export default function CleanOptimizationPage() {
|
||||
</Col>
|
||||
))}
|
||||
</Row>
|
||||
{/* 标题栏 */}
|
||||
{/* 标题与操作栏 */}
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
|
||||
<Title level={4} style={{ margin: 0 }}>清洗优化管理</Title>
|
||||
<InfoCircleOutlined style={{ color: '#bfbfbf' }} />
|
||||
</div>
|
||||
<Space size={8}>
|
||||
<Typography.Title level={4} style={{ margin: 0, fontSize: 'clamp(18px, 1.5vw, 24px)', fontWeight: 800 }}>清洗优化管理</Typography.Title>
|
||||
<InfoCircleOutlined style={{ color: '#86909C' }} />
|
||||
</Space>
|
||||
<Space>
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>
|
||||
<ReloadOutlined style={{ marginRight: 4 }} /> 更新时间:2025-05-24 09:30
|
||||
</Text>
|
||||
<Button icon={<ReloadOutlined />}>刷新</Button>
|
||||
<Select defaultValue="7d" style={{ width: 100 }}>
|
||||
<Option value="7d">近 7 天</Option>
|
||||
<Text type="secondary" style={{ fontSize: 12 }}><ReloadOutlined /> 更新时间:2025-05-24 09:30</Text>
|
||||
<Button icon={<ReloadOutlined />}>刷新数据</Button>
|
||||
<Select defaultValue="7d" style={{ width: 110 }}>
|
||||
<Option value="7d">最近 7 天</Option>
|
||||
<Option value="30d">最近 30 天</Option>
|
||||
</Select>
|
||||
<Button type="primary" icon={<DownloadOutlined />}>导出报告</Button>
|
||||
</Space>
|
||||
</div>
|
||||
|
||||
<Row gutter={12} style={{ display: 'flex', alignItems: 'stretch' }}>
|
||||
{/* 左侧:四个图表 */}
|
||||
<Col span={5} style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
<Card title={<Text strong>污染趋势</Text>} bordered={false} style={{ borderRadius: 8, marginBottom: 12, flex: 'none' }} bodyStyle={{ padding: '12px' }}>
|
||||
<Row gutter={[12, 12]} style={{ display: 'flex', alignItems: 'stretch' }}>
|
||||
{/* 左侧:分析图表 */}
|
||||
<Col xs={24} xl={6} style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
||||
<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>
|
||||
<Space size={12}>
|
||||
<span style={{ display: 'flex', alignItems: 'center' }}><div style={{ width: 8, height: 8, background: '#165DFF', marginRight: 4 }}></div>污染指数</span>
|
||||
<span style={{ display: 'flex', alignItems: 'center' }}><div style={{ width: 8, height: 2, borderBottom: '1px dashed #F53F3F', marginRight: 4 }}></div>阈值</span>
|
||||
</Space>
|
||||
</div>
|
||||
<Line
|
||||
data={pollutionTrendData}
|
||||
xField="date"
|
||||
@@ -272,36 +323,32 @@ export default function CleanOptimizationPage() {
|
||||
/>
|
||||
</Card>
|
||||
|
||||
<Card title={<Text strong>发电损失分析 <Text type="secondary" style={{ fontSize: 12, fontWeight: 'normal' }}>(近 7 天)</Text></Text>} bordered={false} style={{ borderRadius: 8, marginBottom: 12, flex: 'none' }} bodyStyle={{ padding: '12px' }}>
|
||||
<div style={{ height: 160, display: 'flex', alignItems: 'center' }}>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>发电损失构成 <Text type="secondary" style={{ fontWeight: 400, fontSize: 12 }}>(近 7 天)</Text></span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<div style={{ position: 'relative', height: 180 }}>
|
||||
<Pie
|
||||
data={lossPieData}
|
||||
angleField="value"
|
||||
colorField="type"
|
||||
radius={1}
|
||||
innerRadius={0.6}
|
||||
radius={0.8}
|
||||
innerRadius={0.65}
|
||||
color={['#165DFF', '#F53F3F', '#F7BA1E', '#86909C']}
|
||||
legend={{
|
||||
position: 'right',
|
||||
layout: 'vertical',
|
||||
itemValueLabel: {
|
||||
formatter: (text, item) => {
|
||||
const total = lossPieData.reduce((a, b) => a + b.value, 0);
|
||||
const percent = ((item.value / total) * 100).toFixed(1);
|
||||
return `${item.value.toLocaleString()} kWh (${percent}%)`;
|
||||
}
|
||||
}
|
||||
itemValue: { formatter: (val, item) => `${item.value} kWh` }
|
||||
}}
|
||||
height={140}
|
||||
height={180}
|
||||
autoFit
|
||||
/>
|
||||
<div style={{ position: 'absolute', left: '26%', top: '48%', textAlign: 'center', transform: 'translate(-50%, -50%)' }}>
|
||||
<div style={{ fontSize: 10, color: '#8c8c8c' }}>总损失电量</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold' }}>9,320</div>
|
||||
<div style={{ fontSize: 10, color: '#8c8c8c' }}>kWh</div>
|
||||
<div style={{ position: 'absolute', left: '30%', top: '50%', transform: 'translate(-50%, -50%)', textAlign: 'center' }}>
|
||||
<div style={{ fontSize: 10, color: '#86909C' }}>总损失电量</div>
|
||||
<div style={{ fontSize: 16, fontWeight: 800, color: '#1D2129' }}>9,320</div>
|
||||
<div style={{ fontSize: 10, color: '#86909C' }}>kWh</div>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title={<Text strong>清洗前后对比 <Text type="secondary" style={{ fontSize: 12, fontWeight: 'normal' }}>(近一次清洗)</Text></Text>} bordered={false} style={{ borderRadius: 8, marginBottom: 12, flex: 'none' }} bodyStyle={{ padding: '12px' }}>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>清洗前后对比分析 <Text type="secondary" style={{ fontWeight: 400, fontSize: 12 }}>(近一次)</Text></span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<Column
|
||||
data={compareBarData}
|
||||
xField="date"
|
||||
@@ -315,269 +362,225 @@ export default function CleanOptimizationPage() {
|
||||
/>
|
||||
</Card>
|
||||
|
||||
<Card title={<Text strong>清洗收益测算 <Text type="secondary" style={{ fontSize: 12, fontWeight: 'normal' }}>(本次建议清洗)</Text></Text>} bordered={false} style={{ borderRadius: 8, flex: 1 }} bodyStyle={{ padding: '12px' }}>
|
||||
<Row gutter={[0, 12]}>
|
||||
<Col span={6}>
|
||||
<div style={{ fontSize: 10, color: '#8c8c8c' }}>预计发电提升</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold' }}>12,850 <Text style={{ fontSize: 10 }}>kWh</Text></div>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>清洗收益深度测算</span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<Row gutter={[16, 16]}>
|
||||
<Col span={12}>
|
||||
<div style={{ fontSize: 11, color: '#86909C', marginBottom: 4 }}>预计发电提升</div>
|
||||
<div style={{ fontSize: 15, fontWeight: 800 }}>12,850 <span style={{ fontSize: 11, fontWeight: 400 }}>kWh</span></div>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<div style={{ fontSize: 10, color: '#8c8c8c' }}>电价 (含税)</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold' }}>0.568 <Text style={{ fontSize: 10 }}>元/kWh</Text></div>
|
||||
<Col span={12}>
|
||||
<div style={{ fontSize: 11, color: '#86909C', marginBottom: 4 }}>电价 (含税)</div>
|
||||
<div style={{ fontSize: 15, fontWeight: 800 }}>0.568 <span style={{ fontSize: 11, fontWeight: 400 }}>元/kWh</span></div>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<div style={{ fontSize: 10, color: '#8c8c8c' }}>预计收益</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold', color: '#52c41a' }}>7,286 <Text style={{ fontSize: 10, color: '#52c41a' }}>元</Text></div>
|
||||
<Col span={12}>
|
||||
<div style={{ fontSize: 11, color: '#86909C', marginBottom: 4 }}>预计净收益</div>
|
||||
<div style={{ fontSize: 15, fontWeight: 800, color: '#00B42A' }}>7,286 <span style={{ fontSize: 11, fontWeight: 400 }}>元</span></div>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<div style={{ fontSize: 10, color: '#8c8c8c' }}>投资回报率 (ROI)</div>
|
||||
<div style={{ fontSize: 20, fontWeight: 'bold', color: '#52c41a' }}>227%</div>
|
||||
</Col>
|
||||
<Col span={24}>
|
||||
<Divider style={{ margin: '8px 0' }} />
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 12 }}>
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>回收周期</Text>
|
||||
<Text style={{ fontSize: 18, fontWeight: 'bold' }}>0.44 <Text style={{ fontSize: 12 }}>天</Text></Text>
|
||||
</div>
|
||||
<Col span={12}>
|
||||
<div style={{ fontSize: 11, color: '#86909C', marginBottom: 4 }}>ROI (投资回报)</div>
|
||||
<div style={{ fontSize: 20, fontWeight: 800, color: '#00B42A' }}>227%</div>
|
||||
</Col>
|
||||
</Row>
|
||||
<Divider style={{ margin: '16px 0' }} />
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', background: '#f8fafc', padding: '10px 16px', borderRadius: 8 }}>
|
||||
<span style={{ fontSize: 12, color: '#86909C' }}>回收周期</span>
|
||||
<span style={{ fontSize: 18, fontWeight: 800 }}>0.44 <Text style={{ fontSize: 12 }}>天</Text></span>
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
{/* 中间:地图 + 工单表格 */}
|
||||
<Col span={12} style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
{/* 中间:地图分布与工单预览 */}
|
||||
<Col xs={24} xl={11} style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
||||
<Card
|
||||
title={<Text strong>电站污染分布与建议清洗区块</Text>}
|
||||
title={<span style={{ fontSize: 15, fontWeight: 700 }}>电站污染分布与建议清洗区块分布图</span>}
|
||||
bordered={false}
|
||||
style={{ borderRadius: 8, marginBottom: 12, flex: 1, display: 'flex', flexDirection: 'column' }}
|
||||
bodyStyle={{ padding: 0, flex: 1, position: 'relative' }}
|
||||
style={{ ...cardStyle, flex: 1 }}
|
||||
bodyStyle={{ padding: 0, position: 'relative', overflow: 'hidden', minHeight: 500 }}
|
||||
>
|
||||
<div style={{ padding: '8px 16px', display: 'flex', justifyContent: 'space-between', borderBottom: '1px solid #f0f0f0' }}>
|
||||
<Space size={16} style={{ fontSize: 12 }}>
|
||||
<span style={{ color: '#8c8c8c' }}>污染等级:</span>
|
||||
<Badge color="#ff4d4f" text="优先清洗 (>75)" />
|
||||
<Badge color="#faad14" text="较高 (50-75)" />
|
||||
<Badge color="#ffec3d" text="中等 (25-50)" />
|
||||
<Badge color="#b7eb8f" text="较低 (10-25)" />
|
||||
<Badge color="#52c41a" text="清洁 (<10)" />
|
||||
<div style={{ background: '#f8fafc', padding: '10px 20px', display: 'flex', justifyContent: 'space-between', borderBottom: '1px solid #f0f0f0', flexWrap: 'wrap', gap: 8 }}>
|
||||
<Space size={16} wrap style={{ fontSize: 11 }}>
|
||||
<span style={{ color: '#86909C' }}>污染等级:</span>
|
||||
<Badge color="#F53F3F" text="优先清洗 (>75)" />
|
||||
<Badge color="#FF7D00" text="较高 (50-75)" />
|
||||
<Badge color="#F7BA1E" text="中等 (25-50)" />
|
||||
<Badge color="#D1FF6B" text="较低 (10-25)" />
|
||||
<Badge color="#00B42A" text="清洁 (<10)" />
|
||||
</Space>
|
||||
</div>
|
||||
<div style={{ position: 'relative', flex: 1, background: '#e6f7ff', overflow: 'hidden', minHeight: 480 }}>
|
||||
{/* 模拟地图底图 */}
|
||||
<img src="https://api.placeholder.com/800x500?text=Power+Station+Aerial+View" style={{ width: '100%', height: '100%', objectFit: 'cover', opacity: 0.8 }} />
|
||||
|
||||
{/* 区块标记 */}
|
||||
<div style={{ position: 'absolute', top: '15%', left: '25%', padding: '4px 8px', background: 'rgba(255, 77, 79, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 01</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>82.3</div>
|
||||
</div>
|
||||
<div style={{ position: 'absolute', top: '15%', left: '40%', padding: '4px 8px', background: 'rgba(255, 77, 79, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 02</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>76.8</div>
|
||||
</div>
|
||||
<div style={{ position: 'absolute', top: '15%', left: '55%', padding: '4px 8px', background: 'rgba(250, 173, 20, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 03</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>63.2</div>
|
||||
</div>
|
||||
<div style={{ position: 'absolute', top: '20%', left: '70%', padding: '4px 8px', background: 'rgba(82, 196, 26, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 08</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>19.7</div>
|
||||
</div>
|
||||
{/* 地图背景图与浮动标签 */}
|
||||
<div style={{ position: 'relative', width: '100%', height: 'calc(100% - 40px)', 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' }} />
|
||||
|
||||
<div style={{ position: 'absolute', top: '35%', left: '15%', padding: '4px 8px', background: 'rgba(250, 173, 20, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 04</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>33.6</div>
|
||||
</div>
|
||||
<div style={{ position: 'absolute', top: '38%', left: '35%', padding: '4px 8px', background: 'rgba(255, 77, 79, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 05</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>68.7</div>
|
||||
</div>
|
||||
<div style={{ position: 'absolute', top: '40%', left: '48%', padding: '4px 8px', background: 'rgba(255, 77, 79, 0.9)', color: '#fff', borderRadius: 4, textAlign: 'center', border: '1px solid #fff' }}>
|
||||
<div style={{ fontSize: 10 }}>区块 15</div>
|
||||
<div style={{ fontSize: 12, fontWeight: 'bold' }}>82.9</div>
|
||||
</div>
|
||||
{/* 模拟区块叠加层 */}
|
||||
<div style={{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', background: 'rgba(0,0,0,0.1)' }} />
|
||||
|
||||
{/* 地图控制按钮 */}
|
||||
<div style={{ position: 'absolute', top: 20, right: 20, display: 'flex', flexDirection: 'column', gap: 8 }}>
|
||||
<Button icon={<AimOutlined />} size="small" style={{ background: 'rgba(255,255,255,0.8)' }}>图例</Button>
|
||||
<Button icon={<RocketOutlined />} size="small" style={{ background: 'rgba(255,255,255,0.8)' }}>筛选</Button>
|
||||
<Button icon={<PlusOutlined />} size="small" style={{ background: 'rgba(255,255,255,0.8)' }}>缩放+</Button>
|
||||
<Button icon={<ReloadOutlined />} size="small" style={{ background: 'rgba(255,255,255,0.8)' }}>复位</Button>
|
||||
{/* 具体的污染区块标签 */}
|
||||
{[
|
||||
{ id: '01', score: '82.3', top: '25%', left: '30%', color: '#F53F3F' },
|
||||
{ id: '02', score: '76.8', top: '20%', left: '45%', color: '#F53F3F' },
|
||||
{ id: '03', score: '63.2', top: '22%', left: '60%', color: '#FF7D00' },
|
||||
{ id: '08', score: '19.7', top: '28%', left: '75%', color: '#00B42A' },
|
||||
{ id: '04', score: '33.6', top: '45%', left: '20%', color: '#F7BA1E' },
|
||||
{ id: '05', score: '68.7', top: '42%', left: '38%', color: '#F53F3F' },
|
||||
{ id: '15', score: '82.9', top: '48%', left: '55%', color: '#F53F3F' },
|
||||
{ id: '19', score: '44.4', top: '55%', left: '65%', color: '#F7BA1E' },
|
||||
{ id: '11', score: '44.8', top: '65%', left: '42%', color: '#F7BA1E' },
|
||||
{ id: '13', score: '28.6', top: '75%', left: '30%', color: '#F7BA1E' },
|
||||
{ id: '19', score: '24.5', top: '78%', left: '50%', color: '#D1FF6B' },
|
||||
{ id: '20', score: '17.8', top: '85%', left: '40%', color: '#00B42A' },
|
||||
].map(block => (
|
||||
<div key={block.id} className="map-block" style={{ position: 'absolute', top: block.top, left: block.left, background: block.color, color: '#fff', padding: '4px 10px', borderRadius: 6, border: '1.5px solid #fff', textAlign: 'center', minWidth: 60 }}>
|
||||
<div style={{ fontSize: 9, opacity: 0.9 }}>区块 {block.id}</div>
|
||||
<div style={{ fontSize: 13, fontWeight: 800 }}>{block.score}</div>
|
||||
</div>
|
||||
))}
|
||||
|
||||
{/* 右侧悬浮控制按钮 */}
|
||||
<div style={{ position: 'absolute', top: 20, right: 20, display: 'flex', flexDirection: 'column', gap: 10 }}>
|
||||
<Button icon={<AimOutlined />} style={{ borderRadius: 8, width: 40, height: 40, background: 'rgba(255,255,255,0.9)', border: 'none' }} />
|
||||
<Button icon={<FilterOutlined />} style={{ borderRadius: 8, width: 40, height: 40, background: 'rgba(255,255,255,0.9)', border: 'none' }} />
|
||||
<Button icon={<ZoomInOutlined />} style={{ borderRadius: 8, width: 40, height: 40, background: 'rgba(255,255,255,0.9)', border: 'none' }} />
|
||||
<Button icon={<ZoomOutOutlined />} style={{ borderRadius: 8, width: 40, height: 40, background: 'rgba(255,255,255,0.9)', border: 'none' }} />
|
||||
<Button icon={<ReloadOutlined />} style={{ borderRadius: 8, width: 40, height: 40, background: 'rgba(255,255,255,0.9)', border: 'none' }} />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card
|
||||
title={<Text strong>清洗工单预览</Text>}
|
||||
title={<span style={{ fontSize: 15, fontWeight: 700 }}>清洗工单智能预览</span>}
|
||||
extra={<Button type="link" size="small">查看更多 <ChevronRight size={14} /></Button>}
|
||||
bordered={false}
|
||||
style={{ borderRadius: 8, flex: 'none' }}
|
||||
extra={<Button type="link" size="small">更多 <ChevronRight size={14} /></Button>}
|
||||
style={cardStyle}
|
||||
bodyStyle={{ padding: 0 }}
|
||||
>
|
||||
<Table
|
||||
columns={[
|
||||
{ title: '区块', dataIndex: 'area', width: 100 },
|
||||
{ title: '优先级', dataIndex: 'priority', width: 80, render: renderPriorityTag },
|
||||
{ title: '预计工时', dataIndex: 'duration', width: 100 },
|
||||
{ title: '负责人', dataIndex: 'handler', width: 100 },
|
||||
{ title: '计划时间', dataIndex: 'planTime', width: 180 },
|
||||
{ title: '状态', dataIndex: 'status', width: 80, render: (s) => <Text type="secondary">{s}</Text> },
|
||||
{ title: '操作', key: 'action', width: 80, render: () => <Button type="link" size="small">创建工单</Button> },
|
||||
{ title: '区块', dataIndex: 'area', key: 'area' },
|
||||
{ title: '优先级', dataIndex: 'priority', key: 'priority', render: renderPriorityTag },
|
||||
{ title: '预计工时', dataIndex: 'duration', key: 'duration' },
|
||||
{ title: '负责人', dataIndex: 'handler', key: 'handler' },
|
||||
{ title: '计划时间', dataIndex: 'planTime', key: 'planTime' },
|
||||
{ title: '状态', dataIndex: 'status', key: 'status', render: (s) => <Tag color="blue" variant="outline" style={{ borderRadius: 4 }}>{s}</Tag> },
|
||||
{ title: '操作', key: 'action', render: () => <Button type="primary" size="small" style={{ borderRadius: 4 }}>创建工单</Button> },
|
||||
]}
|
||||
dataSource={workOrderPreviewData}
|
||||
pagination={false}
|
||||
size="small"
|
||||
className="compact-table"
|
||||
/>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
{/* 右侧:建议 + 方案 + 天气 + 评估 */}
|
||||
<Col span={7} style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
<Card title={<Text strong>智能清洗建议</Text>} bordered={false} style={{ borderRadius: 8, marginBottom: 12, flex: 'none' }} bodyStyle={{ padding: 0 }}>
|
||||
<div style={{ padding: '8px 16px', background: '#fafafa', borderBottom: '1px solid #f0f0f0' }}>
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>算法模型:多因子综合优化模型</Text>
|
||||
{/* 右侧:决策建议与参考 */}
|
||||
<Col xs={24} xl={7} style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
||||
<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>
|
||||
</div>
|
||||
<Table
|
||||
columns={[
|
||||
{ title: '推荐计划', dataIndex: 'id', width: 80 },
|
||||
{ title: '优先级', dataIndex: 'priority', width: 60, render: (p) => <Text style={{ color: p === '高' ? '#ff4d4f' : p === '中' ? '#faad14' : '#52c41a' }}>{p}</Text> },
|
||||
{ title: '建议区块', dataIndex: 'area', width: 100 },
|
||||
{ title: '预计提升', dataIndex: 'boost', width: 100 },
|
||||
{ title: '天气适宜度', dataIndex: 'weather', width: 90, render: (w) => <Space size={4}>{w} <SunOutlined style={{ color: '#faad14', fontSize: 12 }} /></Space> },
|
||||
{ title: '建议时间', key: 'time', width: 100, render: (_, record, index) => <Text style={{ fontSize: 11 }}>05-{26 + index} - 05-{27 + index}</Text> },
|
||||
{ title: '推荐计划', dataIndex: 'id', key: 'id', width: 85 },
|
||||
{ title: '优先级', dataIndex: 'priority', key: 'priority', render: (p) => <span style={{ color: p === '高' ? '#F53F3F' : '#F7BA1E', fontWeight: 600 }}>{p}</span>, width: 65 },
|
||||
{ title: '建议区块', dataIndex: 'area', key: 'area' },
|
||||
{ title: '预计提升', dataIndex: 'boost', key: 'boost', render: (b) => <span style={{ color: '#00B42A', fontWeight: 600 }}>{b}</span> },
|
||||
{ title: '天气适宜度', dataIndex: 'weather', key: 'weather', render: (w) => <Space size={4}>{w} <SunOutlined style={{ color: '#F7BA1E' }} /></Space> },
|
||||
]}
|
||||
dataSource={smartCleanPlanData}
|
||||
pagination={false}
|
||||
size="small"
|
||||
className="compact-table"
|
||||
/>
|
||||
</Card>
|
||||
|
||||
<Card title={<Text strong>清洗方案建议</Text>} bordered={false} style={{ borderRadius: 8, marginBottom: 12, flex: 'none' }} bodyStyle={{ padding: '12px' }}>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>清洗技术方案推荐</span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<Row gutter={12}>
|
||||
<Col span={12}>
|
||||
<div style={{ border: '1px solid #f0f0f0', borderRadius: 8, padding: '12px', background: '#f9f0ff' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 8 }}>
|
||||
<div style={{ width: 32, height: 32, borderRadius: '50%', background: '#722ed1', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Bot size={18} color="#fff" />
|
||||
</div>
|
||||
<Text strong style={{ fontSize: 13 }}>清洗机器人方案</Text>
|
||||
</div>
|
||||
<Text type="secondary" style={{ fontSize: 11, display: 'block', marginBottom: 8 }}>自动化清洗,效率高,适合大面积、平整区域</Text>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between' }}>
|
||||
<Text type="secondary" style={{ fontSize: 11 }}>预计用水:</Text>
|
||||
<Text strong style={{ fontSize: 11 }}>18 吨</Text>
|
||||
<div style={{ background: '#F9F0FF', borderRadius: 12, padding: 16, border: '1px solid #D3ADF7', height: '100%' }}>
|
||||
<Space align="center" style={{ marginBottom: 12 }}>
|
||||
<div style={{ width: 32, height: 32, background: '#722ED1', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center' }}><Bot size={18} color="#fff" /></div>
|
||||
<Text strong style={{ fontSize: 13, color: '#391085' }}>智能机器人方案</Text>
|
||||
</Space>
|
||||
<div style={{ fontSize: 11, color: '#531DAB', marginBottom: 12, lineHeight: 1.5 }}>全自动清洗,适合大面积平整区块,效率极高。</div>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', fontSize: 11 }}>
|
||||
<span style={{ color: '#8c8c8c' }}>预计用水:</span>
|
||||
<Text strong>18 吨</Text>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<div style={{ border: '1px solid #f0f0f0', borderRadius: 8, padding: '12px', background: '#e6f7ff' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 8 }}>
|
||||
<div style={{ width: 32, height: 32, borderRadius: '50%', background: '#1890ff', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<User size={18} color="#fff" />
|
||||
</div>
|
||||
<Text strong style={{ fontSize: 13 }}>人工清洗方案</Text>
|
||||
</div>
|
||||
<Text type="secondary" style={{ fontSize: 11, display: 'block', marginBottom: 8 }}>灵活作业,适合局部、遮挡严重或复杂区域</Text>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between' }}>
|
||||
<Text type="secondary" style={{ fontSize: 11 }}>预计用水:</Text>
|
||||
<Text strong style={{ fontSize: 11 }}>32 吨</Text>
|
||||
<div style={{ background: '#E6F7FF', borderRadius: 12, padding: 16, border: '1px solid #91D5FF', height: '100%' }}>
|
||||
<Space align="center" style={{ marginBottom: 12 }}>
|
||||
<div style={{ width: 32, height: 32, background: '#1890FF', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center' }}><User size={18} color="#fff" /></div>
|
||||
<Text strong style={{ fontSize: 13, color: '#003A8C' }}>人工精细化方案</Text>
|
||||
</Space>
|
||||
<div style={{ fontSize: 11, color: '#0050B3', marginBottom: 12, lineHeight: 1.5 }}>灵活处理遮挡及严重污垢区域,适合复杂地形。</div>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', fontSize: 11 }}>
|
||||
<span style={{ color: '#8c8c8c' }}>预计用水:</span>
|
||||
<Text strong>32 吨</Text>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
</Card>
|
||||
|
||||
<Card title={<Text strong>天气与资源参考 <Text type="secondary" style={{ fontSize: 12, fontWeight: 'normal' }}>(计划 01)</Text></Text>} bordered={false} style={{ borderRadius: 8, marginBottom: 12, flex: 'none' }} bodyStyle={{ padding: '12px' }}>
|
||||
<Row gutter={16}>
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>天气与资源环境参考 <Text type="secondary" style={{ fontSize: 12, fontWeight: 400 }}>(计划 01)</Text></span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<Row gutter={12}>
|
||||
<Col span={8}>
|
||||
<div style={{ textAlign: 'center', padding: '8px', background: '#fafafa', borderRadius: 8 }}>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c' }}>05-26</div>
|
||||
<SunOutlined style={{ fontSize: 20, color: '#faad14', margin: '4px 0' }} />
|
||||
<div style={{ fontSize: 11 }}>多云</div>
|
||||
<div style={{ fontSize: 11, fontWeight: 'bold' }}>18~28℃</div>
|
||||
<div style={{ background: '#f8fafc', padding: '10px 4px', borderRadius: 8, textAlign: 'center', border: '1px solid #f0f0f0' }}>
|
||||
<div style={{ fontSize: 11, color: '#86909C' }}>05-26 (周一)</div>
|
||||
<SunOutlined style={{ fontSize: 24, color: '#F7BA1E', margin: '8px 0' }} />
|
||||
<div style={{ fontSize: 12, fontWeight: 700 }}>多云 18~28℃</div>
|
||||
</div>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<div style={{ textAlign: 'center', padding: '8px', background: '#fafafa', borderRadius: 8 }}>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c' }}>05-27</div>
|
||||
<SunOutlined style={{ fontSize: 20, color: '#faad14', margin: '4px 0' }} />
|
||||
<div style={{ fontSize: 11 }}>晴</div>
|
||||
<div style={{ fontSize: 11, fontWeight: 'bold' }}>19~30℃</div>
|
||||
<div style={{ background: '#f8fafc', padding: '10px 4px', borderRadius: 8, textAlign: 'center', border: '1px solid #f0f0f0' }}>
|
||||
<div style={{ fontSize: 11, color: '#86909C' }}>05-27 (周二)</div>
|
||||
<SunOutlined style={{ fontSize: 24, color: '#F7BA1E', margin: '8px 0' }} />
|
||||
<div style={{ fontSize: 12, fontWeight: 700 }}>晴 19~30℃</div>
|
||||
</div>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 4 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
|
||||
<Wind size={14} color="#8c8c8c" />
|
||||
<div style={{ fontSize: 10 }}>风速 <Text strong>2.1 m/s</Text></div>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 10, justifyContent: 'center', height: '100%' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
|
||||
<Wind size={14} style={{ color: '#86909C' }} /><span style={{ fontSize: 11 }}>风速: <b style={{ color: '#00B42A' }}>2.1m/s (适宜)</b></span>
|
||||
</div>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
|
||||
<CloudRain size={14} color="#8c8c8c" />
|
||||
<div style={{ fontSize: 10 }}>降水率 <Text strong>10%</Text></div>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
|
||||
<CloudRain size={14} style={{ color: '#86909C' }} /><span style={{ fontSize: 11 }}>降水: <b style={{ color: '#86909C' }}>10% (低)</b></span>
|
||||
</div>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
|
||||
<Droplets size={14} color="#1890ff" />
|
||||
<div style={{ fontSize: 10 }}>水源可用 <Text strong>充足</Text></div>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
|
||||
<Droplets size={14} style={{ color: '#165DFF' }} /><span style={{ fontSize: 11 }}>水源: <b style={{ color: '#165DFF' }}>充足 (50t)</b></span>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
</Card>
|
||||
|
||||
<Card title={<Text strong>清洗影响评估</Text>} bordered={false} style={{ borderRadius: 8, flex: 1 }} bodyStyle={{ padding: '12px' }}>
|
||||
<Row gutter={[12, 12]}>
|
||||
<Col span={12}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
|
||||
<div style={{ width: 36, height: 36, borderRadius: 8, background: '#e6f7ff', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Droplets size={18} color="#1890ff" />
|
||||
<Card title={<span style={{ fontSize: 14, fontWeight: 700 }}>清洗作业影响综合评估</span>} bordered={false} style={cardStyle} bodyStyle={{ padding: 16 }}>
|
||||
<Row gutter={[16, 16]}>
|
||||
{[
|
||||
{ icon: <Droplets size={18} color="#165DFF" />, bg: '#E8F3FF', label: '预计用水量', value: '18 吨', sub: '节水 30% (机器人)', subColor: '#00B42A' },
|
||||
{ icon: <Calendar size={18} color="#165DFF" />, bg: '#E8F3FF', label: '预计总耗时', value: '12 小时', sub: '并行作业 2 组', subColor: '#86909C' },
|
||||
{ icon: <Leaf size={18} color="#00B42A" />, bg: '#E8FFEA', label: '碳减排贡献', value: '6.85 吨', sub: 'CO₂ 减排量', subColor: '#86909C' },
|
||||
{ icon: <ShieldCheck size={18} color="#F7BA1E" />, bg: '#FFF7E8', label: '作业风险评估', value: '低风险', valueColor: '#00B42A', sub: '安全可控', subColor: '#86909C' },
|
||||
].map((item, idx) => (
|
||||
<Col span={12} key={idx}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
|
||||
<div style={{ width: 40, height: 40, background: item.bg, borderRadius: 10, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>{item.icon}</div>
|
||||
<div>
|
||||
<div style={{ fontSize: 11, color: '#86909C' }}>{item.label}</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 800, color: item.valueColor || '#1D2129' }}>{item.value}</div>
|
||||
<div style={{ fontSize: 9, color: item.subColor }}>{item.sub}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c' }}>预计用水量</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold' }}>18 <Text style={{ fontSize: 11 }}>吨</Text></div>
|
||||
<div style={{ fontSize: 9, color: '#52c41a' }}>节水率 30% (机器人)</div>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
|
||||
<div style={{ width: 36, height: 36, borderRadius: 8, background: '#f0f5ff', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Calendar size={18} color="#1890ff" />
|
||||
</div>
|
||||
<div>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c' }}>预计耗时</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold' }}>12 <Text style={{ fontSize: 11 }}>小时</Text></div>
|
||||
<div style={{ fontSize: 9, color: '#8c8c8c' }}>并行作业 2 组</div>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
|
||||
<div style={{ width: 36, height: 36, borderRadius: 8, background: '#f6ffed', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Zap size={18} color="#52c41a" />
|
||||
</div>
|
||||
<div>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c' }}>碳减排量</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold' }}>6.85 <Text style={{ fontSize: 11 }}>吨</Text></div>
|
||||
<div style={{ fontSize: 9, color: '#8c8c8c' }}>CO₂ 减排量</div>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
|
||||
<div style={{ width: 36, height: 36, borderRadius: 8, background: '#fff7e6', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Info size={18} color="#faad14" />
|
||||
</div>
|
||||
<div>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c' }}>作业风险</div>
|
||||
<div style={{ fontSize: 14, fontWeight: 'bold', color: '#52c41a' }}>低风险</div>
|
||||
<div style={{ fontSize: 9, color: '#8c8c8c' }}>安全可控</div>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
</Col>
|
||||
))}
|
||||
</Row>
|
||||
<div style={{ marginTop: 12, display: 'flex', alignItems: 'center', gap: 4 }}>
|
||||
<InfoCircleOutlined style={{ fontSize: 10, color: '#bfbfbf' }} />
|
||||
<Text type="secondary" style={{ fontSize: 9 }}>以上建议基于历史数据、实时气象及发电损失模型综合计算。实际效果可能因天气和现场情况有所差异。</Text>
|
||||
<div style={{ marginTop: 20, padding: 12, background: '#f8fafc', borderRadius: 8, display: 'flex', gap: 8, alignItems: 'flex-start' }}>
|
||||
<InfoCircleOutlined style={{ fontSize: 12, color: '#86909C', marginTop: 2 }} />
|
||||
<Text type="secondary" style={{ fontSize: 10, lineHeight: 1.5 }}>
|
||||
以上决策建议基于历史数据、实时气象及发电损失模型综合计算。实际执行效果可能受天气骤变、现场突发障碍等不确定因素影响。
|
||||
</Text>
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
@@ -585,3 +588,4 @@ export default function CleanOptimizationPage() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user