demo.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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 href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
  9. integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
  10. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
  11. integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
  12. <link rel="stylesheet" href="./style.css">
  13. </head>
  14. <body>
  15. <div class="row px-0 mx-0">
  16. <div class="col-lg-2 px-0">
  17. <div class="card border-0">
  18. <img style="width:14vw;" src="./img/about/home_六角.png" alt="...">
  19. <div class="card-img-overlay d-flex justify-content-center align-items-center">
  20. <div>
  21. <a href="./index.html">
  22. <img class="home-btn" style="width: 70px; position: relative; right:1.5vw; bottom:20px;"
  23. src="./img/about/home_黑.png" alt="">
  24. </a>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="col-lg-9 px-0">
  30. <div class="card border-0">
  31. <img style="position: relative; right:20px;" class="img-fluid" src="./img/about/Bar.png" alt="">
  32. <div class="card-img-overlay">
  33. <div class="mt-3 me-2">
  34. <h1 style="font-size:3rem;" class="fw-bold mb-0 text-white" set-lan="html:index-demo">即時展示</h1>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="col-lg-1 px-0">
  40. <!-- <nav style="margin-top: 40px;" class="navbar"> -->
  41. <div style="margin-top: 40px;">
  42. <ul style="float: left;" class="navbar-nav mb-2 mb-lg-0 me-3">
  43. <li class="nav-item dropdown">
  44. <a class="nav-link dropdown-toggle" style="font-size: 18px;" href="#" id="navbarDropdown" role="button"
  45. data-bs-toggle="dropdown" aria-expanded="false">
  46. 中/En
  47. </a>
  48. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  49. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:en"
  50. onclick="changeLan(this);window.location.reload();" value="en">English</button>
  51. </li>
  52. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  53. onclick="changeLan(this);window.location.reload();" value="zh">中文</button></li>
  54. </ul>
  55. </li>
  56. </ul>
  57. <div style="float: left;" class="me-auto mt-2">
  58. <a id="expand" onclick="openFullscreen();" style="cursor: pointer;" class="border-0"><i
  59. style="font-size: 18px;" class="fas fa-expand text-dark"></i></a>
  60. <a id="compression" onclick="closeFullscreen();" style="cursor: pointer;" class="border-0"><i
  61. class="fas fa-compress text-dark"></i></a>
  62. </div>
  63. </div>
  64. <!-- </nav> -->
  65. </div>
  66. </div>
  67. <section class="sec-usecase">
  68. <div class="container-fluid">
  69. <div style="width: 85vw; margin:0 auto;">
  70. <div class="row my-5">
  71. <div class="col m-2">
  72. <div style="background: #E2E2E2;" class="h-100">
  73. <a onclick="direct()" style="background:#193179;" class="demo-btn">
  74. <h3 class="usecase-sub">
  75. <!-- <i class="fas fa-circle"></i> -->
  76. <lan set-lan="html:make_video_hand">手動製作影片</lan>
  77. </h3>
  78. </a>
  79. <div class="demo-box">
  80. <div class="demo-card">
  81. <ul>
  82. <li set-lan="html:make_video_txt1">文字轉影片,輕鬆完成</li>
  83. <li set-lan="html:make_video_txt2">無需演員及相機,一鍵生成影片</li>
  84. </ul>
  85. </div>
  86. </div>
  87. <div class="text-center">
  88. <button style="background:#193179;" class="demo-CTA border-0 mb-5" set-lan="html:try_it_out" onclick="direct()">開始製作</button>
  89. </div>
  90. </div>
  91. </div>
  92. <div class="col m-2">
  93. <div style="background: #E2E2E2;" class="h-100">
  94. <a class="demo-btn" style="background:#294290;" onclick="directAuto()">
  95. <h3 class="usecase-sub">
  96. <!-- <i class="fas fa-circle"></i> -->
  97. <lan set-lan="html:make_video_auto">自動影片製作</lan>
  98. </h3>
  99. <div>
  100. </div>
  101. </a>
  102. <div class="demo-box">
  103. <div class="demo-card">
  104. <ul>
  105. <li set-lan="html:make_video_auto_txt">點選日期後,一鍵自動生成氣象報導影片</li>
  106. <li style="opacity: 0;" set-lan="html:make_video_auto_txt">選擇日期,一鍵自動完成氣象報導影片</li>
  107. </ul>
  108. </div>
  109. </div>
  110. <div class="text-center">
  111. <button style="background:#193179;" class="demo-CTA border-0 mb-5" set-lan="html:try_it_out" onclick="directAuto()">開始製作</button>
  112. </div>
  113. </div>
  114. </div>
  115. <div class="col m-2">
  116. <div style="background: #E2E2E2;" class="h-100">
  117. <a class="demo-btn" style="background: #3C57A7;" data-bs-toggle="modal" data-bs-target="#exampleModal">
  118. <h3 class="usecase-sub">
  119. <!-- <i class="fas fa-circle"></i> -->
  120. <lan set-lan="html:make_video_trial">免費註冊使用</lan>
  121. </h3>
  122. </a>
  123. <div class="demo-box">
  124. <div class="demo-card text-center">
  125. <img src="./img/Video_choozmo_qrcode.png" alt="">
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="closeplay modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel2"
  134. aria-hidden="true">
  135. <div class="modal-dialog modal-lg">
  136. <div class="modal-content border-0">
  137. <div class="modal-header border-0">
  138. <h5 class="modal-title" id="exampleModalLabel"></h5>
  139. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><img
  140. src="./img/close.svg" alt=""></button>
  141. </div>
  142. <div class="modal-body text-center">
  143. <h2><i class="far fa-caret-square-right me-2"></i>
  144. <lan set-lan="html:make_video_trial">免費註冊使用</lan>
  145. </h2>
  146. <img src="./img/Video_choozmo_qrcode.png" alt="" width="450">
  147. <a href="https://video.choozmo.com" style="text-decoration: none;color: black;">
  148. <h2>https://video.choozmo.com</h2>
  149. </a>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. </section>
  155. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  156. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  157. crossorigin="anonymous"></script>
  158. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  159. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  160. crossorigin="anonymous"></script>
  161. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  162. <script src="js/lan.js"></script>
  163. <script>
  164. var expandbtn = document.getElementById("expand");
  165. var compressionbtn = document.getElementById("compression");
  166. // Using JavaScript to open the page in fullscreen mode
  167. var elem = document.documentElement;
  168. function openFullscreen() {
  169. if (elem.requestFullscreen) {
  170. elem.requestFullscreen();
  171. compressionbtn.style.display = 'inline';
  172. } else if (elem.webkitRequestFullscreen) { /* Safari */
  173. elem.webkitRequestFullscreen();
  174. } else if (elem.msRequestFullscreen) { /* IE11 */
  175. elem.msRequestFullscreen();
  176. }
  177. }
  178. function closeFullscreen() {
  179. if (document.exitFullscreen) {
  180. document.exitFullscreen();
  181. compressionbtn.style.display = 'none';
  182. } else if (document.webkitExitFullscreen) { /* Safari */
  183. document.webkitExitFullscreen();
  184. } else if (document.msExitFullscreen) { /* IE11 */
  185. document.msExitFullscreen();
  186. }
  187. }
  188. </script>
  189. </body>
  190. </html>