pricing.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <!DOCTYPE html>
  2. <html lang="zh-TW">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge, Chrome=1">
  7. <meta http-equiv="Cache-Control" content="no-cache">
  8. <title>AI Spokesgirl</title>
  9. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
  10. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
  11. crossorigin="anonymous">
  12. <link rel="stylesheet"
  13. href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
  14. crossorigin="anonymous">
  15. <link rel="preconnect" href="https://fonts.googleapis.com">
  16. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  17. <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
  18. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  19. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.min.css">
  20. <link rel="stylesheet" href="static/owl.carousel.min.css">
  21. <link rel="stylesheet" href="static/owl.theme.default.min.css">
  22. <link rel="stylesheet" href="static/scss/style.css">
  23. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  24. <title>Login</title>
  25. </head>
  26. <body>
  27. <!-- ================================================================= -->
  28. <!-- navbar -->
  29. <nav class="navbar navbar-expand-lg navbar-light">
  30. <div class="container-fluid">
  31. <a class="navbar-brand" href="index.html"><img class="img-fluid" style="width: 150px;" src="./static/img/contactus/choozmo-nav.png" alt=""></a>
  32. <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
  33. data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
  34. aria-label="Toggle navigation">
  35. <span class="navbar-toggler-icon"></span>
  36. </button>
  37. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  38. <ul class="navbar-nav mb-2 ms-auto mb-lg-0">
  39. <li class="nav-item">
  40. <a class="nav-link active" aria-current="page" href="pricing.html" set-lan="html:pricing">早鳥方案</a>
  41. </li>
  42. <li class="nav-item dropdown">
  43. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
  44. 中/En
  45. </a>
  46. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  47. <li><button class="nav-link lan-swtich" aria-current="page" set-lan="html:en" onclick="changeLan(this)" value="en">English</button></li>
  48. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh" onclick="changeLan(this)" value="zh">中文</button></li>
  49. </ul>
  50. </li>
  51. <li class="nav-item">
  52. <a class="nav-link active btn-login" aria-current="page" href="login.html" set-lan="html:login">登入</a>
  53. </li>
  54. <li class="nav-item">
  55. <a class="nav-link btn-userProfile" aria-current="page" href="user_profile2.html" set-lan="html:user_profile">會員資料</a>
  56. </li>
  57. <li class="nav-item">
  58. <a class="nav-link btn-logout" aria-current="page" set-lan="html:logout">登出</a>
  59. </li>
  60. </ul>
  61. </div>
  62. </div>
  63. </nav>
  64. <!-- ================================================================= -->
  65. <!-- ================================================================= -->
  66. <!-- content -->
  67. <!-- 手機版 -->
  68. <div class="d-block d-md-none">
  69. <div class="container text-center">
  70. <div class="row">
  71. <div class="col-md-4 col-sm-6">
  72. <div class="pricingTable">
  73. <div class="pricingTable-header">
  74. <h3 class="title" set-lan="html:launch_special">早鳥方案</h3>
  75. </div>
  76. <ul class="pricing-content">
  77. <li set-lan="html:pricing_lan">語言選擇: 中文 | 英文</li>
  78. <li set-lan="html:pricing_avatars">多款預設AI代言主播任你選</li>
  79. <li set-lan="html:pricing_content">畫面素材支援: 圖檔 | 影檔 | 簡報</li>
  80. <!-- <li class="disable">Maintenance</li>
  81. <li class="disable">15 Subdomains</li> -->
  82. </ul>
  83. <div class="price-value">
  84. <span class="price-title" set-lan="html:pricing_discount">限時優惠</span>
  85. <span class="price-amount">$1200 <span class="duration">7<lan set-lan="html:mins">分鐘</lan></span></span>
  86. </div>
  87. <div class="pricingTable-signup">
  88. <a href="https://p.ecpay.com.tw/B3701C8" target="_blank" set-lan="html:pricing_checkout">立即查看</a>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <!-- 電腦版 -->
  96. <div class="d-none d-md-block">
  97. <div class="container-fluid text-center">
  98. <div class="row">
  99. <div class="col-4">
  100. <div class="pricingTable">
  101. <div class="pricingTable-header">
  102. <div class="title" set-lan="html:launch_special" style="font-size:2rem;">早鳥方案</div>
  103. </div>
  104. <ul class="pricing-content">
  105. <li set-lan="html:pricing_lan">語言選擇: 中文 | 英文</li>
  106. <li set-lan="html:pricing_avatars">多款預設AI代言主播任你選</li>
  107. <li set-lan="html:pricing_content">畫面素材支援: 圖檔 | 影檔 | 簡報</li>
  108. <!-- <li class="disable">Maintenance</li>
  109. <li class="disable">15 Subdomains</li> -->
  110. </ul>
  111. <div class="price-value">
  112. <span class="price-title" set-lan="html:pricing_discount">限時優惠</span>
  113. <span class="price-amount">$1200 <span class="duration">7<lan set-lan="html:mins">分鐘</lan></span></span>
  114. </div>
  115. <div class="pricingTable-signup">
  116. <a href="https://p.ecpay.com.tw/B3701C8" target="_blank" set-lan="html:pricing_checkout">立即查看</a>
  117. </div>
  118. </div>
  119. </div>
  120. <div class="col-8">
  121. <a href="https://p.ecpay.com.tw/B3701C8" target="_blank">
  122. <img class="img-fluid" src="static/img/intro2.jpg" set-lan="img:intro_img"></img>
  123. </a>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <!-- ================================================================= -->
  129. <!-- ================================================================= -->
  130. <!-- footer -->
  131. <footer class="fixed-bottom text-center py-2">
  132. </footer>
  133. <!-- ================================================================= -->
  134. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  135. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
  136. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  137. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  138. crossorigin="anonymous"></script>
  139. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  140. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
  141. <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.all.min.js"></script>
  142. <script src="https://cdnjs.cloudflare.com/ajax/libs/validatorjs/2.0.0/validator.min.js"
  143. integrity="sha512-Y/Pox7RqKmT84klgmJCva3drWoXQWO42oHiWWhb9zd1pkIH60NF2SamgBrFHOTzrzHJhwgPGNGjNJ5ZmxLpUAQ=="
  144. crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  145. <script src="static/owl.carousel.min.js"></script>
  146. <script type="text/javascript" src="static/lan.js"></script>
  147. <script src="static/common.js"></script>
  148. <script>
  149. const btnLoginPage = document.querySelector('.btn-login');
  150. const btnUserProfile = document.querySelector('.btn-userProfile');
  151. const btnLogout = document.querySelector('.btn-logout');
  152. btnLoginPage.style.display = 'none';
  153. btnLogout.style.display = 'none';
  154. btnUserProfile.style.display = 'none';
  155. function get_jwt_token(){
  156. if(!document.cookie) {
  157. return
  158. }
  159. jwt_raw = document.cookie.split(';').filter(s=>s.includes('jwt_token'))[0]
  160. return jwt_raw.split('=')[1]
  161. }
  162. function checkRoute() {
  163. let jwt_token = get_jwt_token();
  164. if(jwt_token == undefined) {
  165. btnLoginPage.style.display = 'block';
  166. btnLogout.style.display = 'none';
  167. btnUserProfile.style.display = 'none';
  168. return;
  169. }
  170. axios({
  171. method: 'post',
  172. url: 'https://www.choozmo.com:8887/user_profile',
  173. headers: {
  174. 'accept': 'text/html',
  175. 'Authorization': `Bearer ${jwt_token}`
  176. }
  177. }).then(res => {
  178. console.log(res.data);
  179. if(res.status !== 200) {
  180. btnLoginPage.style.display = 'block';
  181. btnLogout.style.display = 'none';
  182. btnUserProfile.style.display = 'none';
  183. }
  184. btnLoginPage.style.display = 'none';
  185. btnLogout.style.display = 'block';
  186. btnUserProfile.style.display = 'block';
  187. }).catch(err => {
  188. console.log(err);
  189. });
  190. }
  191. checkRoute();
  192. </script>
  193. </body>
  194. </html>