移除不可用 qrcode 包并切换为 jquery qrcode

This commit is contained in:
2025-10-13 10:18:53 +08:00
parent 5d1bf20bcf
commit 4bdcfbf04e
13 changed files with 19 additions and 28 deletions

View File

@@ -696,7 +696,6 @@
<script src="/http/js/jquery.slicknav.min.js"></script>
<script src="/http/js/jquery.parallax-1.1.3.js"></script>
<script src="/http/js/jquery-ui.js"></script>
<script type="text/javascript" src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/qrcodejs/1.0.0/qrcode.min.js"></script>
<script src="~/js/vue.js"></script>
@@ -1134,7 +1133,7 @@ $(document).on("ready", function(e) {
$('#pay').modal('hide');
} else if (res.code == 3) {
$("#qrcode_s").html('');
new QRCode(document.getElementById("qrcode_s"), {
$("#qrcode_s").qrcode({
text: res.data,
width : 300,
height : 300