飞天AI数字人展会页面
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
5.2 KiB

11 months ago
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  8. <meta http-equiv="Pragma" content="no-cache" />
  9. <meta http-equiv="Expires" content="0" />
  10. <link rel="stylesheet" type="text/css" href="css/libs/reset.css" />
  11. <link rel="stylesheet" type="text/css" href="css/libs/animate.min.css" />
  12. <link rel="stylesheet" type="text/css" href="css/common.css" />
  13. <link rel="stylesheet" type="text/css" href="css/index.css" />
  14. <!--[if lt IE 9]>
  15. <script src="js/html5shiv.js"></script>
  16. <script src="js/respond.min.js"></script>
  17. <![endif]-->
  18. <title>首页</title>
  19. </head>
  20. <body>
  21. <div class="ai-wrapper">
  22. <video class="ai-bg" src="./images/bg.mp4" autoplay="autoplay" loop="loop" muted="muted"></video>
  23. <div class="ai-header-wrapper">
  24. <div class="ai-header">
  25. <!-- <div class="header-btn header-home"><span></span><p>首页</p></div> -->
  26. <div class="header-title">
  27. <h2>AI编程机器人体验系统</h2>
  28. </div>
  29. <div class="header-btn header-login"><span></span><p>登录</p></div>
  30. </div>
  31. </div>
  32. <div class="ai-index">
  33. <!-- no-box-style -->
  34. <ul class="index-list list-left no-box-style">
  35. <li class="animate__animated animate__backInLeft">
  36. <!-- page1.html -->
  37. <a id="page1" href="javascript:;">
  38. <p>编程体验</p>
  39. <span>Programming experience</span>
  40. <img src="./images/index-an1.webp" alt="编程体验" />
  41. </a>
  42. </li>
  43. <li class="animate__animated animate__backInLeft">
  44. <!-- page2.html -->
  45. <a id="page2" href="javascript:;">
  46. <p>场景演示</p>
  47. <span>Scene presentation</span>
  48. <img src="./images/index-an2.webp" alt="场景演示" />
  49. </a>
  50. </li>
  51. <li class="animate__animated animate__backInLeft">
  52. <a href="javascript:;">
  53. <p>AI资源库</p>
  54. <span>AI resource library</span>
  55. <img src="./images/index-an3.webp" alt="AI资源库" />
  56. </a>
  57. </li>
  58. </ul>
  59. <div class="index-middle">
  60. <img class="ai-human" src="./images/animation.webp" alt="机器人" />
  61. <img class="ai-bottom" src="./images/an-bottom.webp" alt="底部光效" />
  62. </div>
  63. <!-- no-box-style -->
  64. <ul class="index-list list-right no-box-style">
  65. <li class="animate__animated animate__backInRight">
  66. <a id="page4" href="javascript:;">
  67. <p>实战竞赛</p>
  68. <span>Actual combat</span>
  69. <img src="./images/index-an4.webp" alt="实战竞赛" />
  70. </a>
  71. </li>
  72. <li class="animate__animated animate__backInRight">
  73. <a href="javascript:;">
  74. <p>作品展示</p>
  75. <span>Work display</span>
  76. <img src="./images/index-an5.webp" alt="作品展示" />
  77. </a>
  78. </li>
  79. <li class="animate__animated animate__backInRight">
  80. <a id="aiChat" href="javascript:;">
  81. <p>AI数字人</p>
  82. <span>AI digital human</span>
  83. <img src="./images/index-an6.webp" alt="AI数字人" />
  84. </a>
  85. </li>
  86. </ul>
  87. </div>
  88. </div>
  89. </body>
  90. <script type="text/javascript" src="js/libs/jquery-3.7.1.min.js"></script>
  91. <script type="text/javascript" src="js/libs/flexible.js"></script>
  92. <script type="text/javascript">
  93. $(function () {
  94. $('.list-left li').hover(
  95. function() {
  96. $(this).removeClass('animate__backInLeft').addClass('animate__bounce');
  97. },
  98. function() {
  99. $(this).removeClass('animate__bounce')
  100. }
  101. );
  102. $('.list-right li').hover(
  103. function() {
  104. $(this).removeClass('animate__backInRight').addClass('animate__headShake');
  105. },
  106. function() {
  107. $(this).removeClass('animate__headShake')
  108. }
  109. );
  110. $('.index-list li').on('click', function () {
  111. const _this = $(this)
  112. $('.ai-human').css('animation-duration', '0.2s').addClass('animate__animated animate__flash')
  113. setTimeout(function () {
  114. $('.list-left li').removeClass('animate__backInLeft').addClass('animate__animated animate__backOutLeft')
  115. $('.list-right li').removeClass('animate__backInRight').addClass('animate__animated animate__backOutRight')
  116. setTimeout(function(){
  117. // window.top.location.href = 'ai_chat.html';
  118. const href = _this.find('a').attr('id');
  119. if (href === 'page1') {
  120. window.location.href = 'page1.html';
  121. } else if (href === 'page2') {
  122. window.location.href = 'page2.html';
  123. } else if (href === 'page4') {
  124. window.location.href = 'page4.html';
  125. } else if (href === 'aiChat') {
  126. window.location.href = 'ai_chat.html';
  127. } else {
  128. // 其他情况的处理逻辑
  129. }
  130. return false;
  131. },1000)
  132. }, 1000)
  133. })
  134. })
  135. </script>
  136. </html>