移除不可用 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

View File

@@ -1167,7 +1167,6 @@
<script src="~/js/vue.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>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.18/css/bootstrap-select.min.css">
<!-- (Optional) Latest compiled and minified JavaScript translation files -->
@@ -1489,7 +1488,7 @@
$('#pay_qilin').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

View File

@@ -514,7 +514,7 @@ p{
$('#buy').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

View File

@@ -204,7 +204,6 @@
<script src="~/js/vue.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 type="text/javascript">
var app = new Vue({
@@ -379,7 +378,7 @@
if (res.code == 1) {
$("#qrcode_s").html('');
new QRCode(document.getElementById("qrcode_s"), {
$("#qrcode_s").qrcode({
text: res.data,
width : 300,
height : 300

View File

@@ -225,14 +225,11 @@
</div>
</div>
<script type="text/javascript" src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/qrcodejs/1.0.0/qrcode.min.js"></script>
<script>
$("#ios_cc").hover(function(){
$("#qrcode_s").html('');
new QRCode(document.getElementById("qrcode_s"), {
$("#qrcode_s").qrcode({
text: 'https://apps.apple.com/cn/app/jie-zou-da-shi/id1448657437',
width : 500,
height : 500