您的当前位置:
首页 >
");
var ts = (Date.parse(new Date()) / 1000) + 300;
$(".CometCD").attr("ts", ts);
CometWxLogin();
$ef.CometCountDown();
});
}
function CometWxLogin() {
if (QrComet != null) QrComet.abort("aborting");
QrComet = AjaxPostCallBackTimeOut("/Comet/QrScan/" + QrToken, null, "NonCallBack", 300 * 1000, function (json) {
switch (json.MsgType) {
case "Data":
if (json.IsOK) }
break;
}
}
function ShowWxQR() {
var dv = $(".BuildedQR");
dv.removeClass("icon-Notvisible");
dv.addClass("aniWaiting");
AjaxPostJson(ThisPost + "QR", { Token: QrToken }, function (data) {
dv.removeClass("aniWaiting");
QrToken = data.Token;
dv.html("

");
var ts = (Date.parse(new Date()) / 1000) + 300;
$(".CometCD").attr("ts", ts);
CometWxLogin();
$ef.CometCountDown();
});
}
function CometWxLogin() {
100%; background: #ccc; color:white; text-align: center;}
.loginTo::before { font-size: 40px;}
.iline { line-height: 40px; vertical-align: middle; margin-bottom: 5px; border-bottom: 1px solid #eee; text-align: left; padding: 5px; margin: 10px; }
.iline span { width: 65px; display: inline-blockact::after { content: ""; position: absolute; bottom: 0; left:50%; margin-left: -6px; border-bottom: 6px solid white; border-left: 6px solid transparent; border-right: 6px solid transparent;}
.theTab { text-align: center; display: none; }
#btnSend { appearancevascript:;' onclick='ShowWxQR()'>【点击重新扫码】");
var postData = {};
postData.Token = QrToken;
postData.SaveCookie = $("#chkSaveQR").prop("checked");
AjaxPostJson(ThisPost + "ByQR", postData, function (json) {
UserLoginOK();
});
}
break;
case "TimeOut":
QrComet = null;
CometWxLogin();
}
});
}
function CometCountDownEnd() {
$(".BuildedQR").html("").addClass("icon-Notvisible");
$(".CometCD $pc.Alert("正在登录,请稍候...");
$(".BuildedQR").html("").addClass("icon-seleted");
$(".CometCD").removeAttr("ts");
$(".CometCD").html("已扫码。
【点击重新扫码】");
var postData = {};
postData.Token = QrToken;
postData.SaveCookie = $("#chkSaveQR").prop("checked");
AjaxPostJson(ThisPost + "ByQR", postData, function (json) {
").hide();
$("#aLog" + way).addClass("act");
$("#dvLog" + way).show();
switch (way) {
case "SM":
if (sms == null) sms = new SmsCodeLogic("txtMobile", "txtCode", "btnSend");
break;
case "QR":
if ($(".CometCD").attr("ts") == null) {
ShowWxQR();
00px; margin: auto;}
.txt { border: 0 !important; background: #f1f1f1 !important; border-radius: 6px; padding: 8px; width: 280px; }
{"InnerBanner":null,"MbPageUrl":null,"PageTitle":"用户登录/注册","Redirect":null,"Data":{"IsServerIP":false},"UserInfo":{"ID":0,"UName":null,"Face":null}}