告警中心接入 地图iframe接入 机器视频 控制接入
This commit is contained in:
@@ -530,8 +530,21 @@ export default function StationDashboard() {
|
||||
</div>
|
||||
|
||||
|
||||
<div style={{ height: 360, background: '#111827', borderRadius: 8, width: '100%' }} />
|
||||
</Card>
|
||||
<div style={{ height: 360, background: '#111827', borderRadius: 8, width: '100%', overflow: 'hidden', position: "relative" }}>
|
||||
<iframe
|
||||
src="https://pvs.satabot.com/?platform=web"
|
||||
style={{
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
border: 'none',
|
||||
borderRadius: '8px',
|
||||
position: "absolute",
|
||||
}}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
title="外部系统"
|
||||
/>
|
||||
</div> </Card>
|
||||
|
||||
|
||||
</Col>
|
||||
|
||||
@@ -170,11 +170,20 @@ const RealTimeMonitorPage = () => {
|
||||
style={{ marginBottom: 16, borderRadius: 8 }}
|
||||
extra={<Text type="secondary">真实正射底图 · 设备状态联动</Text>}
|
||||
>
|
||||
<div style={{ position: 'relative', height: 400, background: '#e6f7ff', borderRadius: 8 }}>
|
||||
<div style={{ position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%,-50%)', textAlign: 'center' }}>
|
||||
<CloudOutlined style={{ fontSize: 48, color: '#1890ff' }} />
|
||||
<p>电站拓扑底图</p>
|
||||
</div>
|
||||
<div style={{ height: 360, background: '#111827', borderRadius: 8, width: '100%', overflow: 'hidden', position: "relative" }}>
|
||||
<iframe
|
||||
src="https://pvs.satabot.com/?platform=web"
|
||||
style={{
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
border: 'none',
|
||||
borderRadius: '8px',
|
||||
position: "absolute",
|
||||
}}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
title="外部系统"
|
||||
/>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user