shop.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  8. <META HTTP-EQUIV="Expires" CONTENT="-1">
  9. <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
  10. <title>ARK.Cards</title>
  11. <link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
  12. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
  13. integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  14. <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css" />
  15. <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css" />
  16. <link rel="stylesheet" href="./style.css">
  17. </head>
  18. <body>
  19. <section id="sec01" class="sec01 container-fluid px-0 mx-0 mb-5">
  20. <div class="card bg-transparent text-white border-0">
  21. <img src="./img/1618431559-GettyImages-1309739877.jpg" class="img-fluid" alt="...">
  22. <div style="position: relative;" class="card-img-overlay p-0 d-flex align-items-end justify-content-center">
  23. <h5 style="background: rgba(0,0,0,0.7); font-size: 16px; position: absolute; z-index: 20;" class="card-title p-4 w-50 text-center fw-bold">NFT商城</h5>
  24. </div>
  25. </div>
  26. </section>
  27. <form class="nft-buy" name="buynft" action="" id="comments">
  28. <section id="sec05-moblie" class="sec05 my-4">
  29. <div class="sec05-moblie container-fluid">
  30. <div class="sec05-moblie-header">
  31. <h1 class="secn-title ps-2">NFT商品</h1>
  32. </div>
  33. <p class="text-start mb-2">※點選您喜歡的nft商品即可購買</p>
  34. <div class="sec06-nft-mall row row-cols-1 row-cols-md-4 g-4">
  35. <!-- <div class="col">
  36. <div class="card h-100">
  37. <a target="_blank" href="">
  38. <img src="./img/sec05/sec05-1.png"class="card-img-top" alt="...">
  39. </a>
  40. <div class="card-body p-2">
  41. <a target="_blank" href="">
  42. <h5 class="card-title">Lorem ipsum.</h5>
  43. </a>
  44. <p class="card-text">
  45. Lorem ipsum dolor sit amet,
  46. </p>
  47. <p class="card-text row">
  48. <small class="text-muted col-6 px-1">
  49. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  50. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  51. </small>
  52. <small class="price col-6 px-0 text-center">
  53. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  54. </p>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="col">
  59. <div class="card h-100">
  60. <a target="_blank" href="">
  61. <img src="./img/sec05/sec05-2.png"class="card-img-top" alt="...">
  62. </a>
  63. <div class="card-body p-2">
  64. <a target="_blank" href="">
  65. <h5 class="card-title">Lorem ipsum.</h5>
  66. </a>
  67. <p class="card-text">
  68. Lorem ipsum dolor sit amet,
  69. </p>
  70. <p class="card-text row">
  71. <small class="text-muted col-6 px-1">
  72. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  73. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  74. </small>
  75. <small class="price col-6 px-0 text-center">
  76. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  77. </p>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="col">
  82. <div class="card h-100">
  83. <a target="_blank" href="./artist-course.html">
  84. <img src="./img/sec05/sec05-3.png"class="card-img-top" alt="...">
  85. </a>
  86. <div class="card-body p-2">
  87. <a target="_blank" href="./artist-course.html">
  88. <h5 class="card-title">Lorem ipsum.</h5>
  89. </a>
  90. <p class="card-text">
  91. Lorem ipsum dolor sit amet,
  92. </p>
  93. <p class="card-text row">
  94. <small class="text-muted col-6 px-1">
  95. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  96. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  97. </small>
  98. <small class="price col-6 px-0 text-center">
  99. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  100. </p>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="col">
  105. <div class="card h-100">
  106. <a target="_blank" href="./artist-course.html">
  107. <img src="./img/sec05/sec05-4.png"class="card-img-top" alt="...">
  108. </a>
  109. <div class="card-body p-2">
  110. <a target="_blank" href="./artist-course.html">
  111. <h5 class="card-title">Lorem ipsum.</h5>
  112. </a>
  113. <p class="card-text">
  114. Lorem ipsum dolor sit amet,
  115. </p>
  116. <p class="card-text row">
  117. <small class="text-muted col-6 px-1">
  118. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  119. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  120. </small>
  121. <small class="price col-6 px-0 text-center">
  122. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  123. </p>
  124. </div>
  125. </div>
  126. </div> -->
  127. </div>
  128. </div>
  129. <!-- <div class="sec05-moblie container-fluid">
  130. <div class="sec05-moblie-header">
  131. <h1 class="secn-title ps-2">運動</h1>
  132. </div>
  133. <div class="sec05-moblie-container row row-cols-1 row-cols-md-4 g-4">
  134. <div class="col">
  135. <div class="card h-100">
  136. <a target="_blank" href="./artist-course.html">
  137. <img src="./img/sec05/5.png"class="card-img-top" alt="...">
  138. </a>
  139. <div class="card-body">
  140. <a target="_blank" href="./artist-course.html">
  141. <h5 class="card-title">Lorem ipsum.</h5>
  142. </a>
  143. <p class="card-text">
  144. Lorem ipsum dolor sit amet,
  145. </p>
  146. <p class="card-text row">
  147. <small class="text-muted col-6 px-1">
  148. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  149. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  150. </small>
  151. <small class="price col-6 px-0 text-center">
  152. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  153. </p>
  154. </div>
  155. </div>
  156. </div>
  157. <div class="col">
  158. <div class="card h-100">
  159. <a target="_blank" href="./artist-course.html">
  160. <img src="./img/sec05/6.png"class="card-img-top" alt="...">
  161. </a>
  162. <div class="card-body">
  163. <a target="_blank" href="./artist-course.html">
  164. <h5 class="card-title">Lorem ipsum.</h5>
  165. </a>
  166. <p class="card-text">
  167. Lorem ipsum dolor sit amet,
  168. </p>
  169. <p class="card-text row">
  170. <small class="text-muted col-6 px-1">
  171. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  172. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  173. </small>
  174. <small class="price col-6 px-0 text-center">
  175. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  176. </p>
  177. </div>
  178. </div>
  179. </div>
  180. <div class="col">
  181. <div class="card h-100">
  182. <a target="_blank" href="./artist-course.html">
  183. <img src="./img/sec05/7.png"class="card-img-top" alt="...">
  184. </a>
  185. <div class="card-body">
  186. <a target="_blank" href="./artist-course.html">
  187. <h5 class="card-title">Lorem ipsum.</h5>
  188. </a>
  189. <p class="card-text">
  190. Lorem ipsum dolor sit amet,
  191. </p>
  192. <p class="card-text row">
  193. <small class="text-muted col-6 px-1">
  194. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  195. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  196. </small>
  197. <small class="price col-6 px-0 text-center">
  198. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  199. </p>
  200. </div>
  201. </div>
  202. </div>
  203. <div class="col">
  204. <div class="card h-100">
  205. <a target="_blank" href="./artist-course.html">
  206. <img src="./img/sec05/8.png"class="card-img-top" alt="...">
  207. </a>
  208. <div class="card-body">
  209. <a target="_blank" href="./artist-course.html">
  210. <h5 class="card-title">Lorem ipsum.</h5>
  211. </a>
  212. <p class="card-text">
  213. Lorem ipsum dolor sit amet,
  214. </p>
  215. <p class="card-text row">
  216. <small class="text-muted col-6 px-1">
  217. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  218. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  219. </small>
  220. <small class="price col-6 px-0 text-center">
  221. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  222. </p>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. <div class="sec05-moblie container-fluid">
  229. <div class="sec05-moblie-header">
  230. <h1 class="secn-title ps-2">藝術</h1>
  231. </div>
  232. <div class="sec05-moblie-container row row-cols-1 row-cols-md-4 g-4">
  233. <div class="col">
  234. <div class="card h-100">
  235. <a target="_blank" href="./artist-course.html">
  236. <img src="./img/sec05/9.png" class="card-img-top" alt="...">
  237. </a>
  238. <div class="card-body">
  239. <a target="_blank" href="./artist-course.html">
  240. <h5 class="card-title">Lorem ipsum.</h5>
  241. </a>
  242. <p class="card-text">
  243. Lorem ipsum dolor sit amet,
  244. </p>
  245. <p class="card-text row">
  246. <small class="text-muted col-6 px-1">
  247. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  248. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  249. </small>
  250. <small class="price col-6 px-0 text-center">
  251. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  252. </p>
  253. </div>
  254. </div>
  255. </div>
  256. <div class="col">
  257. <div class="card h-100">
  258. <a target="_blank" href="./artist-course.html">
  259. <img src="./img/sec05/10.png"class="card-img-top" alt="...">
  260. </a>
  261. <div class="card-body">
  262. <a target="_blank" href="./artist-course.html">
  263. <h5 class="card-title">Lorem ipsum.</h5>
  264. </a>
  265. <p class="card-text">
  266. Lorem ipsum dolor sit amet,
  267. </p>
  268. <p class="card-text row">
  269. <small class="text-muted col-6 px-1">
  270. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  271. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  272. </small>
  273. <small class="price col-6 px-0 text-center">
  274. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  275. </p>
  276. </div>
  277. </div>
  278. </div>
  279. <div class="col">
  280. <div class="card h-100">
  281. <a target="_blank" href="./artist-course.html">
  282. <img src="./img/sec05/11.png"class="card-img-top" alt="...">
  283. </a>
  284. <div class="card-body">
  285. <a target="_blank" href="./artist-course.html">
  286. <h5 class="card-title">Lorem ipsum.</h5>
  287. </a>
  288. <p class="card-text">
  289. Lorem ipsum dolor sit amet,
  290. </p>
  291. <p class="card-text row">
  292. <small class="text-muted col-6 px-1">
  293. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  294. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  295. </small>
  296. <small class="price col-6 px-0 text-center">
  297. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  298. </p>
  299. </div>
  300. </div>
  301. </div>
  302. <div class="col">
  303. <div class="card h-100">
  304. <a target="_blank" href="./artist-course.html">
  305. <img src="./img/sec05/12.png"class="card-img-top" alt="...">
  306. </a>
  307. <div class="card-body">
  308. <a target="_blank" href="./artist-course.html">
  309. <h5 class="card-title">Lorem ipsum.</h5>
  310. </a>
  311. <p class="card-text">
  312. Lorem ipsum dolor sit amet,
  313. </p>
  314. <p class="card-text row">
  315. <small class="text-muted col-6 px-1">
  316. <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
  317. src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
  318. </small>
  319. <small class="price col-6 px-0 text-center">
  320. <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
  321. </p>
  322. </div>
  323. </div>
  324. </div>
  325. </div>
  326. </div> -->
  327. </section>
  328. <div style="background: #484848;position: fixed; bottom:0px; z-index: 20;" class="buybox w-100 pt-2">
  329. <!-- <div class="p-2">
  330. <div class="text-end px-2">
  331. <p class="text-start text-white mb-2">※一次只能購買一則NFT收藏品</p>
  332. <button type="button" style="border:1px solid #fff; border-radius: 30px;" class="close btn text-white px-3">取消</button>
  333. <input style="border-radius: 30px; background:#fff; border: none;" class="send-btn px-3 ms-1 py-2" type="submit" value="購買">
  334. </div>
  335. </div> -->
  336. </div>
  337. </form>
  338. <footer style="background: #484848;" class="py-4 w-100 px-0 mx-0">
  339. <p class="text-white text-center mb-0">Copyright 2021 版權所有 © Ark.Cards</p>
  340. </footer>
  341. <script src="https://unpkg.com/aos@next/dist/aos.js"></script>
  342. <script>
  343. AOS.init();
  344. </script>
  345. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  346. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  347. crossorigin="anonymous"></script>
  348. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  349. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  350. crossorigin="anonymous"></script>
  351. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  352. <script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
  353. <script src="./goto.js"></script>
  354. <script charset="utf-8" src="https://static.line-scdn.net/liff/edge/2/sdk.js"></script>
  355. </body>
  356. <script>
  357. $(document).ready(function () {
  358. liff.init({
  359. liffId: "1656404434-qeEpXmzx"
  360. })
  361. .then(() => {
  362. var context = liff.getContext();
  363. console.log(context);
  364. var profile = liff.getProfile();
  365. console.log(profile);
  366. // login
  367. if (!liff.isLoggedIn()) {
  368. console.log("您未登入");
  369. console.log('context.userId = ' + context.userId); // test
  370. liff.login({ redirectUri: "https://ark.cards/shop.html?"+context.userId }); // test
  371. // liff.login({ redirectUri: "https://liff.line.me/1656404434-qeEpXmzx?"+context.userId }); // test
  372. } else {
  373. console.log("您已登入");
  374. }
  375. // 購買頁面
  376. shop(context.userId);
  377. })
  378. .catch((err) => {
  379. console.log('初始化失敗: ' + err.code + ", " + err.message);
  380. });
  381. });
  382. </script>
  383. </html>