替换二维码库

This commit is contained in:
2026-02-24 16:16:00 +08:00
parent 2cfae189ee
commit 4706e7f7fd
2 changed files with 43 additions and 16 deletions

View File

@@ -170,18 +170,18 @@
</div>
<script>window.jQuery || document.write('<script src="js/jquery-2.1.1.min.js"><\/script>')</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/jquery.qrcode.min.js"></script>
<script type="text/javascript">
$("#xiaowei").hide();
$("#xiaowei").hide();
var agent_id_verify = getUrlParam('agent_id');
if (agent_id_verify == null) {
alert('请输入为你提供的完整链接');
}
if (isBase64(agent_id_verify)) {
var verify_id = atob(agent_id_verify);
if (verify_id<100000) {
if (verify_id < 100000) {
alert('请输入为你提供的完整链接');
}
} else {
@@ -224,12 +224,12 @@
data: JSON.stringify(data),
success: function (res) {
if (res.Code == 10000) {
if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
window.location.href=res.url;
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
window.location.href = res.url;
} else {
$('#wrapper').hide();
$('#verify-info').show();
new QRCode(document.getElementById("qrcode_s"), {
$('#qrcode_s').qrcode({
text: res.url,
width: 300,
height: 300
@@ -260,22 +260,22 @@
document.getElementsByTagName("title")[0].innerText = '环宇IP';
$("#tittle").html('环宇IP');
document.title = '环宇IP';
document.title = '环宇IP';
} else if (getUrlParam('agent_id') == 'MTAwMDQ5') {
$("#tittle").html('秒开云专线网络');
document.title = '秒开云专线网络';
document.title = '秒开云专线网络';
} else if (getUrlParam('agent_id') == 'MTAwMDkw') {
$("#tittle").html('百道加速');
document.title = '百道加速';
document.title = '百道加速';
} else if (getUrlParam('agent_id') == 'MTAwMDk2') {
$("#tittle").html('林北极速动静态IP');
document.title = '林北极速动静态IP';
} else if (getUrlParam('agent_id') == 'MTAwMDY2') {
$("#xiaowei").show();
document.title = '林北极速动静态IP';
} else if (getUrlParam('agent_id') == 'MTAwMDY2') {
$("#xiaowei").show();
document.getElementsByTagName("title")[0].innerText = '动态IP注册';
$("#tittle").html('动态IP');
setInterval(() => {
get_verify_res();
get_verify_res();
}, 5000);
} else {
@@ -352,5 +352,4 @@
</script>
</body>
</html>
</html>