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: 300px;
            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;
        }

        .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: 1600px) {
            li {
                flex-direction: row;
                align-items: baseline;
            }
            li strong {
                min-width: 140px;
                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;
            }
        }

        @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: Operations & Dispatch -->
        <div class="layer top-layer">
            <!-- 模块1:智能化现场作业 -->
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-clipboard-user"></i>智能化现场作业</h3>
                <ul>
                    <li><strong>智能采集录入:</strong> 支持定制手持终端,规范拍摄指引,自动识别照片/视频内容规范性,AI自动修正,并将关键材料(如病历、授权书)自动转化为结构化数据。</li>
                    <li><strong>智能语音识别:</strong> 借助定制终端,记录线索跟进流程关键沟通情况,可关联绩效。</li>
                    <li><strong>智能视频采集:</strong> 智能眼镜等穿戴设备接入,支持器官获取手术、捐献手术的即时视频采集、加密传输、存储和权限管理。</li>
                    <li><strong>智能合规校验:</strong> AI知识库扩展为合规校验辅助库,针对各类采集的语音、识别、图文,定制合规分析算法,即时反馈合规建议,并辅助SOP调优。</li>
                    <li><strong>手持端定制App:</strong> 协调员专用手持终端软件设计(安卓端、含定制化流程、离线处理、数据预上传)。</li>
                </ul>
            </div>

            <!-- 模块2:智能调度深化 -->
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-headset"></i>智能调度深化</h3>
                <ul>
                    <li><strong>智能人员调度:</strong> 基于协调员技能、实时位置、状态、任务优先级和最短路径,提供智能派单和调度建议。</li>
                    <li><strong>AI数字人:</strong> 数字人形象定制、交互支持:态势说明;知识问答;任务总结等。</li>
                    <li><strong>AI语音督办:</strong> 将智能语音与多媒体通讯融合,支持AI语音电话调度、指挥、督办与收集反馈。</li>
                </ul>
            </div>

            <!-- 模块3:多媒体融合通讯 -->
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-tower-cell"></i>多媒体融合通讯</h3>
                <ul>
                    <li><strong>融合调度:</strong> GIS联动调度、终端状态呈现、强插强拆、群组呼叫、语音广播、多端对讲。</li>
                    <li><strong>多方通信会议:</strong> 一键应急建会、多终端混合会议、会议协同、主席控制、预约会议。</li>
                    <li><strong>通信核心服务:</strong> SIP核心服务、呼叫路由管理、通话详单、手机端通讯对接。</li>
                    <li><strong>终端与网关管理:</strong> 通信终端管理、网关管理、多协议适配。</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: Logistics & Integration -->
        <div class="layer bottom-layer">
            <!-- 模块4:资源与后勤管理 -->
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-boxes-packing"></i>资源与后勤管理</h3>
                <ul>
                    <li><strong>物资管理系统:</strong> 纳入药品(如捐献者用药)、耗材(转运箱)、关键设备(配套硬件)的采购申请、审批、库存及领用流程管理。</li>
                    <li><strong>专题财务分析:</strong> 资产负债、收入费用、业务支出等财务数据的收集、核算、可视化报表分析。</li>
                </ul>
            </div>

            <!-- 模块5:系统集成与升级 -->
            <div class="module-card">
                <h3 class="module-title"><i class="fa-solid fa-network-wired"></i>系统集成与升级</h3>
                <ul>
                    <li><strong>第三方系统集成:</strong> 协同办公系统、融合通讯平台、OPO智慧管理子系统。</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);
        window.addEventListener('load', adjustConnectors);
        document.addEventListener('DOMContentLoaded', adjustConnectors);
    </script>
</body>
</html>
        
编辑器加载中
预览
控制台