mirror of
https://github.com/lan-tianxiang/JS_TOOL.git
synced 2025-07-15 15:42:35 +08:00
更新于 07-05 22:38
This commit is contained in:
@ -66,7 +66,7 @@
|
||||
<div class="qframe-close" title="关闭">✖</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="./js/jd1.js?9998"></script>
|
||||
<script type="text/javascript" src="./js/jd1.js?999998"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -31,9 +31,6 @@ $(document).ready(function () {
|
||||
correctLevel: QRCode.CorrectLevel.L,
|
||||
});
|
||||
|
||||
$("#qrcontainer").addClass("hidden");
|
||||
$("#refresh_qrcode").addClass("hidden");
|
||||
|
||||
function checkLogin(user) {
|
||||
var timeId = setInterval(() => {
|
||||
let timeStamp = new Date().getTime();
|
||||
@ -42,15 +39,17 @@ $(document).ready(function () {
|
||||
$.post(`./cookie2?t=${timeStamp}`, { user, msg }, function (data) {
|
||||
if (data.err == 0) {
|
||||
clearInterval(timeId);
|
||||
$('#qrcontainer').addClass('hidden');
|
||||
$('#refresh_qrcode').addClass('hidden');
|
||||
userCookie = data.cookie;
|
||||
msg = data.msg;
|
||||
Swal.fire({
|
||||
title: msg || '🎈添加成功🎈',
|
||||
html:
|
||||
'<div class="cookieCon" style="font-size:12px;">' +
|
||||
userCookie +
|
||||
`您的账号已经成功添加,时长为一个月` +
|
||||
'</div>',
|
||||
text: userCookie,
|
||||
text: `您的账号已经成功添加,时长为一个月`,
|
||||
icon: 'success',
|
||||
confirmButtonText: '返回',
|
||||
}).then((result) => {
|
||||
@ -69,6 +68,7 @@ $(document).ready(function () {
|
||||
$.get('./qrcode?t=' + timeStamp, function (data) {
|
||||
if (data.err == 0) {
|
||||
$('#qrcontainer').removeClass('hidden');
|
||||
$('#refresh_qrcode').addClass('hidden');
|
||||
$('.landing').addClass('is-loading');
|
||||
qrcode.clear();
|
||||
qrcode.makeCode(data.qrcode);
|
||||
@ -86,6 +86,9 @@ $(document).ready(function () {
|
||||
let timeStamp = new Date().getTime();
|
||||
$.get('./qrcode?t=' + timeStamp, function (data) {
|
||||
if (data.err == 0) {
|
||||
$('#qrcontainer').removeClass('hidden');
|
||||
$('#refresh_qrcode').addClass('hidden');
|
||||
$('.landing').addClass('is-loading');
|
||||
window.location.href = `openapp.jdmobile://virtual/ad?params=${encodeURI(
|
||||
JSON.stringify({
|
||||
category: 'jump',
|
||||
|
Reference in New Issue
Block a user