autoMaker.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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.1.0/css/all.css"
  11. integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  12. <link rel="preconnect" href="https://fonts.googleapis.com">
  13. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  14. <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
  15. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
  16. integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.min.css">
  18. <link rel="stylesheet" href="./styleMV.css">
  19. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  20. <title>AI Spokesgirl</title>
  21. <style>
  22. .auto-date .card {
  23. -webkit-box-shadow: 1px 1px 5px 1px rgba(201, 201, 201, 0.637);
  24. box-shadow: 1px 1px 5px 1px rgba(201, 201, 201, 0.637);
  25. }
  26. .action-button {
  27. width: 100px;
  28. background: #1c7ce0;
  29. font-weight: bold;
  30. color: white;
  31. border: 0 none;
  32. border-radius: 1px;
  33. cursor: pointer;
  34. padding: 10px 5px;
  35. margin: 10px auto;
  36. display: block;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <!-- ================================================================= -->
  42. <!-- navbar -->
  43. <div class="text-center link-box" style="position: fixed; right: 2vw; bottom: 2vh;z-index: 10;padding: 1.2rem 1rem;width: 4rem;height: 4rem;
  44. background-color: white; border-radius: 50%;box-shadow: 1px 1px 5px 1px rgba(201, 201, 201, 0.637);">
  45. <i class="fas fa-link copy"></i>
  46. </div>
  47. <nav class="navbar navbar-expand-lg navbar-light">
  48. <div class="container-fluid">
  49. <a class="navbar-brand" href="index.html">>AI Spokesgirl</a>
  50. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
  51. aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  52. <span class="navbar-toggler-icon"></span>
  53. </button>
  54. <div class="collapse navbar-collapse" id="navbarSupportedContent" class="d-md-none">
  55. <ul class="navbar-nav ms-auto my-2 mb-lg-0">
  56. <li class="nav-list-item pb-1 mb-3" data-bs-toggle="modal" data-bs-target="#howto">
  57. <i class="fas fa-book-open me-2"></i>
  58. <lan set-lan="html:usage_intro">使用說明</lan>
  59. </li>
  60. <!-- <li class="nav-list-item pb-1" data-bs-toggle="modal" data-bs-target="#history" onclick="openNav()">
  61. <i class="fas fa-history me-2"></i>
  62. <lan set-lan="html:history">歷史紀錄</lan>
  63. </li> -->
  64. <!-- <li class="nav-item">
  65. <a class="nav-link active" aria-current="page" href="pricing.html" set-lan="html:pricing">早鳥方案</a>
  66. </li>
  67. <li class="nav-item dropdown">
  68. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
  69. 中/En
  70. </a>
  71. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  72. <li><button class="nav-link lan-swtich" aria-current="page" set-lan="html:en" onclick="changeLan(this)" value="en">English</button></li>
  73. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh" onclick="changeLan(this)" value="zh">中文</button></li>
  74. </ul>
  75. </li>
  76. <li class="nav-item">
  77. <a class="nav-link active btn-login" aria-current="page" href="login.html" set-lan="html:login">登入</a>
  78. </li>
  79. <li class="nav-item">
  80. <a class="nav-link btn-userProfile" aria-current="page" href="./user_profile2.html" set-lan="html:user_profile">會員資料</a>
  81. </li>
  82. <li class="nav-item">
  83. <a class="nav-link btn-logout" aria-current="page" set-lan="html:logout">登出</a>
  84. </li> -->
  85. </ul>
  86. </div>
  87. </div>
  88. </nav>
  89. <!-- ================================================================= -->
  90. <!-- ================================================================= -->
  91. <!-- content -->
  92. <div class="container-fluid px-0">
  93. <div class="container-fluid">
  94. <!-- <div id="mySidenav" class="sidenav">
  95. <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
  96. <h2 class="go_title" href="index.html"><a class="nav-link active" aria-current="page" href="index.html">AI Spokesgirl</a></h2>
  97. <ul class="nav-list">
  98. <li class="nav-list-item pb-1 mb-3" data-bs-toggle="modal" data-bs-target="#howto"><i class="fas fa-book-open me-2"></i><lan set-lan="html:usage_intro">使用說明</lan></li>
  99. <li class="nav-list-item pb-1" data-bs-toggle="modal" data-bs-target="#history" onclick="openNav()"><i class="fas fa-history me-2"></i><lan set-lan="html:history">歷史紀錄</lan></li>
  100. </ul>
  101. <p class="right-text text-white d-inline-block">Choozmo All Rights Reserved</p>
  102. </div> -->
  103. <div id="mySidenav" class="sidenav">
  104. <!-- <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a> -->
  105. <div class="sidenav-content">
  106. <div class="text-start mt-3">
  107. <a style="font-size: 28px;" class="nav-link active ps-1 fw-bold" aria-current="page" href="index.html"> <img style="display: inline;" width="32" class="home-btn me-2 mb-3" src="./img/about/home_黑.png" alt="">AI
  108. Spokesgirl</a>
  109. </div>
  110. <div class="userName"></div>
  111. <img class="user img-fluid rounded-circle" src="img/userimg.png" alt="">
  112. <p class="text-white my-3 text-center" set-lan="html:Createsthtoday">今天要做甚麼影片呢?</p>
  113. <div class="navbar-nav mb-2 mb-lg-0 px-3 pe-4">
  114. <a class="nav-link btn-gocreate text-white col btn-makev" aria-current="page"
  115. href="./autoMaker.html" set-lan="html:make_video">影片製作</a>
  116. <!-- <a class="nav-link btn-gocreate text-white col-6 btn-makelong" aria-current="page" href="./make_video_long.html" set-lan="html:make_video_long">長影片製作</a> -->
  117. </div>
  118. <!-- <div class="navbar-nav mb-2 mb-lg-0 px-3 pe-4">
  119. <a class="nav-link btn-gocreate text-white col-6 btn-makeppt" aria-current="page" href="./make_video_slide.html" set-lan="html:make_slides">投影片影片製作</a>
  120. <a class="nav-link btn-gocreate text-white col-6 btn-makeen" aria-current="page" href="./index_eng.html" set-lan="html:make_video_eng">純英文影片製作</a>
  121. </div> -->
  122. <hr>
  123. <ul class="nav-list ps-0">
  124. <li class="nav-list-item pb-1 mb-3" data-bs-toggle="modal" data-bs-target="#howto"><i
  125. class="fas fa-book-open me-2"></i>
  126. <lan set-lan="html:usage_intro">使用說明</lan>
  127. </li>
  128. <!-- <a style="text-decoration: none;color:white;" href="./user_profile2.html">
  129. <li class="nav-list-item pb-1 mb-3" data-bs-toggle="modal">
  130. <i class="fas fa-user me-2"></i>
  131. <lan set-lan="html:user_profile">會員資料</lan>
  132. </li>
  133. </a> -->
  134. </ul>
  135. </div>
  136. <div class="right-text">
  137. <a target="_blank" href="http://www.choozmo.com/">| 官網 |</a>
  138. <a target="_blank" href="https://www.linkedin.com/company/choozmo/mycompany/"><img style="width: 20px;"
  139. src="img/linkedin-logo-copy.png" alt=""></a>
  140. <a target="_blank" href="https://www.facebook.com/choozmo/"><img style="width: 20px;"
  141. src="img/facebook_logos_PNG19753.png" alt=""></a>
  142. <a target="_blank" href="https://www.instagram.com/choozmo_cmm/"><img style="width: 20px;" src="img/IG.png"
  143. alt=""></a>
  144. <a target="_blank" href="https://line.me/R/ti/p/@choozmo?from=page"><img style="width: 20px;"
  145. src="img/LINE_logo.svg.png" alt=""></a>
  146. <a target="_blank" href="https://www.youtube.com/channel/UC2Qda9PhJWuiMTCZ-j7K_hg"><img style="width: 20px;"
  147. src="img/youtube.png" alt=""></a>
  148. <a target="_blank" href="https://twitter.com/ai_cmm"><img style="width: 20px;" src="img/twitter.png"
  149. alt=""></a>
  150. <p class="Reserved text-white text-start mt-3 ps-2">Choozmo All Rights Reserved</p>
  151. </div>
  152. </div>
  153. <!-- <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; 過去紀錄</span> -->
  154. <div class="content ms-auto auto-date">
  155. <div class="container">
  156. <div class="text-center mb-4">
  157. <h2><img src="https://i.imgur.com/Sb7ik9D.png" width="45" class="me-2"><lan set-lan="html:selectDate">選擇您想製作的日期</lan></h2>
  158. </div>
  159. <div class="row row-cols-2 row-cols-lg-4 g-3 mb-4">
  160. <div class="col">
  161. <div class="card border text-center py-5" data-date="2021-11-10" onclick="getDate('2021-11-10')">
  162. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/10</h5>
  163. </div>
  164. </div>
  165. <div class="col">
  166. <div class="card border text-center py-5" data-date="2021-11-11" onclick="getDate('2021-11-11')">
  167. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/11</h5>
  168. </div>
  169. </div>
  170. <div class="col">
  171. <div class="card border text-center py-5" data-date="2021-11-12" onclick="getDate('2021-11-12')">
  172. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/12</h5>
  173. </div>
  174. </div>
  175. <div class="col">
  176. <div class="card border text-center py-5" data-date="2021-11-13" onclick="getDate('2021-11-13')">
  177. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/13</h5>
  178. </div>
  179. </div>
  180. <div class="col">
  181. <div class="card border text-center py-5" data-date="2021-11-14" onclick="getDate('2021-11-14')">
  182. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/14</h5>
  183. </div>
  184. </div>
  185. <div class="col">
  186. <div class="card border text-center py-5" data-date="2021-11-15" onclick="getDate('2021-11-15')">
  187. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/15</h5>
  188. </div>
  189. </div>
  190. <div class="col">
  191. <div class="card border text-center py-5" data-date="2021-11-16" onclick="getDate('2021-11-16')">
  192. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/16</h5>
  193. </div>
  194. </div>
  195. <div class="col">
  196. <div class="card border text-center py-5" data-date="2021-11-17" onclick="getDate('2021-11-17')">
  197. <h5 class="card-title mb-0" style="font-size: 2.5rem;">11/17</h5>
  198. </div>
  199. </div>
  200. </div>
  201. <!-- <div class="auto-date__result">
  202. </div> -->
  203. <div class="auto-date__cards">
  204. <div class="text-center mb-4">
  205. <h2><i class="fas fa-info-circle me-2"></i><lan set-lan="html:Previewweathers">氣象報導影片內容預覽</lan></h2>
  206. </div>
  207. <div class="row">
  208. <div class="col-10 mx-auto">
  209. <div class="card border text-center mb-3" data-date="2021-11-16">
  210. <div class="row g-0">
  211. <div class="col-md-4">
  212. <img src="https://cdn2.ettoday.net/images/5930/d5930739.jpg" class="img-fluid rounded-start" alt="...">
  213. </div>
  214. <div class="col-md-8 d-flex align-items-center">
  215. <div class="card-body">
  216. <h5 class="card-title">
  217. 中央氣象局指出,今天天氣與昨天類似,降雨範圍以基隆北海岸與東半部為主,颱風消息方面,第20號輕位於台灣東方約1910公里的海面上
  218. ,未來朝日本東方海面前進,對台灣天氣無直接影響,但基隆北海岸、東半部及恆春半島沿海易有長浪發生。
  219. </h5>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. <input id="checker" type="button" name="next" class="next action-button" set-lan="value:submit"
  228. value="送出" />
  229. </div>
  230. <!-- <div style="width: 80%;margin: 0 auto;"><iframe src="http://www.choozmo.com:8168/ai_anchor_video/16250306886652043.mp4" frameborder="0" style="width: 100%;height: 400px;"></iframe></div> -->
  231. </div>
  232. <div class="modal fade" tabindex="-1" id="howto" aria-labelledby="howto" aria-hidden="true">
  233. <div class="modal-dialog">
  234. <div class="modal-content">
  235. <div class="modal-header">
  236. <h5 class="modal-title" id="staticBackdropLabel" set-lan="html:usage_intro">使用說明</h5>
  237. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  238. </div>
  239. <div class="modal-body">
  240. <div class="modal-terms">
  241. <ol class="ps-0">
  242. <li set-lan="html:one_line_to_one_img">1. 一句台詞請對應提供一個影像連結做為搭配</li>
  243. <li>
  244. <lang set-lan="html:sup_img_profile">2. 影像連結檔案格式支援:</lang>
  245. <stong class="strong">.png, jpg, .mp4</stong>
  246. </li>
  247. <li set-lan="html:submit_to_wait">3. 點選“送出”之後需等待一段影片製作的時間,請您耐心等候,待製作完畢可於通知網址查看</li>
  248. </ol>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. <div class="modal" tabindex="-1" id="history" aria-labelledby="history" aria-hidden="true">
  255. <div class="modal-dialog modal-dialog-scrollable">
  256. <div class="modal-content">
  257. <div class="modal-header">
  258. <h5 class="modal-title" id="staticBackdropLabel" set-lang="html:history">歷史紀錄</h5>
  259. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  260. </div>
  261. <div class="modal-body">
  262. <div class="modal-terms">
  263. <div class="loader"><img src="img/bx_loader.gif" alt=""></div>
  264. <ol class="ps-0 historyList">
  265. </ol>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. <div class="modal" tabindex="-1" id="avatarmega" aria-labelledby="history" aria-hidden="true">
  272. <div class="modal-dialog modal-dialog-centered">
  273. <div class="modal-content text-center">
  274. <div class="modal-body">
  275. <img class="modal-img" src="" alt="">
  276. <h5 class="modal-title mt-2"></h5>
  277. <button type="button" class="btn btn-secondary btn-dismiss" data-bs-dismiss="modal"
  278. set-lan="html:close">Close</button>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. <!-- ================================================================= -->
  286. <!-- ================================================================= -->
  287. <!-- footer -->
  288. <footer class="fixed-bottom text-center py-2">
  289. </footer>
  290. <!-- ================================================================= -->
  291. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  292. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
  293. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  294. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  295. crossorigin="anonymous"></script>
  296. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  297. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  298. crossorigin="anonymous"></script>
  299. <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.all.min.js"></script>
  300. <script src="js/lan.js"></script>
  301. <script>
  302. var client_id = Date.now()
  303. var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
  304. var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
  305. return new bootstrap.Tooltip(tooltipTriggerEl)
  306. });
  307. const dateCard = $('.auto-date .card');
  308. $('.auto-date__cards').css('display', 'none');
  309. $('.action-button').css('display', 'none');
  310. $('.link-box').css('display', 'none');
  311. let data = {
  312. "text_content":[
  313. "中央氣象局指出,今天天氣與昨天類似,降雨範圍以基隆北海岸與東半部為主,颱風消息方面,第20號輕位於台灣東方約1910公里的海面上,未來朝日本東方海面前進,對台灣天氣無直接影響,但基隆北海岸、東半部及恆春半島沿海易有長浪發生。",
  314. "氣象局預估,週五至週六清晨東北季風影響,北部、東北部早晚較涼,降雨方面在迎風面的基隆北海岸、東半部及大台北地區有局部短暫雨,其他地區為多雲到晴,午後南部地區有局部短暫陣雨。",
  315. "天氣風險公司總經理彭啟未來7-10天都維持類似的天氣,下一波變化有些預測落在11月中上旬,約11/10-11/12,北方冷高壓有機會再度南下,是否如某些預測大降溫,但這變數仍很多,保持關注就可以了。",
  316. "氣象局說明,今東北季風稍微增強,然而水氣沒有顯著增加,因此天氣表現與昨日類似,只是早晚稍微又涼些,清晨中部以北及東北部約20、21度,花東及南部地區約23度,降雨範圍依舊以迎風面的基隆北海岸及東半部的局部短暫雨為主,且大台北地區雨較零星,其他地方則為多雲到晴,午後南部地區有局部短暫陣雨的機率,但範圍跟程度都影響不大。"
  317. ],
  318. "image_urls":[
  319. "https://cdn2.ettoday.net/images/5930/d5930739.jpg",
  320. "https://cdn2.ettoday.net/images/5917/d5917494.jpg",
  321. "https://cdn2.ettoday.net/images/5915/d5915515.jpg",
  322. "https://cdn2.ettoday.net/images/5931/d5931569.jpg"
  323. ],
  324. "link": "www.choozmo.com:8168/ai_anchor_video/16370662632291481.mp4"
  325. };
  326. function getDate(num) {
  327. console.log(num);
  328. axios({
  329. method: 'get',
  330. headers: {"accept": "application/json"},
  331. url: `https://api.ptt.cx:8555/?date=${num}`,
  332. }).then(res => {
  333. //window.location.href = './autoMaker_result.html';
  334. // Swal.fire({
  335. // icon: 'success',
  336. // text: '',
  337. // confirmButtonColor: '#3085d6',
  338. // });
  339. console.log(res.data);
  340. data = { ...res.data };
  341. let dataStr = '';
  342. for(let i = 0; i < data['image_urls'].length; i++) {
  343. dataStr += `<div class="card border text-center mb-3" data-date="2021-11-16">
  344. <div class="row g-0">
  345. <div class="col-md-4">
  346. <img src="${data['image_urls'][i]}" class="img-fluid rounded-start" alt="...">
  347. </div>
  348. <div class="col-md-8 d-flex align-items-center">
  349. <div class="card-body">
  350. <h5 class="card-title">
  351. ${data['text_content'][i]}
  352. </h5>
  353. </div>
  354. </div>
  355. </div>
  356. </div>`;
  357. }
  358. $('.auto-date__cards .col-10').html(dataStr);
  359. $('.auto-date__cards').css('display', 'block');
  360. $('.action-button').css('display', 'block');
  361. }).catch(err => {
  362. console.log(err);
  363. //window.location.href = './autoMaker_result.html';
  364. let dataStr = '';
  365. for(let i = 0; i < data.text.length; i++) {
  366. dataStr += `<div class="card border text-center mb-3" data-date="2021-11-16">
  367. <div class="row g-0">
  368. <div class="col-md-4">
  369. <img src="${data['imgurl'][i]}" class="img-fluid rounded-start" alt="...">
  370. </div>
  371. <div class="col-md-8 d-flex align-items-center">
  372. <div class="card-body">
  373. <h5 class="card-title">
  374. ${data['text'][i]}
  375. </h5>
  376. </div>
  377. </div>
  378. </div>
  379. </div>`;
  380. }
  381. $('.auto-date__cards .col-10').html(dataStr);
  382. $('.auto-date__cards').css('display', 'block');
  383. $('.action-button').css('display', 'block');
  384. })
  385. }
  386. $('.action-button').click(() => {
  387. Swal.fire({
  388. icon: 'success',
  389. title: '成功送出',
  390. text: `影片網址 ${data.link}`,
  391. confirmButtonColor: '#3085d6',
  392. });
  393. $('.link-box').css('display', 'block');
  394. /* $('.auto-date__cards').css('display', 'none');
  395. $('.action-button').css('display', 'none');
  396. const linkStr = `<div class="row">
  397. <div class="card border col-10 mx-auto text-center">
  398. <p set-lan="html:preview_videos"><i class="fas fa-link copy me-2"></i>預覽影片</p>
  399. <a id='linker' class="ms-2 d-inline-block" set-lan="html:video_link" onclick="window.open('http://www.choozmo.com:8168/ai_anchor_video/16298192914318144.mp4')">http://www.choozmo.com:8168/ai_anchor_video/16298192914318144.mp4</a>
  400. </div>
  401. </div>`
  402. $('.auto-date .container').html(linkStr); */
  403. })
  404. $('.link-box').click(() => {
  405. Swal.fire({
  406. icon: 'info',
  407. text: `影片網址 ${data.link}`,
  408. confirmButtonColor: '#3085d6',
  409. });
  410. })
  411. </script>
  412. </body>
  413. </html>