Spaces:
Running
Running
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>技术文档中心 | 专业产品技术资料</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.12.313/pdf.min.js"></script> | |
| <style> | |
| .pdf-container { | |
| width: 100%; | |
| height: 600px; | |
| overflow: auto; | |
| border: 1px solid #e5e7eb; | |
| border-radius: 0.5rem; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| } | |
| .sidebar-link:hover { | |
| background-color: rgba(59, 130, 246, 0.1); | |
| } | |
| .active-tab { | |
| border-bottom: 3px solid #3b82f6; | |
| color: #3b82f6; | |
| font-weight: 600; | |
| } | |
| .video-container { | |
| position: relative; | |
| padding-bottom: 56.25%; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| .video-container iframe { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .document-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .search-input:focus { | |
| outline: none; | |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| transition: transform 0.3s ease; | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| .overlay { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| z-index: 10; | |
| } | |
| .overlay.open { | |
| display: block; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- 导航栏 --> | |
| <nav class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <button id="mobile-menu-button" class="md:hidden text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i class="fas fa-cogs text-blue-500 text-2xl mr-2"></i> | |
| <span class="text-xl font-semibold text-gray-800">技术文档中心</span> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:space-x-8"> | |
| <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium active-tab"> | |
| 首页 | |
| </a> | |
| <div class="relative group"> | |
| <button class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| 产品分类 | |
| <i class="fas fa-chevron-down ml-1 text-xs"></i> | |
| </button> | |
| <div class="absolute left-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 invisible group-hover:visible"> | |
| <div class="py-1"> | |
| <div class="px-4 py-2 text-sm text-gray-700 font-medium border-b">产品系列</div> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-blue-50">安全产品</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-blue-50">GLS系列</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-blue-50">GLR系列</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-blue-50">工业控制器</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-blue-50">传感器</a> | |
| </div> | |
| </div> | |
| </div> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| 支持 | |
| </a> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| 联系我们 | |
| </a> | |
| </div> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:items-center"> | |
| <div class="relative mx-4"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </div> | |
| <input id="search-input" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="搜索文档..." type="search"> | |
| </div> | |
| <button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-150 ease-in-out"> | |
| 登录 | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- 移动端搜索栏 --> | |
| <div class="md:hidden bg-white py-2 px-4"> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </div> | |
| <input class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-500 focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="搜索文档..." type="search"> | |
| </div> | |
| </div> | |
| <!-- 移动端遮罩层 --> | |
| <div id="overlay" class="overlay"></div> | |
| <!-- 主要内容区 --> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 flex flex-col md:flex-row"> | |
| <!-- 侧边栏 - 移动端 --> | |
| <div id="sidebar" class="sidebar fixed md:relative inset-y-0 left-0 z-20 w-64 bg-white shadow-md md:shadow-none md:transform-none overflow-y-auto md:block md:w-1/4 lg:w-1/5 md:pr-4"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">产品分类</h3> | |
| <ul class="space-y-2"> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-900 rounded-md bg-blue-50"> | |
| <i class="fas fa-shield-alt mr-3 text-blue-500"></i> | |
| 安全产品 | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-bolt mr-3 text-blue-400"></i> | |
| GLS系列 | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-plug mr-3 text-blue-400"></i> | |
| GLR系列 | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-microchip mr-3 text-blue-400"></i> | |
| 工业控制器 | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-rss mr-3 text-blue-400"></i> | |
| 传感器 | |
| </a> | |
| </li> | |
| </ul> | |
| <h3 class="text-lg font-medium text-gray-900 mt-8 mb-4">文档类型</h3> | |
| <ul class="space-y-2"> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-book mr-3 text-blue-400"></i> | |
| 说明书 | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-file-alt mr-3 text-blue-400"></i> | |
| 技术资料 | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center px-3 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-video mr-3 text-blue-400"></i> | |
| 视频教程 | |
| </a> | |
| </li> | |
| </ul> | |
| <h3 class="text-lg font-medium text-gray-900 mt-8 mb-4">热门标签</h3> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded-full">安装指南</span> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded-full">故障排除</span> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded-full">安全规范</span> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded-full">维护保养</span> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded-full">操作手册</span> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded-full">技术白皮书</span> | |
| </div> | |
| <div class="mt-8 p-4 bg-blue-50 rounded-lg"> | |
| <h4 class="font-medium text-blue-800 mb-2">需要帮助?</h4> | |
| <p class="text-sm text-blue-700 mb-3">我们的技术支持团队随时为您服务。</p> | |
| <button class="w-full bg-blue-500 hover:bg-blue-600 text-white px-3 py-2 rounded-md text-sm font-medium transition duration-150 ease-in-out"> | |
| 联系支持 | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 主内容区 --> | |
| <div class="flex-1 mt-4 md:mt-0"> | |
| <!-- 面包屑导航 --> | |
| <nav class="flex mb-6" aria-label="Breadcrumb"> | |
| <ol class="inline-flex items-center space-x-1 md:space-x-3"> | |
| <li class="inline-flex items-center"> | |
| <a href="#" class="inline-flex items-center text-sm font-medium text-gray-700 hover:text-blue-600"> | |
| <i class="fas fa-home mr-2"></i> | |
| 首页 | |
| </a> | |
| </li> | |
| <li> | |
| <div class="flex items-center"> | |
| <i class="fas fa-chevron-right text-gray-400"></i> | |
| <a href="#" class="ml-1 text-sm font-medium text-gray-700 hover:text-blue-600 md:ml-2">技术文档</a> | |
| </div> | |
| </li> | |
| <li aria-current="page"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-chevron-right text-gray-400"></i> | |
| <span class="ml-1 text-sm font-medium text-gray-500 md:ml-2">说明书</span> | |
| </div> | |
| </li> | |
| </ol> | |
| </nav> | |
| <!-- 文档标题和描述 --> | |
| <div class="bg-white shadow-sm rounded-lg p-6 mb-6"> | |
| <div class="flex items-start"> | |
| <div class="flex-1"> | |
| <h1 class="text-2xl font-bold text-gray-900 mb-2">XC-5000 工业控制器说明书</h1> | |
| <div class="text-sm text-gray-500 mb-2">产品系列: <span class="text-blue-600 font-medium">XC系列工业控制器</span></div> | |
| <p class="text-gray-600 mb-4">最新版本: v3.2.1 | 更新日期: 2023-06-15 | 文档编号: DOC-XC5000-2023</p> | |
| </div> | |
| <div class="bg-blue-50 border border-blue-100 rounded-lg p-3 min-w-[200px]"> | |
| <p class="text-sm font-medium text-blue-800 mb-1">相关产品系列</p> | |
| <ul class="text-xs space-y-1"> | |
| <li><a href="#" class="text-blue-600 hover:underline">XC-3000系列</a></li> | |
| <li><a href="#" class="text-blue-600 hover:underline">XC-4000系列</a></li> | |
| <li><a href="#" class="text-blue-600 hover:underline">XC-5000系列</a></li> | |
| <li><a href="#" class="text-blue-600 hover:underline">XC-6000系列</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-3 py-1 bg-blue-100 text-blue-800 text-xs font-medium rounded-full">安装指南</span> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs font-medium rounded-full">操作手册</span> | |
| <span class="px-3 py-1 bg-purple-100 text-purple-800 text-xs font-medium rounded-full">安全规范</span> | |
| </div> | |
| <p class="text-gray-700">本说明书详细介绍了XC-5000工业控制器的安装、配置、操作和维护方法。适用于技术人员、工程师和系统管理员使用。</p> | |
| </div> | |
| <!-- 文档内容选项卡 --> | |
| <div class="mb-6 border-b border-gray-200"> | |
| <ul class="flex flex-wrap -mb-px text-sm font-medium text-center" id="document-tabs" role="tablist"> | |
| <li class="mr-2" role="presentation"> | |
| <button class="inline-block p-4 border-b-2 rounded-t-lg active-tab" id="overview-tab" data-tabs-target="#overview" type="button" role="tab" aria-controls="overview" aria-selected="true">概述</button> | |
| </li> | |
| <li class="mr-2" role="presentation"> | |
| <button class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300" id="specs-tab" data-tabs-target="#specs" type="button" role="tab" aria-controls="specs" aria-selected="false">技术参数</button> | |
| </li> | |
| <li class="mr-2" role="presentation"> | |
| <button class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300" id="installation-tab" data-tabs-target="#installation" type="button" role="tab" aria-controls="installation" aria-selected="false">安装指南</button> | |
| </li> | |
| <li class="mr-2" role="presentation"> | |
| <button class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300" id="operation-tab" data-tabs-target="#operation" type="button" role="tab" aria-controls="operation" aria-selected="false">操作说明</button> | |
| </li> | |
| </ul> | |
| </div> | |
| <!-- 选项卡内容 --> | |
| <div id="document-tab-content"> | |
| <!-- 概述 --> | |
| <div class="hidden p-4 bg-white rounded-lg shadow-sm" id="overview" role="tabpanel" aria-labelledby="overview-tab"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">产品概述</h2> | |
| <div class="grid md:grid-cols-2 gap-6 mb-6"> | |
| <div> | |
| <img src="https://via.placeholder.com/600x400?text=XC-5000+Product+Image" alt="XC-5000工业控制器" class="w-full h-auto rounded-lg shadow"> | |
| </div> | |
| <div> | |
| <p class="text-gray-700 mb-4">XC-5000工业控制器是一款高性能、高可靠性的自动化控制设备,专为工业环境设计,具有强大的处理能力和丰富的接口选项。</p> | |
| <ul class="space-y-2 text-gray-700"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span>采用32位多核处理器,处理速度高达1.2GHz</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span>支持多种工业通信协议:Modbus, Profibus, Ethernet/IP</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span>宽温工作范围:-40°C 至 +70°C</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span>IP67防护等级,抗冲击、抗振动设计</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span>内置Web服务器,支持远程监控和配置</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-3">应用领域</h3> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-6"> | |
| <div class="bg-gray-50 p-4 rounded-lg text-center"> | |
| <i class="fas fa-industry text-3xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">工业自动化</h4> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg text-center"> | |
| <i class="fas fa-robot text-3xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">机器人控制</h4> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg text-center"> | |
| <i class="fas fa-tools text-3xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">机械设备</h4> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg text-center"> | |
| <i class="fas fa-bolt text-3xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">能源管理</h4> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-3">相关视频</h3> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div class="video-container"> | |
| <iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| </div> | |
| <div class="video-container"> | |
| <iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 技术参数 --> | |
| <div class="hidden p-4 bg-white rounded-lg shadow-sm" id="specs" role="tabpanel" aria-labelledby="specs-tab"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">技术参数</h2> | |
| <div class="overflow-x-auto mb-6"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">项目</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">规格</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">备注</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">处理器</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">32位多核 ARM Cortex-A9</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1.2GHz主频</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">内存</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2GB DDR3</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">可扩展至4GB</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">存储</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">8GB eMMC闪存</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">支持MicroSD扩展</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">通信接口</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2x Ethernet, 4x USB, 2x RS485, 1x RS232</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">支持工业协议</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">工作温度</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">-40°C 至 +70°C</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">工业级</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">防护等级</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">IP67</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">防尘防水</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">电源输入</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">24VDC ±10%</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">冗余电源可选</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">功耗</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">≤15W</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">典型值</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-3">认证证书</h3> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <div class="border border-gray-200 rounded-lg p-4 text-center hover:shadow-md transition duration-150"> | |
| <i class="fas fa-certificate text-4xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">CE认证</h4> | |
| <p class="text-sm text-gray-500">2023-2026</p> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 text-center hover:shadow-md transition duration-150"> | |
| <i class="fas fa-certificate text-4xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">UL认证</h4> | |
| <p class="text-sm text-gray-500">2023-2026</p> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 text-center hover:shadow-md transition duration-150"> | |
| <i class="fas fa-certificate text-4xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">RoHS</h4> | |
| <p class="text-sm text-gray-500">符合标准</p> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 text-center hover:shadow-md transition duration-150"> | |
| <i class="fas fa-certificate text-4xl text-blue-500 mb-2"></i> | |
| <h4 class="font-medium">ISO 9001</h4> | |
| <p class="text-sm text-gray-500">质量管理体系</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 安装指南 --> | |
| <div class="hidden p-4 bg-white rounded-lg shadow-sm" id="installation" role="tabpanel" aria-labelledby="installation-tab"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">安装指南</h2> | |
| <div class="bg-blue-50 border-l-4 border-blue-500 p-4 mb-6"> | |
| <div class="flex"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-exclamation-triangle text-blue-500"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h3 class="text-sm font-medium text-blue-800">安全警告</h3> | |
| <div class="mt-2 text-sm text-blue-700"> | |
| <p>在安装前,请确保已断开所有电源连接。安装必须由合格的技术人员按照本手册的说明进行。</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <h3 class="text-lg font-medium text-gray-800 mb-3">安装步骤</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center text-white font-bold mr-3">1</div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">选择安装位置</h4> | |
| <p class="text-gray-600 mt-1">选择通风良好、干燥、无腐蚀性气体的位置。确保安装表面平整坚固,能够承受设备重量。</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center text-white font-bold mr-3">2</div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">固定设备</h4> | |
| <p class="text-gray-600 mt-1">使用随附的安装支架和M6螺丝将设备固定在选定的位置。确保所有螺丝紧固到位。</p> | |
| <img src="https://via.placeholder.com/600x200?text=Installation+Diagram" alt="安装示意图" class="mt-2 rounded-lg w-full max-w-md"> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center text-white font-bold mr-3">3</div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">连接电源</h4> | |
| <p class="text-gray-600 mt-1">将24VDC电源连接到设备背面的电源端子。注意极性正确,红色为正极,黑色为负极。</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center text-white font-bold mr-3">4</div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">连接外围设备</h4> | |
| <p class="text-gray-600 mt-1">根据需要连接传感器、执行器、通信线缆等外围设备。确保所有连接牢固可靠。</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center text-white font-bold mr-3">5</div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">通电测试</h4> | |
| <p class="text-gray-600 mt-1">接通电源,观察设备指示灯状态。正常情况下,电源指示灯应为绿色常亮,状态指示灯应为蓝色闪烁。</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-800 mb-3">安装示意图</h3> | |
| <img src="https://via.placeholder.com/800x400?text=Installation+Diagram" alt="安装示意图" class="w-full rounded-lg shadow mb-6"> | |
| <h3 class="text-lg font-medium text-gray-800 mb-3">常见安装问题</h3> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4"> | |
| <button class="flex items-start justify-between w-full text-left"> | |
| <span class="font-medium text-gray-900">电源指示灯不亮</span> | |
| <i class="fas fa-chevron-down text-gray-500 ml-2"></i> | |
| </button> | |
| <div class="mt-2 text-sm text-gray-600 hidden"> | |
| <p>检查电源连接是否正确,确认电源电压为24VDC±10%。如果问题仍然存在,请联系技术支持。</p> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <button class="flex items-start justify-between w-full text-left"> | |
| <span class="font-medium text-gray-900">设备无法通信</span> | |
| <i class="fas fa-chevron-down text-gray-500 ml-2"></i> | |
| </button> | |
| <div class="mt-2 text-sm text-gray-600 hidden"> | |
| <p>检查通信线缆连接是否正确,确认通信参数(波特率、地址等)设置匹配。重启设备后重试。</p> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <button class="flex items-start justify-between w-full text-left"> | |
| <span class="font-medium text-gray-900">设备过热</span> | |
| <i class="fas fa-chevron-down text-gray-500 ml-2"></i> | |
| </button> | |
| <div class="mt-2 text-sm text-gray-600 hidden"> | |
| <p>确保设备安装在通风良好的位置,周围留有至少10cm的空间。检查环境温度是否在规格范围内。</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 操作说明 --> | |
| <div class="hidden p-4 bg-white rounded-lg shadow-sm" id="operation" role="tabpanel" aria-labelledby="operation-tab"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">操作说明</h2> | |
| <div class="grid md:grid-cols-2 gap-6 mb-6"> | |
| <div> | |
| <h3 class="text-lg font-medium text-gray-800 mb-3">前面板说明</h3> | |
| <img src="https://via.placeholder.com/400x300?text=Front+Panel" alt="前面板" class="w-full rounded-lg shadow mb-4"> | |
| <ol class="list-decimal list-inside space-y-2 text-gray-700"> | |
| <li>电源指示灯 - 显示设备电源状态</li> | |
| <li>状态指示灯 - 显示设备运行状态</li> | |
| <li>通信指示灯 - 显示通信活动状态</li> | |
| <li>复位按钮 - 用于重启设备</li> | |
| <li>USB接口 - 用于连接配置工具</li> | |
| </ol> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-medium text-gray-800 mb-3">基本操作流程</h3> | |
| <div class="bg-gray-50 p-4 rounded-lg"> | |
| <div class="flex items-start mb-3"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-6 h-6 flex items-center justify-center text-white font-bold text-xs mr-2">1</div> | |
| <p class="text-gray-700">接通设备电源</p> | |
| </div> | |
| <div class="flex items-start mb-3"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-6 h-6 flex items-center justify-center text-white font-bold text-xs mr-2">2</div> | |
| <p class="text-gray-700">等待设备启动完成(约30秒)</p> | |
| </div> | |
| <div class="flex items-start mb-3"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-6 h-6 flex items-center justify-center text-white font-bold text-xs mr-2">3</div> | |
| <p class="text-gray-700">通过Web界面或配置工具连接设备</p> | |
| </div> | |
| <div class="flex items-start mb-3"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-6 h-6 flex items-center justify-center text-white font-bold text-xs mr-2">4</div> | |
| <p class="text-gray-700">配置设备参数和通信设置</p> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-full w-6 h-6 flex items-center justify-center text-white font-bold text-xs mr-2">5</div> | |
| <p class="text-gray-700">保存配置并启动应用程序</p> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-800 mt-6 mb-3">指示灯状态说明</h3> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">指示灯</th> | |
| <th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">状态</th> | |
| <th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">含义</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm font-medium text-gray-900">电源</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">绿色常亮</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">电源正常</td> | |
| </tr> | |
| <tr> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm font-medium text-gray-900">状态</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">蓝色闪烁</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">运行中</td> | |
| </tr> | |
| <tr> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm font-medium text-gray-900">通信</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">黄色闪烁</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">数据传输中</td> | |
| </tr> | |
| <tr> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm font-medium text-gray-900">电源</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">熄灭</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">无电源</td> | |
| </tr> | |
| <tr> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm font-medium text-gray-900">状态</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">红色常亮</td> | |
| <td class="px-3 py-2 whitespace-nowrap text-sm text-gray-500">故障状态</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-800 mb-3">Web配置界面</h3> | |
| <div class="bg-gray-800 rounded-lg p-4 mb-6"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div> | |
| <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div> | |
| <div class="w-3 h-3 rounded-full bg-green-500"></div> | |
| </div> | |
| <div class="bg-white rounded-b-lg overflow-hidden"> | |
| <div class="border-b border-gray-200 p-3 flex items-center"> | |
| <div class="flex space-x-2 mr-4"> | |
| <span class="w-6 h-1 bg-gray-300 rounded"></span> | |
| <span class="w-6 h-1 bg-gray-300 rounded"></span> | |
| <span class="w-6 h-1 bg-gray-300 rounded"></span> | |
| </div> | |
| <div class="bg-gray-100 rounded-full px-3 py-1 text-sm flex-1 max-w-md"> | |
| <span class="text-gray-500">http://192.168.1.100</span> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <div class="flex mb-6"> | |
| <div class="w-1/4 pr-4"> | |
| <div class="space-y-2"> | |
| <div class="p-2 bg-blue-50 text-blue-700 rounded font-medium">仪表盘</div> | |
| <div class="p-2 rounded hover:bg-gray-100">系统状态</div> | |
| <div class="p-2 rounded hover:bg-gray-100">网络设置</div> | |
| <div class="p-2 rounded hover:bg-gray-100">I/O配置</div> | |
| <div class="p-2 rounded hover:bg-gray-100">应用程序</div> | |
| <div class="p-2 rounded hover:bg-gray-100">系统维护</div> | |
| </div> | |
| </div> | |
| <div class="w-3/4"> | |
| <h4 class="font-medium text-lg mb-4">系统状态</h4> | |
| <div class="grid grid-cols-3 gap-4 mb-6"> | |
| <div class="border border-gray-200 rounded-lg p-3 text-center"> | |
| <div class="text-sm text-gray-500 mb-1">CPU使用率</div> | |
| <div class="text-2xl font-bold text-blue-600">32%</div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-3 text-center"> | |
| <div class="text-sm text-gray-500 mb-1">内存使用</div> | |
| <div class="text-2xl font-bold text-blue-600">1.2/2GB</div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-3 text-center"> | |
| <div class="text-sm text-gray-500 mb-1">运行时间</div> | |
| <div class="text-2xl font-bold text-blue-600">3d 12h</div> | |
| </div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-3"> | |
| <h5 class="font-medium mb-2">系统信息</h5> | |
| <table class="w-full text-sm"> | |
| <tr> | |
| <td class="py-1 text-gray-500">设备型号</td> | |
| <td class="py-1">XC-5000</td> | |
| </tr> | |
| <tr> | |
| <td class="py-1 text-gray-500">固件版本</td> | |
| <td class="py-1">v3.2.1</td> | |
| </tr> | |
| <tr> | |
| <td class="py-1 text-gray-500">序列号</td> | |
| <td class="py-1">XC5000-2023-12345</td> | |
| </tr> | |
| <tr> | |
| <td class="py-1 text-gray-500">IP地址</td> | |
| <td class="py-1">192.168.1.100</td> | |
| </tr> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 相关文档 --> | |
| <div class="mt-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-semibold text-gray-800">相关文档</h2> | |
| <div class="flex space-x-3"> | |
| <span class="text-sm font-medium text-gray-500">产品筛选:</span> | |
| <select class="text-sm border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"> | |
| <option>所有产品</option> | |
| <option>工业控制器</option> | |
| <option>传感器</option> | |
| <option>驱动器</option> | |
| </select> | |
| <select class="text-sm border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"> | |
| <option>所有系列</option> | |
| <option>XC系列</option> | |
| <option>XP系列</option> | |
| <option>ST系列</option> | |
| <option>DM系列</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- 工业控制器文档 --> | |
| <div class="document-card border border-gray-200 rounded-lg p-6 hover:shadow-md transition duration-150"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-lg mr-4"> | |
| <i class="fas fa-microchip text-blue-500 text-2xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-gray-800">XP-2000 操作手册</h3> | |
| <p class="text-sm text-gray-500 mt-1">XP系列工业控制器操作指南</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs font-medium rounded">工业控制器</span> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">XP系列</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">PDF · 4.1MB</span> | |
| <button class="text-blue-500 hover:text-blue-700 text-sm font-medium flex items-center"> | |
| 查看 <i class="fas fa-chevron-right ml-1 text-xs"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- 传感器文档 --> | |
| <div class="document-card border border-gray-200 rounded-lg p-6 hover:shadow-md transition duration-150"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-green-100 p-3 rounded-lg mr-4"> | |
| <i class="fas fa-rss text-green-500 text-2xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-gray-800">ST-300 技术手册</h3> | |
| <p class="text-sm text-gray-500 mt-1">高精度温度传感器技术规格</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 text-xs font-medium rounded">传感器</span> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">ST系列</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">PDF · 2.5MB</span> | |
| <button class="text-blue-500 hover:text-blue-700 text-sm font-medium flex items-center"> | |
| 查看 <i class="fas fa-chevron-right ml-1 text-xs"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- 驱动器文档 --> | |
| <div class="document-card border border-gray-200 rounded-lg p-6 hover:shadow-md transition duration-150"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-purple-100 p-3 rounded-lg mr-4"> | |
| <i class="fas fa-cog text-purple-500 text-2xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-gray-800">DM-800 安装指南</h3> | |
| <p class="text-sm text-gray-500 mt-1">伺服驱动器安装与配置</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs font-medium rounded">驱动器</span> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">DM系列</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">PDF · 3.7MB</span> | |
| <button class="text-blue-500 hover:text-blue-700 text-sm font-medium flex items-center"> | |
| 查看 <i class="fas fa-chevron-right ml-1 text-xs"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="document-card border border-gray-200 rounded-lg p-6 hover:shadow-md transition duration-150"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-lg mr-4"> | |
| <i class="fas fa-book text-blue-500 text-2xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-gray-800">XC-5000 高级配置手册</h3> | |
| <p class="text-sm text-gray-500 mt-1">适用于高级用户和技术人员</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">配置指南</span> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">高级功能</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">PDF · 3.2MB</span> | |
| <button class="text-blue-500 hover:text-blue-700 text-sm font-medium flex items-center"> | |
| 查看 <i class="fas fa-chevron-right ml-1 text-xs"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="document-card border border-gray-200 rounded-lg p-6 hover:shadow-md transition duration-150"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-purple-100 p-3 rounded-lg mr-4"> | |
| <i class="fas fa-tools text-purple-500 text-2xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-gray-800">XC-5000 维护手册</h3> | |
| <p class="text-sm text-gray-500 mt-1">定期维护和故障排除指南</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">维护</span> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">故障排除</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">PDF · 2.8MB</span> | |
| <button class="text-blue-500 hover:text-blue-700 text-sm font-medium flex items-center"> | |
| 查看 <i class="fas fa-chevron-right ml-1 text-xs"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="document-card border border-gray-200 rounded-lg p-6 hover:shadow-md transition duration-150"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-green-100 p-3 rounded-lg mr-4"> | |
| <i class="fas fa-shield-alt text-green-500 text-2xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-gray-800">XC-5000 安全手册</h3> | |
| <p class="text-sm text-gray-500 mt-1">安全操作规范和警告</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">安全规范</span> | |
| <span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-medium rounded">警告</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm text-gray-500">PDF · 1.5MB</span> | |
| <button class="text-blue-500 hover:text-blue-700 text-sm font-medium flex items-center"> | |
| 查看 <i class="fas fa-chevron-right ml-1 text-xs"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 页脚 --> | |
| <footer class="bg-gray-800 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-sm font-semibold uppercase tracking-wider">产品</h3> | |
| <ul class="mt-4 space-y-2"> | |
| <li><a href="#" class="text-gray-300 hover:text-white">安全产品</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">GLS系列</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">GLR系列</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">工业控制器</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">传感器</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold uppercase tracking-wider">支持</h3> | |
| <ul class="mt-4 space-y-2"> | |
| <li><a href="#" class="text-gray-300 hover:text-white">文档中心</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">常见问题</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">视频教程</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">软件下载</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold uppercase tracking-wider">公司</h3> | |
| <ul class="mt-4 space-y-2"> | |
| <li><a href="#" class="text-gray-300 hover:text-white">关于我们</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">新闻中心</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">招贤纳士</a></li> | |
| <li><a href="#" class="text-gray-300 hover:text-white">联系我们</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold uppercase tracking-wider">订阅</h3> | |
| <p class="mt-4 text-gray-300">订阅我们的新闻通讯,获取最新产品信息和技术更新。</p> | |
| <div class="mt-4 flex"> | |
| <input type="email" placeholder="您的邮箱地址" class="px-4 py-2 rounded-l-md w-full text-gray-800 focus:outline-none"> | |
| <button class="bg-blue-500 hover:bg-blue-600 px-4 py-2 rounded-r-md"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-cogs text-blue-400 text-2xl mr-2"></i> | |
| <span class="text-xl font-semibold">技术文档中心</span> | |
| </div> | |
| <div class="mt-4 md:mt-0"> | |
| <p class="text-gray-400 text-sm">© 2023 技术文档中心. 保留所有权利.</p> | |
| </div> | |
| <div class="mt-4 md:mt-0 flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-linkedin-in"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // 移动端菜单切换 | |
| const mobileMenuButton = document.getElementById('mobile-menu-button'); | |
| const sidebar = document.getElementById('sidebar'); | |
| const overlay = document.getElementById('overlay'); | |
| mobileMenuButton.addEventListener('click', () => { | |
| sidebar.classList.toggle('open'); | |
| overlay.classList.toggle('open'); | |
| }); | |
| overlay.addEventListener('click', () => { | |
| sidebar.classList.remove('open'); | |
| overlay.classList.remove('open'); | |
| }); | |
| // 选项卡切换 | |
| const tabs = document.querySelectorAll('[data-tabs-target]'); | |
| const tabContents = document.querySelectorAll('#document-tab-content > div'); | |
| tabs.forEach(tab => { | |
| tab.addEventListener('click', () => { | |
| const target = document.querySelector(tab.dataset.tabsTarget); | |
| // 更新选项卡状态 | |
| tabs.forEach(t => { | |
| t.classList.remove('active-tab'); | |
| t.classList.add('border-transparent'); | |
| t.classList.remove('border-blue-500'); | |
| t.classList.add('text-gray-500', 'hover:text-gray-600', 'hover:border-gray-300'); | |
| }); | |
| tab.classList.add('active-tab'); | |
| tab.classList.add('border-blue-500'); | |
| tab.classList.remove('border-transparent', 'text-gray-500', 'hover:text-gray-600', 'hover:border-gray-300'); | |
| // 更新内容显示 | |
| tabContents.forEach(content => { | |
| content.classList.add('hidden'); | |
| }); | |
| target.classList.remove('hidden'); | |
| }); | |
| }); | |
| // 折叠面板 | |
| const faqButtons = document.querySelectorAll('.bg-white.shadow.rounded-lg button'); | |
| faqButtons.forEach(button => { | |
| button.addEventListener('click', () => { | |
| const content = button.nextElementSibling; | |
| const icon = button.querySelector('i'); | |
| if (content.classList.contains('hidden')) { | |
| content.classList.remove('hidden'); | |
| icon.classList.remove('fa-chevron-down'); | |
| icon.classList.add('fa-chevron-up'); | |
| } else { | |
| content.classList.add('hidden'); | |
| icon.classList.remove('fa-chevron-up'); | |
| icon.classList.add('fa-chevron-down'); | |
| } | |
| }); | |
| }); | |
| // 侧边栏分类展开/折叠 | |
| const sidebarCategories = document.querySelectorAll('.sidebar-link.cursor-pointer'); | |
| sidebarCategories.forEach(category => { | |
| category.addEventListener('click', (e) => { | |
| // 防止点击子元素时触发 | |
| if(e.target.tagName === 'A') return; | |
| const icon = category.querySelector('i'); | |
| const sublist = category.nextElementSibling; | |
| // 如果是打开状态则关闭,否则打开 | |
| if(sublist.classList.contains('hidden')) { | |
| sublist.classList.remove('hidden'); | |
| icon.classList.remove('fa-chevron-down'); | |
| icon.classList.add('fa-chevron-up'); | |
| } else { | |
| sublist.classList.add('hidden'); | |
| icon.classList.remove('fa-chevron-up'); | |
| icon.classList.add('fa-chevron-down'); | |
| } | |
| }); | |
| }); | |
| // 默认显示概述选项卡 | |
| document.getElementById('overview-tab').click(); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=luciusYue/luciustechdoc" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |