; return false; } } if(yzlogin_type==1){ mpswd = $.trim($("#mpswd").val()); if(mpswd == ''){ myalter('请输入密码'); return false; } }else{ lgvCode = $.trim($("#lgvCode").val()); if(lgvCode == ''){ myalter('请输入验证码'); return false; } } if(is_nc_right){ $("#bt-yzlogin").text("正在登陆..."); $("#bt-yzlogin").css("background-color",'#d5d5d5'); $('#bt-yzlogin').attr("disabled",true); var timenow = new Date().getTime(); var logintourl = $("#logintourl").val(); $.ajax({ type: "POST", dataType: "json", url: "/Login/checkLoginForVip/", data: "login_type="+yzlogin_type+"&lgtype=yz&mloginname="+mloginname+"&mpswd="+mpswd+"&lgvCode="+lgvCode+"&nc_token="+nc_token+"&nc_csessionid="+nc_csessionid+"&nc_sig="+nc_sig+"&t="+timenow, success: function(result) { if(result.status=='1'){ if($("#nologin_close").val()=='s'){ $('.userlogin').css({'display':'none'}) window.location.reload(); }else{ var jmpurl = result.info; if(logintourl!=''){ jmpurl += "?jmpmenu="+logintourl; } window.location.href=jmpurl; } }else{ $("#bt-yzlogin").text("登陆"); $("#bt-yzlogin").css("background-color",'#f8b857'); $('#bt-yzlogin').attr("disabled",false); toRestNc(); myalter(result.info); if(result.info.indexOf('商家入口')>=0){ window.location.href="https://www.jkongjian.com/Login/login"; } return false; } } }); }else{ if($("#Ld-login-ncid").css("display")=='none'){ $("#Ld-login-ncid").css("display","block"); } myalter('请将滑块拖到最右边'); return; } }) $('#toLoginOut').click(function(){ $.ajax({ type: "POST", dataType: "json", url: "/Cp/Login/logout/", data: "t="+new Date().getTime(), success: function(result) { if(result.status=='1'){ window.location.reload(); } } }); }) }); function toRestNc(){ __nc.reset(); is_nc_right = false; } function isPageMobile(str){ var number_chars = "1234567890"; var i; for (i=0;i 20) { $('.Ld-login-last').addClass('show'); $('.Ld-login-matext').html('二维码已失效!请刷新重试!'); }else { getwxstatus(user_time,qrcode_id); } } }, error: function (data) { } }); } function refcode(){ $('.Ld-login-last').removeClass('show'); getwximg(); $('.Ld-login-matext').html('扫码-关注公众号-注册'); }
商家申请入驻 或拨打一对一咨询电话400-926-0899
找回密码