移除不可用 qrcode 包并切换为 jquery qrcode
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user