<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OPO智慧大屏 - 功能架构</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Rajdhani:wght@500;600;700&display=swap');
:root {
--bg-color: #f8fafc;
--canvas-bg-color: #ffffff;
--card-bg-color: rgba(255, 255, 255, 0.9);
--card-hover-bg: rgba(255, 255, 255, 1);
--text-color: #1e293b;
--text-light-color: #64748b;
--accent-color: #0284c7;
--accent-glow: rgba(2, 132, 199, 0.3);
--border-color: rgba(2, 132, 199, 0.2);
--connector-color: #0ea5e9;
--connector-glow: rgba(14, 165, 233, 0.2);
--grid-bg: radial-gradient(rgba(2, 132, 199, 0.05) 1px, transparent 1px);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
body {
font-family: 'Noto Sans SC', sans-serif;
background-color: var(--bg-color);
background-image: var(--grid-bg);
background-size: 30px 30px;
padding: 20px;
color: var(--text-color);
}
.canvas {
width: 100%;
max-width: 1920px;
margin: 0 auto;
background-color: var(--canvas-bg-color);
padding: 30px;
border-radius: 12px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
border: 1px solid var(--border-color);
position: relative;
overflow: hidden;
}
.canvas::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
rgba(2, 132, 199, 0.03) 0%,
rgba(2, 132, 199, 0) 100%
);
pointer-events: none;
}
.main-header {
text-align: center;
font-size: clamp(24px, 3vw, 44px);
font-weight: 700;
color: var(--text-color);
padding: 20px 0;
margin-bottom: 30px;
border-bottom: 1px solid var(--border-color);
font-family: 'Rajdhani', sans-serif;
position: relative;
}
.main-header::after {
content: '';
position: absolute;
bottom: -1px;
left: 50%;
transform: translateX(-50%);
width: 120px;
height: 3px;
background-color: var(--accent-color);
border-radius: 3px;
}
.layer {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 25px;
margin-bottom: 25px;
position: relative;
}
.top-layer, .bottom-layer {
width: 100%;
}
.module-card {
background-color: var(--card-bg-color);
border-radius: 12px;
padding: 25px;
border: 1px solid var(--border-color);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05),
0 0 0 1px rgba(2, 132, 199, 0.05) inset;
flex: 1;
min-width: 280px;
max-width: calc(100% - 50px);
backdrop-filter: blur(10px);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.module-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--accent-color), #38bdf8);
opacity: 0.9;
}
.module-card:hover {
transform: translateY(-5px);
background-color: var(--card-hover-bg);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1),
0 0 15px var(--accent-glow),
0 0 0 1px rgba(2, 132, 199, 0.1) inset;
}
/* 数据中台内容较多,给予更多宽度权重 */
.bottom-layer .module-card.data-platform {
flex: 1.8;
}
.module-title {
font-size: clamp(18px, 2vw, 24px);
font-weight: 600;
color: var(--text-color);
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 12px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border-color);
font-family: 'Rajdhani', sans-serif;
}
.module-title i {
color: var(--accent-color);
font-size: 1.2em;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(2, 132, 199, 0.1);
border-radius: 6px;
}
ul {
list-style-type: none;
padding: 0;
}
li {
font-size: clamp(14px, 1.2vw, 16px);
margin-bottom: 12px;
line-height: 1.6;
color: var(--text-light-color);
display: flex;
flex-direction: column; /* 改为垂直排列适应较长文本 */
position: relative;
padding-left: 18px;
}
@media (min-width: 1400px) {
li {
flex-direction: row; /* 大屏下恢复水平排列 */
align-items: baseline;
}
li strong {
min-width: 120px;
margin-bottom: 0;
}
}
li::before {
content: '•';
position: absolute;
left: 0;
top: 0; /* 对齐顶部 */
color: var(--accent-color);
font-size: 1.2em;
line-height: 1.6;
}
li strong {
font-weight: 600;
color: var(--text-color);
margin-right: 8px;
margin-bottom: 4px;
flex-shrink: 0;
}
.connector-layer {
height: 100px;
display: flex;
align-items: center;
justify-content: center;
margin: 15px 0;
position: relative;
}
.connector-svg {
width: 100%;
height: 100%;
filter: drop-shadow(0 0 5px var(--connector-glow));
}
.connector-svg line {
stroke-dasharray: 6;
animation: dash 30s linear infinite;
}
@keyframes dash {
to {
stroke-dashoffset: 1000;
}
}
/* 装饰性网格线 */
.decorative-grid {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
background-image:
linear-gradient(to right, rgba(2, 132, 199, 0.05) 1px, transparent 1px),
linear-gradient(to bottom, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
background-size: 50px 50px;
z-index: 0;
}
/* 响应式调整 */
@media (max-width: 1200px) {
.layer {
gap: 20px;
}
.module-card {
padding: 20px;
}
/* 中等屏幕下调整两列布局 */
.bottom-layer .module-card.data-platform {
flex: 100%;
}
}
@media (max-width: 768px) {
.layer {
flex-direction: column;
}
.connector-layer {
height: 80px;
}
.canvas {
padding: 20px;
}
}
@media (max-width: 480px) {
.connector-layer {
height: 60px;
}
.main-header {
padding: 15px 0;
margin-bottom: 20px;
}
.module-card {
padding: 15px;
}
}
</style>
</head>
<body>
<div class="canvas">
<div class="decorative-grid"></div>
<h1 class="main-header">OPO智慧大屏子系统</h1>
<!-- Top Layer: Business Modules -->
<div class="layer top-layer">
<!-- 模块1:态势总览 -->
<div class="module-card">
<h3 class="module-title"><i class="fa-solid fa-map-location-dot"></i>态势总览</h3>
<ul>
<li><strong>态势一张图:</strong> 协调员实时定位及状态、设备点位及状态、任务列表及状态、预警事件及状态、实时路网信息、图层切换(省、市、路网)及叠加展示。</li>
<li><strong>线索管理:</strong> 潜在上报的信息、位置分布、状态。</li>
<li><strong>协调员管理:</strong> 人员信息、工作状态、位置信息、工作效率分析。</li>
<li><strong>案例管理:</strong> 捐赠案例的信息、位置分布、及关键资料维护进度。</li>
<li><strong>捐献过程管理:</strong> 节点状态追踪,流程质控提醒,调度记录。</li>
<li><strong>转运任务管理:</strong> 任务清单、关联案例、任务信息、状态跟踪、结束验证与环节用时分析。</li>
</ul>
</div>
<!-- 模块2:任务指挥 -->
<div class="module-card">
<h3 class="module-title"><i class="fa-solid fa-location-crosshairs"></i>任务指挥</h3>
<ul>
<li><strong>转运任务状态:</strong> 任务生成、路径规划、时间控制、人员配置、状态标识、轨迹回放。</li>
<li><strong>任务流程追踪:</strong> 实时定位、任务节点、时长提醒、二次指派、交接确认。</li>
<li><strong>设备配置:</strong> 设备绑定、设备状态监控、异常预警。</li>
</ul>
</div>
<!-- 模块3:AI辅助决策 -->
<div class="module-card">
<h3 class="module-title"><i class="fa-solid fa-robot"></i>AI辅助决策</h3>
<ul>
<li><strong>AI质控:</strong> 过程质控(节点状态提醒、设备状态预警、运输用时提醒、紧急状态提醒);结果质控(案例全流程文档检查、器官最终状态反馈)。</li>
<li><strong>智能问答:</strong> 自然语言交互与问答,对应本地知识库。</li>
<li><strong>规则管理:</strong> 对接智慧管理子系统获取案例质控;配置运输流程质控。</li>
<li><strong>OPO知识库:</strong> 知识维护、分类管理、智能检索、纳入AI知识库。</li>
</ul>
</div>
</div>
<!-- Connector Layer -->
<div class="connector-layer">
<svg class="connector-svg" viewbox="0 0 1820 100" preserveAspectRatio="none">
<!-- JS将动态生成连接线 -->
</svg>
</div>
<!-- Bottom Layer: Platform & Support -->
<div class="layer bottom-layer">
<!-- 模块4:数据中台 -->
<div class="module-card data-platform">
<h3 class="module-title"><i class="fa-solid fa-database"></i> 数据中台</h3>
<ul>
<li><strong>数据标准模块:</strong> 数据标准概览、数据标准管理、元数据管理、数据模型设计、主数据模型、主数据维护。</li>
<li><strong>数据集成模块:</strong> 多源异构数据接入、实时+批量采集、日志采集、数据预处理与清洗。</li>
<li><strong>数据开发模块:</strong> RESTful API、OpenAPI文档、WebSocket推送、指标建设等。</li>
<li><strong>数据治理模块:</strong> 数据治理概览、使用分析、治理事项、检查事项、数据整体评估等。</li>
<li><strong>安全中心模块:</strong> 安全中心概览、敏感数据设置、加密与脱敏、隐私保护、安全任务、数据控制等。</li>
<li><strong>资源目录模块:</strong> 资源目录编撰、资源目录开放、资源目录审批流程等。</li>
<li><strong>能力开放模块:</strong> SDK、API网关、权限控制、流量控制等。</li>
<li><strong>模型开发模块:</strong> 数据模型的动态分析、场景化定制分析等。</li>
</ul>
</div>
<!-- 模块5:系统支持 -->
<div class="module-card">
<h3 class="module-title"><i class="fa-solid fa-screwdriver-wrench"></i>系统支持</h3>
<ul>
<li><strong>第三方系统集成:</strong> OPO智慧管理子系统、钉钉手机端打卡状态、转运箱状态监测系统。</li>
<li><strong>统一用户与权限管理:</strong> 集中管理平台所有角色的账号、组织架构和权限分配。</li>
<li><strong>基础数据与字典配置:</strong> 管理系统中的各类基础数据,主要包括人员、机构、设备。</li>
<li><strong>系统监控与日志审计:</strong> 查看系统运行状态、操作日志等。</li>
</ul>
</div>
</div>
</div>
<script>
// 动态调整连接线位置
function adjustConnectors() {
const topCards = document.querySelectorAll('.top-layer .module-card');
const bottomCards = document.querySelectorAll('.bottom-layer .module-card');
const svg = document.querySelector('.connector-svg');
const connectorLayer = document.querySelector('.connector-layer');
const canvas = document.querySelector('.canvas');
if (!svg || !connectorLayer || !canvas || topCards.length === 0 || bottomCards.length === 0) return;
// 获取相对坐标的辅助函数
function getRelativeX(element) {
const rect = element.getBoundingClientRect();
const canvasRect = canvas.getBoundingClientRect();
return rect.left + rect.width / 2 - canvasRect.left;
}
const svgHeight = connectorLayer.clientHeight;
// 计算顶部卡片连接点
const topPoints = Array.from(topCards).map(card => ({
x: getRelativeX(card),
y: 0
}));
// 计算底部卡片连接点
const bottomPoints = Array.from(bottomCards).map(card => ({
x: getRelativeX(card),
y: svgHeight
}));
// 生成新的连接线
let paths = '';
// 1. 绘制顶部垂直线和连接点
topPoints.forEach(point => {
paths += `<line x1="${point.x}" y1="0" x2="${point.x}" y2="${svgHeight/2}"
stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>`;
paths += `<circle cx="${point.x}" cy="0" r="5" fill="var(--connector-color)"/>`;
paths += `<polygon points="${point.x-5},${svgHeight/2-15} ${point.x},${svgHeight/2} ${point.x+5},${svgHeight/2-15}"
fill="var(--connector-color)"/>`;
});
// 2. 绘制水平主线 (连接最左和最右的垂直线)
const allPointsX = [...topPoints.map(p => p.x), ...bottomPoints.map(p => p.x)];
const minX = Math.min(...allPointsX);
const maxX = Math.max(...allPointsX);
if (allPointsX.length >= 2) {
paths += `<line x1="${minX}" y1="${svgHeight/2}" x2="${maxX}" y2="${svgHeight/2}"
stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>`;
}
// 3. 绘制底部垂直线和连接点
bottomPoints.forEach(point => {
paths += `<line x1="${point.x}" y1="${svgHeight/2}" x2="${point.x}" y2="${svgHeight}"
stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>`;
paths += `<circle cx="${point.x}" cy="${svgHeight}" r="5" fill="var(--connector-color)"/>`;
paths += `<polygon points="${point.x-5},${svgHeight/2+15} ${point.x},${svgHeight/2} ${point.x+5},${svgHeight/2+15}"
fill="var(--connector-color)"/>`;
});
// 更新SVG内容
svg.innerHTML = paths;
}
// 卡片悬停时的连接线动画效果
document.querySelectorAll('.module-card').forEach(card => {
card.addEventListener('mouseenter', () => {
const svgLines = document.querySelectorAll('.connector-svg line');
svgLines.forEach(line => {
line.style.animation = 'dash 10s linear infinite';
line.style.strokeWidth = '3';
line.style.filter = 'drop-shadow(0 0 8px var(--accent-color))';
line.style.transition = 'all 0.3s ease';
});
});
card.addEventListener('mouseleave', () => {
const svgLines = document.querySelectorAll('.connector-svg line');
svgLines.forEach(line => {
line.style.animation = 'dash 30s linear infinite';
line.style.strokeWidth = '2.5';
line.style.filter = 'none';
});
});
});
// 监听调整事件
window.addEventListener('resize', adjustConnectors);
// 确保DOM加载和布局完成后执行
window.addEventListener('load', adjustConnectors);
document.addEventListener('DOMContentLoaded', adjustConnectors);
</script>
</body>
</html>
index.html
style.css
index.js
index.html