index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Ai_Anchor_Demo</title>
  8. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
  9. integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
  10. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css"
  11. integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  12. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
  13. integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
  14. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
  15. <link rel="stylesheet" href="./style.css">
  16. </head>
  17. <body>
  18. <section class="home-page">
  19. <div>
  20. <div class="bgslider">
  21. <!-- <img class="img-fluid" src="./img/BG_3png.png" alt=""> -->
  22. </div>
  23. <div class="p-0">
  24. <!-- <div class="ai-spokesgril">
  25. <ul class="navbar-nav ms-auto mb-2 mb-lg-0 me-3" style="z-index: 500;">
  26. <li class="nav-item dropdown">
  27. <a class="nav-link dropdown-toggle text-white" href="#" id="navbarDropdown" role="button"
  28. data-bs-toggle="dropdown" aria-expanded="false">
  29. 中/En
  30. </a>
  31. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  32. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:en"
  33. onclick="changeLan(this)" value="en">English</button></li>
  34. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  35. onclick="changeLan(this)" value="zh">中文</button></li>
  36. </ul>
  37. </li>
  38. </ul>
  39. </div> -->
  40. <div class="homebutton-box row px-0 mx-0">
  41. <div class="col-lg-7 ps-0">
  42. <div class="row px-0 mx-0">
  43. <div style="background:rgba(2,15,51,0.8)"
  44. class="home-box col-4 py-5 d-flex align-items-center justify-content-center">
  45. <div class="p-3 text-center">
  46. <a style="text-decoration: none;" class="homebtn-icon" href="./about.html">
  47. <img src="./img/ICON_簡介.png" alt="">
  48. <h1 class="text-white" set-lan="html:index-about">簡介</h1>
  49. </a>
  50. </div>
  51. </div>
  52. <div style="background: rgba(4,25,89,0.8);"
  53. class="home-box col-4 py-5 d-flex align-items-center justify-content-center">
  54. <div class="p-3 text-center">
  55. <a style="text-decoration: none;" class="homebtn-icon" href="./features.html">
  56. <img src="./img/ICON_特色.png" alt="">
  57. <h1 class="text-white" class="home-btn" set-lan="html:index-features">特色</h1>
  58. </a>
  59. </div>
  60. </div>
  61. <div style="background:rgba(2,15,51,0.8)"
  62. class="home-box col-4 py-5 d-flex align-items-center justify-content-center">
  63. <div class="p-3 text-center">
  64. <a style="text-decoration: none;" class="homebtn-icon" href="./video.html">
  65. <img src="./img/ICON_影片導覽.png" alt="">
  66. <h1 class="text-white" class="home-btn" set-lan="html:index-videos">影片導覽</h1>
  67. </a>
  68. </div>
  69. </div>
  70. <div style="background: rgba(4,25,89,0.8);"
  71. class="home-box col-4 py-5 d-flex align-items-center justify-content-center">
  72. <div class="p-3 text-center">
  73. <a style="text-decoration: none;" class="homebtn-icon" href="./steps.html">
  74. <img src="./img/ICON_使用流程.png" alt="">
  75. <h1 class="text-white" class="home-btn" set-lan="html:index-steps">使用流程</h1>
  76. </a>
  77. </div>
  78. </div>
  79. <div style="background:rgba(2,15,51,0.8)"
  80. class="home-box col-4 py-5 d-flex align-items-center justify-content-center">
  81. <div class="p-3 text-center">
  82. <a style="text-decoration: none;" class="homebtn-icon" href="./usecases.html">
  83. <img src="./img/ICON_應用情境.png" alt="">
  84. <h1 class="text-white" class="home-btn" set-lan="html:index-usecases">應用情境</h1>
  85. </a>
  86. </div>
  87. </div>
  88. <div style="background: rgba(4,25,89,0.8);"
  89. class="home-box col-4 py-5 d-flex align-items-center justify-content-center">
  90. <div class="p-3 text-center">
  91. <a style="text-decoration: none;" class="homebtn-icon" href="./demo.html">
  92. <img src="./img/ICON_即時展示.png" alt="">
  93. <h1 class="text-white" class="home-btn" set-lan="html:index-demo">即時展示</h1>
  94. </a>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. <div class="col-lg-5">
  100. <div class="ai-spokesgril">
  101. <ul class="navbar-nav ms-auto mb-2 mb-lg-0 me-3" style="z-index: 500;">
  102. <li class="nav-item dropdown">
  103. <a class="nav-link dropdown-toggle text-white" href="#" id="navbarDropdown"
  104. role="button" data-bs-toggle="dropdown" aria-expanded="false">
  105. 中/En
  106. </a>
  107. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  108. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:en"
  109. onclick="changeLan(this)" value="en">English</button></li>
  110. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  111. onclick="changeLan(this)" value="zh">中文</button></li>
  112. </ul>
  113. </li>
  114. </ul>
  115. <a id="expand" onclick="openFullscreen();" style="cursor: pointer;" class="border-0"><i
  116. class="fas fa-expand text-white"></i></a>
  117. <a id="compression" onclick="closeFullscreen();" style="cursor: pointer;"
  118. class="border-0"><i class="fas fa-compress text-white"></i></a>
  119. </div>
  120. <div class="text-center">
  121. <img style="filter: none; margin-top: 80px;" src="./img/AISpokesgirl.png" alt="">
  122. </div>
  123. </div>
  124. </div>
  125. <div class="row px-0 mx-0">
  126. <div class="col-lg-7 mt-5 ps-5">
  127. <div class="homepage-title">
  128. <h1 set-lan="html:index_title1">強大的AI虛擬代言人</h1>
  129. <h1 set-lan="html:index_title2">快速生成影片工具</h1>
  130. </div>
  131. </div>
  132. <div class="col-lg-5">
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. <img id="wheel" style="position: absolute; bottom:0px; right:150px; width:40vw ;" src="./img/0.png" alt="">
  138. <img style="position: absolute; bottom:0px; right:50px; width:35vw ;" width="500" src="./img/Peggy_.png" alt="">
  139. <img class="homepage-line" src="/img/titleline.png" alt="">
  140. <!-- <img class="homepage-line" src="/img/" alt=""> -->
  141. <!-- <div class="my-element" id="ad_dialog">
  142. <div class="wrap container-fluid px-0 mx-0">
  143. <div class="adv-banner">
  144. <video id="MovieShow" loop>
  145. <source src="./img/應用案例 -- 氣象報導.mp4" type="video/mp4">
  146. 您的瀏覽器不支援此 HTML5 影片標籤
  147. </video>
  148. <br><br>
  149. </div>
  150. </div>
  151. </div> -->
  152. </section>
  153. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  154. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  155. crossorigin="anonymous"></script>
  156. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  157. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  158. crossorigin="anonymous"></script>
  159. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  160. <!-- <script>
  161. document.querySelector('.dropdown-toggle').addEventListener('click', function(){
  162. console.log('lan');
  163. document.querySelector('.dropdown-menu').style.display="block";
  164. });
  165. </script> -->
  166. <script src="js/lan.js"></script>
  167. <script>
  168. var expandbtn = document.getElementById("expand");
  169. var compressionbtn = document.getElementById("compression");
  170. // Using JavaScript to open the page in fullscreen mode
  171. var elem = document.documentElement;
  172. function openFullscreen() {
  173. if (elem.requestFullscreen) {
  174. elem.requestFullscreen();
  175. compressionbtn.style.display = 'inline';
  176. } else if (elem.webkitRequestFullscreen) { /* Safari */
  177. elem.webkitRequestFullscreen();
  178. } else if (elem.msRequestFullscreen) { /* IE11 */
  179. elem.msRequestFullscreen();
  180. }
  181. }
  182. function closeFullscreen() {
  183. if (document.exitFullscreen) {
  184. document.exitFullscreen();
  185. compressionbtn.style.display = 'none';
  186. } else if (document.webkitExitFullscreen) { /* Safari */
  187. document.webkitExitFullscreen();
  188. } else if (document.msExitFullscreen) { /* IE11 */
  189. document.msExitFullscreen();
  190. }
  191. }
  192. </script>
  193. <script>
  194. // $("#ad_dialog").hide();
  195. // var showSecondsNum = document.getElementById('seconds-number');
  196. // var showDialogTimeNum = document.getElementById('dialog-time');
  197. // var defaultNum = 10;
  198. // var maxTime = defaultNum;
  199. // var intervalId;
  200. // showSecondsNum.innerHTML = maxTime;
  201. // var time = maxTime;
  202. // $('body').on('keydown mousemove mousedown', function (e) {
  203. // time = maxTime; // Reset
  204. // });
  205. // runSetInterval();
  206. // function runSetInterval() {
  207. // intervalId = setInterval(function () {
  208. // time--;
  209. // // showSecondsNum.innerHTML = time;
  210. // if (time <= 0) {
  211. // ShowInvalidLoginMessage();
  212. // clearInterval(intervalId);
  213. // }
  214. // }, 1000)
  215. // }
  216. // function ShowInvalidLoginMessage() {
  217. // $('#ad_dialog').show();
  218. // playvideo();
  219. // }
  220. // function playvideo() {
  221. // document.getElementById("MovieShow").play();
  222. // }
  223. // $("#MovieShow").click(function () {
  224. // // alert( "Handler for .click() called." );
  225. // document.getElementById("MovieShow").pause();
  226. // $('#ad_dialog').hide();
  227. // location.reload()
  228. // });
  229. </script>
  230. </body>
  231. </html>