|
@@ -339,7 +339,7 @@
|
|
|
<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>
|
|
|
- <button type="button" style="border:1px solid #fff; border-radius: 30px;" class="qrcode btn text-white px-3" data-bs-toggle="modal" data-bs-target="#qrcode-modal">掃描QRCode</button>
|
|
|
+ <button 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> -->
|
|
@@ -379,10 +379,15 @@ $(".qrcode").click(function () {
|
|
|
}, 0);
|
|
|
|
|
|
qrcode_scanner();
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ /* else {
|
|
|
alert("關閉QRCode掃描器");
|
|
|
$('#qr-reader').css('display','none');
|
|
|
- }
|
|
|
+ } */
|
|
|
+});
|
|
|
+
|
|
|
+$(".close").click(function () {
|
|
|
+ $('#qr-reader').css('display','none');
|
|
|
});
|
|
|
|
|
|
// 啟動QRCode Scanner
|