123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
- <META HTTP-EQUIV="Expires" CONTENT="-1">
- <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
- <title>ARK.Cards</title>
-
- <link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
- integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
- <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css" />
- <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css" />
- <link rel="stylesheet" href="./style.css">
- </head>
- <div id="qr-reader" style="width:100%;display:none"></div>
- <body>
- <section id="sec01" class="sec01-collect container-fluid px-0 mx-0">
- <img class="img-fluid" src="./img/banner.png" alt="">
- <div style="position: relative;" class="card-img-overlay p-0 d-flex align-items-end">
- <h5 style="background: #fff; font-size: 16px; position: absolute; z-index: 20;"
- class="card-title py-3 px-5 text-center mb-0 fw-bold">我的收藏</h5>
- </div>
- </section>
- <form class="collect-send" action="">
- <section id="sec05-moblie" class="sec05 my-4">
- <div class="sec05-moblie container-fluid">
- <div class="sec05-moblie-header">
- <h1 class="secn-title ps-2">NFT收藏品</h1>
- </div>
- <div class="sec05-moblie-container row row-cols-1 row-cols-md-4 g-4">
- <!-- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="">
- <img src="./img/sec05/sec05-1.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body p-2">
- <a target="_blank" href="">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="">
- <img src="./img/sec05/sec05-2.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body p-2">
- <a target="_blank" href="">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/sec05-3.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body p-2">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/sec05-4.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body p-2">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div> -->
- </div>
- </div>
- <!-- <div class="sec05-moblie container-fluid">
- <div class="sec05-moblie-header">
- <h1 class="secn-title ps-2">運動</h1>
- </div>
- <div class="sec05-moblie-container row row-cols-1 row-cols-md-4 g-4">
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/5.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/6.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/7.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/8.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- </div>
-
-
- </div>
- <div class="sec05-moblie container-fluid">
- <div class="sec05-moblie-header">
- <h1 class="secn-title ps-2">藝術</h1>
- </div>
- <div class="sec05-moblie-container row row-cols-1 row-cols-md-4 g-4">
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/9.png" class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/10.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/11.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card h-100">
- <a target="_blank" href="./artist-course.html">
- <img src="./img/sec05/12.png"class="card-img-top" alt="...">
- </a>
- <div class="card-body">
- <a target="_blank" href="./artist-course.html">
- <h5 class="card-title">Lorem ipsum.</h5>
- </a>
- <p class="card-text">
- Lorem ipsum dolor sit amet,
- </p>
- <p class="card-text row">
- <small class="text-muted col-6 px-1">
- <img class="mb-1 mx-1 d-inline" style="width: 10px; object-fit: cover; "
- src="./img/sec05/Icon awesome-ethereum.png" alt=""><span>333</span>
- </small>
- <small class="price col-6 px-0 text-center">
- <img class="mb-1 mx-1 d-inline" style="width: 12px; object-fit: cover; " src="./img/sec05/like.png" alt=""><span>333</span></small>
- </p>
- </div>
- </div>
- </div>
- </div>
-
-
- </div> -->
- </section>
- <div style="background: #484848;position: fixed; bottom:0px; z-index: 20;" class="sendbox w-100 pt-2">
- <div class="p-2">
- <input id="address" style="border-radius: 10px; border:none;" class="p-2 w-100 mb-3" type="text" name="address" placeholder="請輸入您要發送的地址" required>
- <div class="text-end px-2">
- <p class="text-start text-white mb-2">※ 一次只能發送一則NFT收藏品</p>
- <p class="text-start text-white mb-2">※ 按下【確定發送】後,NFT擁有權將轉移至接收者</p>
- <button id="qrcodeButton"type="button" style="border:1px solid #fff; border-radius: 30px;" class="qrcode btn text-white px-3">掃描QRCode</button>
- <button type="button" style="border:1px solid #fff; border-radius: 30px;" class="close btn text-white px-3">取消</button>
- <input style="border-radius: 30px; background:#fff; border: none;" class="send-btn p-2 ms-1" type="submit" value="確定發送">
- <!-- <button sty type="button" style="border-radius: 30px; background:#fff;" class="btn ms-2">確定發送</button> -->
- </div>
- </div>
- </div>
- </form>
- <footer style="background: #484848;" class="py-4 w-100 px-0 mx-0">
- <p class="text-white text-center mb-0">Copyright 2021 版權所有 © Ark.Cards</p>
- </footer>
-
- <script src="https://unpkg.com/aos@next/dist/aos.js"></script>
- <script>
- AOS.init();
- </script>
- <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
- integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
- crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
- integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
- crossorigin="anonymous"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
- <script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
- <script src="./goto.js"></script>
- <!-- <script src="./html5-qrcode.min.js"></script> -->
- <script charset="utf-8" src="https://static.line-scdn.net/liff/edge/2/sdk.js"></script>
- <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
- <script>
- $(document).ready(function () {
- liff.init({
- liffId: "1656404434-gJ0Nzy1Y"
- })
- .then(() => {
- var context = liff.getContext();
- console.log(context);
- var profile = liff.getProfile();
- console.log(profile);
- // login
- if (!liff.isLoggedIn()) {
- console.log("您未登入");
- console.log('context.userId = ' + context.userId); // test
- liff.login({ redirectUri: "https://ark.cards/collect.html?"+context.userId }); // test
- //liff.login({ redirectUri: "https://liff.line.me/1656404434-gJ0Nzy1Y?"+context.userId }); // test
- } else {
- console.log("您已登入");
- }
- // 收藏頁面
- collection(context.userId);
- })
- .catch((err) => {
- console.log('初始化失敗: ' + err.code + ", " + err.message);
- });
- /*
- document.getElementById('qrcodeButton').addEventListener('click', function() {
- alert('啟動QRCode Scanner'); // test
-
- // scanCodeV2 call
- liff.scanCodeV2().then(result => {
- // e.g. result = { value: "Hello LIFF app!" }
- alert(JSON.stringify(result)); // test
- $('#address').val(result.value);
- }).catch(err => {
- alert(JSON.stringify(err)); // test
- console.log(JSON.stringify(err));
- });
- });
- */
- /*
- $(".qrcode").click(function () {
- alert('QRCode Scanner Starting V1'); // test
-
- if (liff.scanCode) {
- liff.scanCode().then(result => {
- alert(JSON.stringify(result)); // test
- $('#address').val(result.value);
- });
- }
- });
- */
- $(".qrcode").click(function () {
- // alert('掃描QRCode'); // test
-
- // scanCodeV2 call
- liff.scanCodeV2().then(result => {
- // e.g. result = { value: "Hello LIFF app!" }
- // alert(JSON.stringify(result)); // test
- $('#address').val(result.value);
- }).catch(err => {
- // alert(JSON.stringify(err)); // test
- console.log(JSON.stringify(err));
- });
- });
- });
- </script>
- </body>
- </html>
|