steps.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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_Steps</title>
  8. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
  9. crossorigin="anonymous">
  10. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
  11. integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
  12. <link rel="stylesheet" href="./style.css">
  13. </head>
  14. <body>
  15. <div class="card border-0">
  16. <div class="row px-0 mx-0">
  17. <div class="col-lg-2 px-0">
  18. <div class="card border-0">
  19. <img style="width:14vw;" src="./img/about/home_六角.png" alt="...">
  20. <div class="card-img-overlay d-flex justify-content-center align-items-center">
  21. <div>
  22. <a href="./index.html">
  23. <img class="home-btn"
  24. style="width: 70px; position: relative; right:1.5vw; bottom:20px;"
  25. src="./img/about/home_黑.png" alt="">
  26. </a>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="col-lg-9 px-0">
  32. <div class="card border-0">
  33. <img style="position: relative; right:20px;" class="img-fluid" src="./img/about/Bar.png"
  34. alt="">
  35. <div class="card-img-overlay">
  36. <div class="mt-3 me-2">
  37. <h1 style="font-size:3rem;" class="fw-bold mb-0 text-white" set-lan="html:index-steps">應用情境</h1>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="col-lg-1 px-0">
  43. <!-- <nav style="margin-top: 40px;" class="navbar"> -->
  44. <div style="margin-top: 40px;">
  45. <ul style="float: left;" class="navbar-nav mb-2 mb-lg-0 me-3">
  46. <li class="nav-item dropdown">
  47. <a class="nav-link dropdown-toggle" style="font-size: 18px;" href="#"
  48. id="navbarDropdown" role="button" data-bs-toggle="dropdown"
  49. aria-expanded="false">
  50. 中/En
  51. </a>
  52. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  53. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:en"
  54. onclick="changeLan(this);window.location.reload();"
  55. value="en">English</button>
  56. </li>
  57. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  58. onclick="changeLan(this);window.location.reload();"
  59. value="zh">中文</button></li>
  60. </ul>
  61. </li>
  62. </ul>
  63. <div style="float: left;" class="me-auto mt-2">
  64. <a id="expand" onclick="openFullscreen();" style="cursor: pointer;" class="border-0"><i
  65. style="font-size: 18px;" class="fas fa-expand text-dark"></i></a>
  66. <a id="compression" onclick="closeFullscreen();" style="cursor: pointer;"
  67. class="border-0"><i class="fas fa-compress text-dark"></i></a>
  68. </div>
  69. </div>
  70. <!-- </nav> -->
  71. </div>
  72. </div>
  73. <section class="sec-steps my-1">
  74. <div class="container-fluid text-center">
  75. <div class="row">
  76. <div class="col">
  77. <h2 class="steps-title mb-5"><strong>3</strong><lan set-lan="html:steps_title">步驟快速合成影片</lan></h2>
  78. <div class="row">
  79. <div class="col">
  80. <div class="steps-block row">
  81. <div class="col">
  82. <div class="steps-imgfr" style="background-image: url('img/steps/step1.webp');"></div>
  83. </div>
  84. <div class="steps-txt col">
  85. <span class="steps-txt-num">1</span>
  86. <h3 class="steps-sub" set-lan="html:steps_no1">選擇AI人物</h3>
  87. </div>
  88. </div>
  89. <div class="steps-block row">
  90. <div class="col">
  91. <div class="steps-imgfr" style="background-image: url('img/steps/step2.webp');"></div>
  92. </div>
  93. <div class="steps-txt col">
  94. <span>2</span>
  95. <h3 class="steps-sub" set-lan="html:steps_no2">輸入腳本文字</h3>
  96. </div>
  97. </div>
  98. <div class="steps-block row">
  99. <div class="col">
  100. <div class="steps-imgfr" style="background-image: url('img/steps/step3.webp');"></div>
  101. </div>
  102. <div class="steps-txt col">
  103. <span>3</span>
  104. <h3 class="steps-sub" set-lan="html:steps_no3">輸入圖片素材</h3>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. <div class="col">
  111. <div class="mx-auto">
  112. <h2 class="step-video-title"><img src="https://i.imgur.com/Sb7ik9D.png" width="45" class="me-2"><span set-lan="html:time-lapse">縮時影片</span></h2>
  113. <div class="step-videofr">
  114. <video autoplay muted loop>
  115. <source src="img/官網1_加速.mp4" type="video/mp4">
  116. </video>
  117. </div>
  118. <a class="btn-dark" onclick="direct()"><lan set-lan="html:try_it_out">立即開始</lan></a>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </section>
  125. </div>
  126. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  127. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  128. crossorigin="anonymous"></script>
  129. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  130. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  131. crossorigin="anonymous"></script>
  132. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  133. <script src="js/lan.js"></script>
  134. <script>
  135. // openFullscreen();
  136. var expandbtn = document.getElementById("expand");
  137. var compressionbtn = document.getElementById("compression");
  138. // Using JavaScript to open the page in fullscreen mode
  139. var elem = document.documentElement;
  140. function openFullscreen() {
  141. if (elem.requestFullscreen) {
  142. elem.requestFullscreen();
  143. compressionbtn.style.display = 'inline';
  144. // alert('hi')
  145. } else if (elem.webkitRequestFullscreen) { /* Safari */
  146. elem.webkitRequestFullscreen();
  147. } else if (elem.msRequestFullscreen) { /* IE11 */
  148. elem.msRequestFullscreen();
  149. }
  150. }
  151. function closeFullscreen() {
  152. if (document.exitFullscreen) {
  153. document.exitFullscreen();
  154. compressionbtn.style.display = 'none';
  155. } else if (document.webkitExitFullscreen) { /* Safari */
  156. document.webkitExitFullscreen();
  157. } else if (document.msExitFullscreen) { /* IE11 */
  158. document.msExitFullscreen();
  159. }
  160. }
  161. </script>
  162. </body>
  163. </html>