OPO大屏功能清单edit icon

作者:
Fadinghaze
Fork(复制)
下载
嵌入
BUG反馈
index.html
style.css
index.js
现在支持上传本地图片了!
index.html
            
            <!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.7;
            color: var(--text-light-color);
            display: flex;
            flex-wrap: wrap;
            position: relative;
            padding-left: 18px;
        }

        li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-size: 1.2em;
        }

        li strong {
            font-weight: 500;
            color: var(--text-color);
            margin-right: 8px;
            min-width: 100px;
        }

        .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;
            }
        }

        @media (max-width: 768px) {
            .layer {
                flex-direction: column;
            }

            .bottom-layer .module-card.data-platform {
                flex: 1;
            }

            .connector-layer {
                height: 80px;
            }

            .canvas {
                padding: 20px;
            }

            li {
                flex-direction: column;
                padding-left: 12px;
            }

            li strong {
                margin-bottom: 5px;
                min-width: auto;
            }
        }

        @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: Application & Interaction -->
        <div class="layer top-layer">
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-bullseye"></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>
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-robot"></i>AI辅助系统</h3>
                <ul>
                    <li><strong>AI质控:</strong> SOP流程提醒、关键文书校验、合规风险关键词识别。</li>
                    <li><strong>AI调度:</strong> 任务最优人员匹配、事件预案(SOP)匹配。</li>                  
                    <li><strong>流程与规则:</strong> 工作流程管理 (节点/耗时/检查项),质控与合规风险识别。</li>
                    <li><strong>知识后台:</strong> 预案库(及关联)、规则制度库(及关联)、关键文档模版库。</li>
                    <li><strong>AI数字人调度:</strong> 形象定制、交互支持(态势说明/知识问答/任务总结)。</li>
                </ul>
            </div>
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-headset"></i>多媒体通讯与调度</h3>
                <ul>
                    <li><strong>融合调度:</strong> GIS联动、终端状态呈现、强弱指标、群组呼叫、语音广播、多端对讲。</li>
                    <li><strong>多方通信会议:</strong> 一键建会、多终端混合会议、会议协同、主席控制、预约会议。</li>
                    <li><strong>通信核心服务:</strong> SIP接入、呼叫路由、通话清单、手机通讯对接。</li>
                    <li><strong>终端与网关:</strong> 终端资源管理、网关管理、多协议适配。</li>
                    <li><strong>第三方集成:</strong> COTRS系统、已有手机端(上报/推送)、任务获取来源系统。</li>
                </ul>
            </div>
        </div>

        <!-- Connector Layer -->
        <div class="connector-layer">
            <svg class="connector-svg" viewbox="0 0 1820 100" preserveAspectRatio="none">
                <!-- 顶部连接点 -->
                <line x1="295" y1="0" x2="295" y2="40" stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>
                <circle cx="295" cy="0" r="5" fill="var(--connector-color)"/>
                <polygon points="290,35 295,50 300,35" fill="var(--connector-color)"/>

                <line x1="910" y1="0" x2="910" y2="40" stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>
                <circle cx="910" cy="0" r="5" fill="var(--connector-color)"/>
                <polygon points="905,35 910,50 915,35" fill="var(--connector-color)"/>
                
                <line x1="1525" y1="0" x2="1525" y2="40" stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>
                <circle cx="1525" cy="0" r="5" fill="var(--connector-color)"/>
                <polygon points="1520,35 1525,50 1530,35" fill="var(--connector-color)"/>
                
                <!-- 水平连接线 -->
                <line x1="295" y1="40" x2="1525" y2="40" stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>

                <!-- 底部连接点 -->
                <line x1="680" y1="40" x2="680" y2="80" stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>
                <circle cx="680" cy="80" r="5" fill="var(--connector-color)"/>
                <polygon points="675,75 680,90 685,75" fill="var(--connector-color)"/>
                
                <line x1="1350" y1="40" x2="1350" y2="80" stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>
                <circle cx="1350" cy="80" r="5" fill="var(--connector-color)"/>
                <polygon points="1345,75 1350,90 1355,75" fill="var(--connector-color)"/>
            </svg>
        </div>

        <!-- Bottom Layer: Platform & Support -->
        <div class="layer bottom-layer">
            <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>
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-cogs"></i>系统支持</h3>
                <ul>
                    <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');
            
            if (!svg || !connectorLayer || topCards.length === 0 || bottomCards.length === 0) return;
            
            const svgWidth = svg.clientWidth;
            const svgHeight = svg.clientHeight;
            const layerRect = connectorLayer.getBoundingClientRect();
            const canvasRect = document.querySelector('.canvas').getBoundingClientRect();
            
            // 计算顶部卡片连接点
            const topPoints = Array.from(topCards).map(card => {
                const rect = card.getBoundingClientRect();
                const x = rect.left + rect.width / 2 - canvasRect.left;
                return { x, y: 0 }; // y=0 是SVG顶部
            });
            
            // 计算底部卡片连接点
            const bottomPoints = Array.from(bottomCards).map(card => {
                const rect = card.getBoundingClientRect();
                const x = rect.left + rect.width / 2 - canvasRect.left;
                return { x, y: svgHeight }; // y=svgHeight 是SVG底部
            });
            
            // 生成新的连接线
            let paths = '';
            
            // 顶部连接线
            topPoints.forEach((point, index) => {
                // 垂直线
                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)"/>`;
            });
            
            // 水平主线
            if (topPoints.length >= 2) {
                const minX = Math.min(...topPoints.map(p => p.x));
                const maxX = Math.max(...topPoints.map(p => p.x));
                paths += `<line x1="${minX}" y1="${svgHeight/2}" x2="${maxX}" y2="${svgHeight/2}" 
                            stroke="var(--connector-color)" stroke-width="2.5" stroke-linecap="round"/>`;
            }
            
            // 底部连接线
            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))';
                });
            });
            
            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);
        document.addEventListener('DOMContentLoaded', adjustConnectors);
    </script>
</body>
</html>
        
编辑器加载中
预览
控制台