AI诊断中心
This commit is contained in:
@@ -50,68 +50,68 @@ export default function VideoMonitorPage() {
|
||||
return (
|
||||
<div className="p-6 bg-[#f5f7fa] min-h-screen">
|
||||
{/* ========== 顶部统计卡片:统一高度 ========== */}
|
||||
<Row gutter={[16, 16]} className="mb-6">
|
||||
<Col xs={24} sm={12} md={8} lg={4}>
|
||||
<Card className="h-full">
|
||||
<div className="flex justify-between items-center">
|
||||
<Row gutter={[16, 16]} style={{ marginBottom: 16, display: 'flex', alignItems: 'stretch' }}>
|
||||
<Col style={{ flex: 1 }}>
|
||||
<Card bordered={false} style={{ borderRadius: 8, height: '100%' }} bodyStyle={{ padding: '16px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div className="text-2xl font-bold">32 台</div>
|
||||
<div className="text-gray-600 mt-1">在线摄像头</div>
|
||||
<div className="text-xs text-gray-500 mt-1">在线率 <span className="text-green-500">↑ 4.1%</span></div>
|
||||
<div style={{ fontSize: 24, fontWeight: 700 }}>32 台</div>
|
||||
<div style={{ color: '#0837A8', fontSize: 14, marginTop: 4 }}>在线摄像头</div>
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>在线率 <span style={{ color: '#52c41a' }}>↑ 4.1%</span></div>
|
||||
</div>
|
||||
<VideoCameraOutlined className="text-3xl text-blue-500" />
|
||||
<VideoCameraOutlined style={{ fontSize: 28, color: '#1890ff' }} />
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
<Col xs={24} sm={12} md={8} lg={4}>
|
||||
<Card className="h-full">
|
||||
<div className="flex justify-between items-center">
|
||||
<Col style={{ flex: 1 }}>
|
||||
<Card bordered={false} style={{ borderRadius: 8, height: '100%' }} bodyStyle={{ padding: '16px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div className="text-2xl font-bold">2 台</div>
|
||||
<div className="text-gray-600 mt-1">离线摄像头</div>
|
||||
<div className="text-xs text-gray-500 mt-1">离线率 <span className="text-red-500">↑ 5.9%</span></div>
|
||||
<div style={{ fontSize: 24, fontWeight: 700 }}>2 台</div>
|
||||
<div style={{ color: '#0837A8', fontSize: 14, marginTop: 4 }}>离线摄像头</div>
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>离线率 <span style={{ color: '#ff4d4f' }}>↑ 5.9%</span></div>
|
||||
</div>
|
||||
<VideoCameraOutlined className="text-3xl text-gray-400" />
|
||||
<VideoCameraOutlined style={{ fontSize: 28, color: '#999' }} />
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
<Col xs={24} sm={12} md={8} lg={4}>
|
||||
<Card className="h-full">
|
||||
<div className="flex justify-between items-center">
|
||||
<Col style={{ flex: 1 }}>
|
||||
<Card bordered={false} style={{ borderRadius: 8, height: '100%' }} bodyStyle={{ padding: '16px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div className="text-2xl font-bold">6 起</div>
|
||||
<div className="text-gray-600 mt-1">今日告警事件</div>
|
||||
<div className="text-xs text-gray-500 mt-1">较昨日 <span className="text-red-500">↑ 50%</span></div>
|
||||
<div style={{ fontSize: 24, fontWeight: 700 }}>6 起</div>
|
||||
<div style={{ color: '#0837A8', fontSize: 14, marginTop: 4 }}>今日告警事件</div>
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>较昨日 <span style={{ color: '#ff4d4f' }}>↑ 50%</span></div>
|
||||
</div>
|
||||
<BellOutlined className="text-3xl text-orange-500" />
|
||||
<BellOutlined style={{ fontSize: 28, color: '#faad14' }} />
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
<Col xs={24} sm={12} md={8} lg={4}>
|
||||
<Card className="h-full">
|
||||
<div className="flex justify-between items-center">
|
||||
<Col style={{ flex: 1 }}>
|
||||
<Card bordered={false} style={{ borderRadius: 8, height: '100%' }} bodyStyle={{ padding: '16px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div className="text-2xl font-bold">2 起</div>
|
||||
<div className="text-gray-600 mt-1">周界告警</div>
|
||||
<div className="text-xs text-gray-500 mt-1">较昨日 <span className="text-red-500">↑ 100%</span></div>
|
||||
<div style={{ fontSize: 24, fontWeight: 700 }}>2 起</div>
|
||||
<div style={{ color: '#0837A8', fontSize: 14, marginTop: 4 }}>周界告警</div>
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>较昨日 <span style={{ color: '#ff4d4f' }}>↑ 100%</span></div>
|
||||
</div>
|
||||
<BorderOutlined className="text-3xl text-red-500" />
|
||||
<BorderOutlined style={{ fontSize: 28, color: '#ff4d4f' }} />
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
<Col xs={24} sm={12} md={8} lg={4}>
|
||||
<Card className="h-full">
|
||||
<div className="flex justify-between items-center">
|
||||
<Col style={{ flex: 1 }}>
|
||||
<Card bordered={false} style={{ borderRadius: 8, height: '100%' }} bodyStyle={{ padding: '16px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div className="text-2xl font-bold">78.6TB</div>
|
||||
<div className="text-gray-600 mt-1">存储使用率</div>
|
||||
<div className="text-xs text-gray-500 mt-1">使用率 <span className="text-green-500">65.5%</span></div>
|
||||
<div style={{ fontSize: 24, fontWeight: 700 }}>78.6TB</div>
|
||||
<div style={{ color: '#0837A8', fontSize: 14, marginTop: 4 }}>存储使用率</div>
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>使用率 <span style={{ color: '#52c41a' }}>65.5%</span></div>
|
||||
</div>
|
||||
<DatabaseOutlined className="text-3xl text-blue-500" />
|
||||
<DatabaseOutlined style={{ fontSize: 28, color: '#1890ff' }} />
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
Reference in New Issue
Block a user