Spaces:
Running
Running
File size: 66,857 Bytes
54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 4cea75e 54cfc62 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 | <!DOCTYPE html>
<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> |