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

@@ -38,7 +38,7 @@
<div role="tabpanel" class="tab-pane active" id="home">
@if (type == 4) {
<div style="font-size:0.7em">
<p style="padding:0;margin:0;">*请优先选择客户端连接 <a style="color:#0777ff;" href="/product/soft"><<<下载客户端>>></a></p>
<p style="padding:0;margin:0;">*请优先选择客户端连接 <a style="color:#0777ff;" href="/product/soft">&lt;&lt;&lt;下载客户端&gt;&gt;&gt;</a></p>
<p style="padding:0;margin:0;">*无对应客户端时,可通过线路表直连支持所有设备</p>
</div>
}

View File

@@ -711,7 +711,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>
@@ -1149,7 +1148,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

@@ -1120,7 +1120,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

@@ -522,7 +522,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

@@ -195,7 +195,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({
@@ -376,7 +375,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

@@ -459,7 +459,6 @@
<!-- 支付弹窗 -->
<div id="aliPayBox" style="display:none"></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>
$(function () {
if (@Model.UserModel.is_verify == 0) {

View File

@@ -45,7 +45,7 @@
</div>
@if (type == 4) {
<div>
<p style="padding:0;margin:0;">*请优先选择客户端连接 <a style="color:#0777ff;" href="/product/soft"><<<下载客户端>>></a></p>
<p style="padding:0;margin:0;">*请优先选择客户端连接 <a style="color:#0777ff;" href="/product/soft">&lt;&lt;&lt;下载客户端&gt;&gt;&gt;</a></p>
<p style="padding:0;margin:0;">*无对应客户端时,可通过线路表直连支持所有设备</p>
</div>
}

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

View File

@@ -40,17 +40,18 @@
default:
myManagerUrl = '';
}
new QRCode(document.getElementById("myManager"), {
$('#myManager').qrcode({
text: myManagerUrl,
width : 70,
height : 70
});
})
new QRCode(document.getElementById("myManagerimg"), {
$('#myManagerimg').qrcode({
text: myManagerUrl,
width : 200,
height : 200
});
})
$("#myManager").hover(function(){
$("#myManagerimgbg").show();
@@ -357,7 +358,7 @@
</p>
</form>
<h3 id="verify-info" style="display:none;text-align: center;">请打开 微信 扫码进行认证,若扫脸后仍未认证成功,请联系客服</h3>
<div id="qrcode_s" style="text-align: center;padding-left:323px;"></div>
<div id="qrcode_s" style="text-align: center"></div>
<div id="yes" style="padding-top:10px" class="text-center"><a type="button" class="btn btn-primary" href="javascript:location.reload();" ">实名扫脸结束后请点击</a></div>
<script>
@@ -414,11 +415,11 @@
$('#id-cert').hide();
$('#verify-info').show();
$('#yes').show();
new QRCode(document.getElementById("qrcode_s"), {
$('#qrcode_s').qrcode({
text: res.url,
width : 300,
height : 300
});
})
// t1 = window.setInterval(get_verify_res,1500);
} else {
@@ -675,7 +676,6 @@
<!-- 支付弹窗结束 -->
<div id="aliPayBox" style="display:none"></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>
$('#yes').hide();