CINXE.COM

个人登录 - 个人服务 - 矿产英才网

<!doctype html> <html> <head> <meta charset="gb2312" /> <title>个人登录 - 个人服务 - 矿产英才网</title> <meta name="keywords" content="行业招聘,地区招聘,网络招聘,求职,人才,简历,工作,面试,应聘,跳槽,高薪,兼职,猎头,薪酬,薪资,培训,测评,人事"> <meta name="description" content="矿产英才网- 是基于行业垂直细分和区域横向细分的特大型招聘网站平台,国内各行业各地区首选求职招聘网站平台!"> <link href="//img3.job1001.com/personServer/style/new_login.css?v=2022042502" type="text/css" rel="stylesheet"/> <link href="//j.job1001.com/validator/validator.css" type="text/css" rel="stylesheet" /> <script src="//img3.job1001.com/js/jquery-1.8.3.min.js"></script> <script src="//img3.job1001.com/personServer/js/placeholder.js"></script> <script src="//j.job1001.com/job1001check/job1001check.min.js"></script> <script src="//img3.job1001.com/validator/jquery.validator.js" charset="utf-8"></script> <script src="//j.job1001.com/validator/jquery.corners.min.js"></script> <script src="//img3.job1001.com/js/weebox/bgiframe.js"></script> <script src="//img3.job1001.com/personServer/js/reg_login.js?v=2022042203" charset="utf-8"></script> <script src="//img3.job1001.com/myNew/js/ajaxform.js"></script> <script src="//img3.job1001.com/myNew/js/ajax.js"></script> <script src="//img3.job1001.com/job1001/5.0/js/jquery-hcheckbox.js" type="text/javascript" charset="utf-8"></script> <style> * { margin: 0; padding: 0; } body { background-color: #ffffff; position: relative; } .cm-faster-icon{ width: 34px; height: 34px; text-decoration:none; } </style> </head> <body> <style> .zph-ad { float: right; margin-top: 41px; margin-right: -18px; } .zph-ad a{ font-size: 15px; color: #000000; text-decoration: none; } .zph-ad .icon-hot { display: inline-block; width: 20px; height: 20px; vertical-align: text-bottom; background-image: url("https://img3.job1001.com/zhuanti/2020/24365/images/status-2-h5.png"); background-size: 100% 100%; } </style> <div class="header"> <div class="header-main"> <div class="logo"> <a title="矿产英才网" href="//kc.job1001.com/" target="_blank"> <img style="vertical-align: middle;" src="//img3.job1001.com/logo200/kc_logo.gif"> </a> <div class="vertical-line"></div> <span style="vertical-align: middle;"> 人才端 </span> </div> </div> </div> <div class="main-content"> <div class="main-login"> <div id="lg_main_bg"> <img src="//img3.job1001.com/job1001/5.0/images/person_bg_main.png" /> </div> <div id="reg_body" class="fr"> <style> .input-code-box { position: relative; margin-bottom: 26px; } .error-tips-box { position: absolute; left: 78px; top: 38px; display: inline-block; text-align: left; width: 270px; height: 26px; padding: 4px 0px 0px 20px; background: url('https://img3.job1001.com/job1001/5.0/images/error_tips_bg.png') no-repeat center left; overflow: hidden; box-sizing: border-box; background-size: 14px 14px } .error-tips-text { display: block; font-size: 10px; color: #F5222D; } .error-status { border: 1px solid #F5222D!important; } .loginUserName{ width: 270px!important; margin-bottom: 0px!important; transition: 0.4s; border: 1px solid rgba(255,255,255,0); } .reg-type-switch{ text-align: left; } .wechat-code-scanned { display: none; position: absolute; text-align: center; top: 0px; left: 0px; width: 190px; height: 190px; background-color: rgba(255, 255, 255, 0.9); } .icon-success { margin-top: 50px; display: inline-block; width: 40px; height: 40px; background-image: url('//img3.job1001.com/ylt/images/svg/success.svg'); background-size: 100% 100%; } </style> <script src="//img3.job1001.com/js/JSLibrary.js"></script> <script src="//img3.job1001.com/js/cookie/cookie.js"></script> <div class="login-box t-login" id="fz_login"> <form method="post" name="plogin_form" id="plogin_form"> <div class="login-header"> <div class="icon-switch way-switch-img login_qr_sw"> <img style="width:30px;height:30px;" src="https://img3.job1001.com/job1001/5.0/images/lg_sw_qr.png" /> </div> <div class="icon-switch way-switch-img login_account_sw"> <img style="width:30px;height:30px;" src="https://img3.job1001.com/job1001/5.0/images/icon-pc.png" /> </div> <div class="tips-label" style="cursor: pointer;"> <span class="qr-login-tips icon-switch">二维码登录</span> <span class="account-login-tips icon-switch">账户密码登录</span> </div> </div> <div class="login-area-account"> <div class="login-type"> <div class="login-type-item login-type_code active" data-target='#account_code'> 短信登录 </div> <div class="login-type-item login-type_pwd" data-target='#account_pwd'>密码登录</div> </div> <div class="login-account_box" id="account_code"> <div class="input-code-box"> <input type="text" class="loginUserName" style="padding-right: 20px;" id="l_mobile" name="uname" placeholder="请输入手机号" /> <div class="error-tips-box" id="l_mobile_error"> <span class="error-tips-text" id="mobile_error_tips">请输入正确手机号</span> </div> </div> <div class="input-code-box"> <input type="text" class="loginUserName" style="padding-right: 110px;" id="l_code" name="code" placeholder="请输入短信验证码" /> <input type="button" id="cm-getcode-btn" class="free-get-code" style="background: rgba(255,255,255,0);" value="获取验证码" /> <div class="error-tips-box" id="l_code_error"> <span class="error-tips-text" id="code_error_tips">cuowu</span> </div> </div> </div> <div class="login-account_box" id="account_pwd"> <div class="input-code-box"> <input type="text" class="loginUserName" style="padding-right: 20px;" id="lUsername" name="uname" placeholder="请输入手机号 / 邮箱 / 用户名" /> <div class="error-tips-box" id="lUsername_error"> <span class="error-tips-text" id="lUsername_error_tips"></span> </div> </div> <div class="input-code-box"> <div class="login-row" style="margin-bottom: 0;"> <div class="input-box eye-input"> <input type="password" class="loginUserName" style="padding-right: 30px;" id="lPassword" onkeyup="handlePW(event)" data-target="#lPassword_re" name="password" placeholder="请输入密码" /> <icon class="icon icon-eye-hide eye"> </icon> </div> <div class="input-box eye-input" style="display: none;"> <input type="text" class="loginUserName" style="padding-right: 30px;" id="lPassword_re" onkeyup="handlePW(event)" data-target="#lPassword" name="password_re" placeholder="请输入密码" /> <icon class="icon icon-eye-show eye"> </icon> </div> </div> <div class="error-tips-box" id="lPassword_error"> <span class="error-tips-text" id="lPassword_error_tips"></span> </div> </div> </div> <p class="yanzhengcode"> <div class="login-row input-code-box" style="position: relative" id="login-yzm" style=""> <input style="padding-right: 150px;" name="checkcode1" id="checkcode1" type="text" class="loginUserName c-input in-yzm" placeholder="请输入验证码" tabindex="4"> <a onclick="fnChangeCheckCode({url:'/personServe/checkcode.php'})" title="点击更换验证码" style="cursor:pointer;position: absolute;right: 92px;top: 4px;"> <img src="/personServe/checkcode.php" title="不区分大小写" id="imgCheckCode"> </a> <a onclick="fnChangeCheckCode({url:'/personServe/checkcode.php'})" title="点击更换验证码" style="cursor:pointer;position: absolute;right: 62px;top: 12px; text-decoration:underline" class="login-refresh"></a> <div class="error-tips-box" id="yzm_error"> <span class="error-tips-text" id="yzm_error_tips"></span> </div> </div> </p> <p class="sel-rem clearfix"> <span class="fl" id="chklist1" style="width: 270px;margin-bottom: 0px;"> <input type="checkbox" checked="checked" id="eAgree" name="agree" value="1" style="display: none;"> <label class="checkbox checked">&nbsp;&nbsp;同意一览招聘 <a href="/myNew/pmember_new.php" style="color: #d13232;text-decoration: none;" target="_blank" class="user-deal">《用户服务协议》</a> </label> <a href="findPassword.php" style="font-size: 12px;text-decoration: none;margin-left: 10px;color: rgb(53, 53, 53);" target="_blank" class="forget-secert fr">忘记密码?</a> </span> </p> <div class="loginBtn" id="loginSubmit" style="width: 270px;">登录</div> <p class="no-court-row"><span><a href="javascript:;" class="free-regist">免费注册</a></span></p> <div class="sel-other-login-box"> <p class="sel-other-logintitle">第三方账号登录</p> <p class="sel-other-login"> <a target='_self' title='使用QQ账号登录qq' href="http://kc.job1001.com/personServe/oauth_connect/login.php?connect_source=qq&act=forward&ss_id=984e18c4f549798f6c60aca275294180&ss_tk=f260d6e1defe12fe16f9c535e0977d69&http_referer=http%3A%2F%2Fkc.job1001.com" class='cm-faster-icon cm-icon-qq qq-login'> <img class="cm-icon" src="https://img3.job1001.com/job1001/5.0/images/lg_qq.png"> </a> <a target='_self' title='使用新浪微博登录sina_weibo' href="http://kc.job1001.com/personServe/oauth_connect/login.php?connect_source=sina_weibo&act=forward&ss_id=984e18c4f549798f6c60aca275294180&ss_tk=f260d6e1defe12fe16f9c535e0977d69&http_referer=http%3A%2F%2Fkc.job1001.com" class='cm-faster-icon cm-icon-sina sina-login'> <img class="cm-icon" src="https://img3.job1001.com/job1001/5.0/images/lg_weibo.png"> </a> <a href="//kc.job1001.com/personServe/baidu/login.php?redirect_uri=http%3A%2F%2Fkc.job1001.com" class="cm-faster-icon weixin-login" title="使用百度账号登录" target="_self" style="background-position: -500px;"> <img class="cm-icon" src="https://img3.job1001.com/job1001/5.0/images/lg_baidu.png"> </a> </p> </div> </div> <div class="login-area-qr"> <div class="qr-type"> <div class="qr-type-item login-type_code active" data-target='#qr_wechat'> 微信扫码 </div> <div class="qr-type-item login-type_pwd" data-target='#qr_app'>APP扫码</div> </div> <div class="login-area login-area-qr-app login-qr-box" id="qr_app" style="height: 308px;"> <img class="qr-img" src="//www.yl1001.com/ask/admin.php?mode=zhadui&doaction=qrcode&background=000000&width=180&height=180&no_short=1&no_statis=1&link_url=http%3A%2F%2Fsao.job1001.com%2FqrLogin%2Fwarn.html%3Furl%3Dhttp%3A%2F%2Fsao.job1001.com%2FpersonServe%2FoauthApp%2FE7NnYn" alt="扫我登陆!"> <p class="qr-tips1" style="margin-top: 15px;">请使用一览APP【扫一扫】功能</p> <p class="no-court-row" style="margin-top: 40px;"> <span>没有账号, <a href="javascript:;" class="free-regist registBt">免费注册</a> </span> </p> <input type="hidden" name="turnurl_login" id="turnurl_login" value="" /> </div> <div class="login-area login-area-qr-wechat login-qr-box" id="qr_wechat" style="height: 308px;"> <div class="qr-img-box"> <img class="qr-img wechat-qr-img" id="wechat-qr-img" src="https://img3.job1001.com/job1001/images/loading-2022.gif"> <div class="wechat-code-expired"> <p style="font-size: 14px; color: rgb(53, 53, 53);margin-top: 50px;">二维码已过期</p> <p style="margin-bottom:10px;font-size: 14px; color: rgb(53, 53, 53);">请重新刷新二维码</p> <input type="button" class="refresh-qr-bt refresh-wechat-qr-bt" id="refresh-wechat-qr-bt" style="padding: 5px 16px;color:white" value="点击刷新"> </div> <div class="wechat-code-fail"> <p style="font-size: 14px; color: rgb(53, 53, 53);margin-top: 50px;">二维码获取失败</p> <p style="margin-bottom:10px;font-size: 14px; color: rgb(53, 53, 53);">请重新获取二维码</p> <input type="button" class="refresh-qr-bt get-wechat-qr-bt" id="get-wechat-qr-bt" style="padding: 5px 16px;color:white" value="重新获取"> </div> <div class="wechat-code-scanned"> <i class="icon icon-success"></i> <p class="scanned-text">扫码成功</p> </div> </div> <p class="qr-tips1" style="margin: 6px 0px;">请使用微信【扫一扫】</p> <p class="qr-tips2" style="margin: 6px 0px;;">关注<span style="color:black;font-weight: 600;">[一览英才网]</span>公众号完成登录</p> <p class="qr-tips3" style="margin: 6px 0px;;">关注后可及时获取投递进展、聊天消息</p> <p class="no-court-row" style="margin: 6px 0px;;"><span style="font-size: 15px;">没有账号,<a class="free-regist registBt" style="cursor: pointer;">免费注册</a></span> </p> </div> </div> </form> </div> <script> $(document).ready(function () { }); $("#lUsername").blur(function (event) { event.stopPropagation(); var _this = $(this); bBool = checkEmpty(_this.val()); if(checkEmpty(_this.val())) { // fnShowErr($('#lUsername'),'账号名不能为空!'); $("#lUsername_error_tips").html('账号名不能为空!'); $username_error.show(); $('#lUsername').addClass("error-status"); return false; } }); $("#lPassword").blur(function (event) { event.stopPropagation(); var _this = $(this); bBool = checkEmpty(_this.val()); if(checkEmpty(_this.val())) { // fnShowErr($('#lPassword'),'密码不能为空!'); $("#lPassword_error_tips").html('密码不能为空!'); $password_error.show(); $('#lPassword').addClass("error-status"); $('#lPassword_re').addClass("error-status"); return false; } }); $("#lUsername,lPassword").focus(function () { $("#tips").html(''); }) var ii = 0; var login_num_cookie = getCookie('login_num'); if (login_num_cookie < 5) { $("#login-yzm").hide(); } var loginType = 'code'; $qr = $(".login_qr_sw"); $account = $(".login_account_sw"); $area1 = $(".login-area-account"); $area2 = $(".login-area-qr"); $areaQrApp = $(".login-area-qr-app"); $areaQrWechat = $(".login-area-qr-wechat"); $loginTypes = $('.login-type-item'); $qrTypes = $('.qr-type-item'); $accountBoxs = $('.login-account_box'); $qrBoxs = $('.login-qr-box'); $accountCode = $('#account_code'); $accountPwd = $('#account_pwd'); $code = $("#l_code"), $codeBtn = $("#cm-getcode-btn"), $mobile = $("#l_mobile"), $checkcode = $("#checkcode1"), $forgetSecert = $('.forget-secert'); $qrLoginTips = $('.qr-login-tips'); $accountLoginTips = $('.account-login-tips'); $mobile_error = $('#l_mobile_error'); $code_error = $('#l_code_error'); $username_error = $('#lUsername_error'); $password_error = $('#lPassword_error'); $yzm_error = $('#yzm_error'); $qrRegTips = $('.qr-reg-tips'); $accountRegTips = $('.account-reg-tips'); $regBody = $('#reg_body'); $regAccountSw = $('#reg_account'); $regQrSw = $('#reg_qr'); $regAccountArea = $('.reg-account'); $regQrArea = $('.reg-wechat-qr'); $regAccountSw.show(); $regQrSw.hide(); $qrRegTips.hide(); $accountRegTips.show(); $regAccountArea.hide(); $regQrArea.show(); $wechatQrImg = $('#wechat-qr-img'); $refreshBt = $('#refresh-wechat-qr-bt'); $getBt = $('#get-wechat-qr-bt'); $('#l_mobile_error').hide(); $('#l_code_error').hide(); $('#lUsername_error').hide(); $('#lPassword_error').hide(); $('#yzm_error').hide(); $('#l_mobile_binding_error').hide(); $('#l_code_binding_error').hide(); $('#l_mobile').focus(function () { $("#mobile_error_tips").html(''); $mobile_error.hide(); $mobile.removeClass("error-status"); }) $("#l_code").focus(function() { $("#code_error_tips").html(''); $code_error.hide(); $code.removeClass("error-status"); }) $('#lUsername').focus(function () { $("#lUsername_error_tips").html(''); $('#lUsername_error').hide(); $('#lUsername').removeClass("error-status"); }) $('#lPassword,lPassword_re').focus(function () { $("#lPassword_error_tips").html(''); $('#lPassword_error').hide(); $('#lPassword,lPassword_re').removeClass("error-status"); }) $('#checkcode1').focus(function () { $("#yzm_error_tips").html(''); $('#yzm_error').hide(); $('#checkcode1').removeClass("error-status"); }) // $('#l_code_binding').focus(function() { // $("#code_binding_error_tips").html(''); // $('#l_code_binding_error').hide(); // $('#l_code_binding').removeClass("error-status"); // }) $area1.hide(); $area2.show(); $accountPwd.hide(); $forgetSecert.hide(); $account.show(); $qr.hide(); $areaQrApp.hide(); $areaQrWechat.show(); $qrLoginTips.hide(); $accountLoginTips.show(); $("#fz_login").show(); $("#fz_reg").hide(); jQuery.support.cors = true; //二维码 到期/获取失败 点击刷新重新获取 $refreshBt.click(function () { getWechatLoginQrCode(); }); $getBt.click(function () { getWechatLoginQrCode(); }); var scenceId = ""; var scenceId = ""; var openId = ""; var unionId = ""; var tokenId = ""; //切换手机号注册 $regAccountSw.on('click', function () { console.log("hellozhuc") $regAccountArea.show(); $regQrArea.hide(); $regAccountSw.hide(); $regQrSw.css('display','inline-block'); $qrRegTips.show(); $accountRegTips.hide(); clearInterval(checkWechatSubscribeState); checkWechatSubscribeState = setInterval(function () { getSubscribeWechatLoginState(); }, 2000); }); //切换微信扫码注册 $regQrSw.on('click', function () { console.log("hellozhuc") $regAccountArea.hide(); $regQrArea.show(); $regAccountSw.show(); $regQrSw.hide(); $qrRegTips.hide(); $accountRegTips.show(); clearInterval(checkWechatSubscribeState); checkWechatSubscribeState = setInterval(function () { getSubscribeWechatLoginState(); }, 2000); }); $('.eye').click(function () { var row = $(this).parents('.login-row').children('.input-box'); row.show(); $(this).parents('.input-box').hide(); }) function handlePW(event) { var val = event.target.value; var target = $(event.target).data('target') $(target).attr('value', val) } // 校验登录表单 function checkLoginForm() { var bFlag = false; var lMobile = $mobile.val(), lCode = $code.val(), lUsername = $('#lUsername').val(), lPassword = $('#lPassword').val(), lcheckcode = $checkcode.val(); var bCheckMobile = checkMobile(lMobile), bCheckMsgCode = checkEmpty(lCode), bCheckUsername = checkEmpty(lUsername), bCheckPassword = checkEmpty(lPassword), bCheckCode = checkEmpty(lcheckcode); bCheckAgree = !($('#eAgree').attr('checked')); if (loginType == 'code') { if (bCheckMobile) { // fnShowErr($mobile, '请输入正确的手机号码'); $("#mobile_error_tips").html('请输入正确的手机号码!'); $mobile_error.show(); $mobile.addClass("error-status"); return true; } if (bCheckMsgCode) { // fnShowErr($code, '请输入短信验证码'); $("#code_error_tips").html('请输入短信验证码'); $code_error.show(); $code.addClass("error-status"); return true; } } else { if (bCheckUsername) { // fnShowErr($('#lUsername'), '请输入账号'); $("#lUsername_error_tips").html('请输入账号'); $username_error.show(); $('#lUsername').addClass("error-status"); return true; } if (bCheckPassword) { // fnShowErr($('#lPassword'), '请输入密码'); $("#lPassword_error_tips").html('请输入密码'); $password_error.show(); $('#lPassword').addClass("error-status"); $('#lPassword_re').addClass("error-status"); return true; } } if (login_num_cookie >= 5 && bCheckCode) { // fnShowErr($checkcode, '请输入验证码'); $("#yzm_error_tips").html('请输入验证码'); $yzm_error.show(); $checkcode.addClass("error-status"); return true; } if (bCheckAgree) { // fnShowErr($('#eAgree'), '你未选择同意'); $('#lPassword_error_tips').html('你未选择同意'); $('#lPassword_error').show(); $('#code_error_tips').html('你未选择同意'); $('#l_code_error').show(); return true; } return bFlag; } //账号密码登录、手机验证码登录切换 $loginTypes.on('click', function () { $loginTypes.removeClass('active'); $(this).addClass('active'); $accountBoxs.hide(); var target = $(this).data('target'); if (target == '#account_pwd') { $forgetSecert.show(); } else { $forgetSecert.hide(); } $(target).show(); loginType == 'pwd' ? loginType = 'code' : loginType = "pwd"; }); //微信扫码、app扫码切换 $qrTypes.on('click', function () { $qrTypes.removeClass('active'); $(this).addClass('active'); $qrBoxs.hide(); var target = $(this).data('target'); $(target).show(); }); //账号登录、扫码登录切换 var loginMethod = ''; loginMethod = 'account'; $('.icon-switch').on('click', function () { if (loginMethod == 'account') { $qr.show(); $account.hide(); $area1.show(); $area2.hide(); $areaQrApp.hide(); $areaQrWechat.hide(); $qrLoginTips.show(); $accountLoginTips.hide(); loginMethod = 'qr'; } else { $qr.hide(); $account.show(); $area2.show(); $area1.hide(); $areaQrApp.hide(); $areaQrWechat.show(); $qrLoginTips.hide(); $accountLoginTips.show(); loginMethod = 'account'; } }); // 获取手机验证码 function sendLoginCode(validate) { changeCode_robot(); $codeBtn.attr("disabled", "disabled"); $codeBtn.attr("class", "already-send"); var mobile = $mobile.val(); // var url = 'regdeal.php?detail=sendcodeabcd&cks=639dff0722e3db29a7d46eedbefaf321'; var url = 'regdeal.php?detail=sendlogincode&cks=639dff0722e3db29a7d46eedbefaf321'; $.ajax({ url: url, data: "mobile=" + mobile + "&captcha_data=" + validate.captcha_data + "&captcha_key=" + validate.captcha_key, type: "POST", dataType: "json", success: function (re) { if (re.code == 20) { $codeBtn.removeAttr("disabled"); $codeBtn.attr("class", "free-get-code"); // fnShowErr($mobile, re.status_desc); $("#mobile_error_tips").html(re.status_desc); $mobile_error.show(); $mobile.addClass("error-status"); changeCode_robot(); $('#robot_code_2016').attr('value', ''); return false; } else { //alert('klljljlkj');return false; $('#robot_checker_2016').hide(); } if (re.code == 102) { // fnShowErr($mobile, re.status_desc); $("#mobile_error_tips").html(re.status_desc); $mobile_error.show(); $mobile.addClass("error-status"); $('.tips').css('background', 'none'); $('.tips').css('padding', '4px 4px'); $codeBtn.attr("disabled", ""); $codeBtn.attr("class", "free-get-code"); return false; } if (re.code == 10) { // fnShowErr_New($mobile, "该手机已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\"" + mobile + "\")' style='color:#CC0001'>手机登陆</a>,<br/>忘记该手机账户的登陆密码,<a href='/personServe/2015/findPassword.php' target='_blank' style='color:#CC0001'>找回密码</a>,<br/>您也可以换个手机注册。"); $("#code_error_tips").html(re.status_desc); $code_error.show(); $('.tips').css('background', 'none'); $('.tips').css('padding', '4px 4px'); $codeBtn.attr("disabled", ""); $codeBtn.attr("class", "free-get-code"); return false; } else { if (re.status == 'OK') { var n = 180; $codeBtn.attr("value", n + "s"); var t = setInterval(function () { n--; if (n == 0) { clearInterval(t); $codeBtn.removeAttr("disabled"); $codeBtn.attr("value", "重新发送"); $codeBtn.attr("class", "free-get-code"); } else { $codeBtn.attr("value", n + "s"); } }, 1000) } else { $codeBtn.removeAttr("disabled"); $codeBtn.attr("class", "free-get-code"); // fnShowErr($mobile, re.status_desc); $("#code_error_tips").html(re.status_desc); $code_error.show(); } } } }); } // 获取验证码发送前校验 $codeBtn.click(function () { if (checkEmpty($mobile.val())) { // fnShowErr($mobile, '请输入您的手机号!'); $("#mobile_error_tips").html('请输入您的手机号!'); $mobile_error.show(); $mobile.addClass("error-status"); return false; } else if (checkMobile($mobile.val())) { // fnShowErr($mobile, '手机号码错误,请重新输入!'); $("#mobile_error_tips").html('手机号码错误,请重新输入!'); $mobile_error.show(); $mobile.addClass("error-status"); return false; } clicaptchaconfig.callback = function (data) { var validate = { captcha_data: data.data, captcha_key: data.key } sendLoginCode(validate); } $('#clicaptcha-submit-info').clicaptcha(clicaptchaconfig); }); // 登录 $('#loginSubmit').click(function(){ $("#tips").html(''); if (checkLoginForm())//验证登录表单 { return false; } var cookie_domain = '.job1001.com'; var cookie_expire = 30; var per_login_type = $('#per_login_type').val(); var uname = ''; if (loginType == 'pwd') { uname = $('#lUsername').val(); } else { uname = $mobile.val(); } var pwd = $('#lPassword').val(); var checkcode1 = $('.in-yzm').val(); var ucode = $code.val(); var paraM = { 'uname': uname, 'password': pwd, 'ucode': ucode, 'checkcode': checkcode1, 'per_login_type': per_login_type, 'login_type': loginType } $.post('/personServe/CheckUserAjax.php?ajaxformflag=1',paraM,function(re){ // alert('接受到的参数值是:'); if (re.status == 5) { var url = '/personServe/2022/resetPwd.php?detail=reset_password&uname='+uname; if (re.errorinfo) { if (re.errorinfo.mobile) { url = url + '&mobile='+ re.errorinfo.mobile; } else if (re.errorinfo.email) { url = url + '&email='+ re.errorinfo.email; } } location.href = url; return false; } if (re.status == 99) { location.href = '/personServe/2022/checkAuth.php?detail=verifyMobile'; return } if(re.status == 100){ function jump(){ var autoLogin = $('input[name="autoLogin"]:checked').length; if( autoLogin == 1 && getCookie('per_login_auto') != 1){ //如果是自动登录,并且之前未被初始化,则记录cookie setCookie('per_login_uname',re.uname,cookie_expire,cookie_domain); setCookie('per_login_pwd',re.pwd,cookie_expire,cookie_domain); setCookie('per_login_auto',1,cookie_expire,cookie_domain); } if( autoLogin != 1 ){ //如果不自动登录,则清空 deleteCookie('per_login_uname'); deleteCookie('per_login_pwd'); deleteCookie('per_login_auto'); $('#per_login_type').val(0); } var gotoUrl = $('#turnurl_login').val(); var newwindflag = ''; if (gotoUrl != '') { if (newwindflag == '1') { window.open(gotoUrl); window.location.href = window.location.href; } else { window.location.href = gotoUrl; } } else { window.location.href = '/myNew/admin.php'; } } jump(); } else { fnChangeCheckCode({ url: '/personServe/checkcode.php' }); ii++; if (ii >= 5) { var cookie_domain = '.job1001.com'; var cookie_expire = 30; setCookie('login_num', ii, cookie_expire, cookie_domain); $("#login-yzm").show(); } $("#tips").html(re.status_desc); deleteCookie('per_login_uname'); deleteCookie('per_login_pwd'); deleteCookie('per_login_auto'); if(re.status_desc == "请输入正确验证码!"){ $("#checkcode_error_tips").html(re.status_desc); $('#checkcode_error').show(); $('#checkcode').addClass("error-status"); } if(loginType == 'code'){ if(re.status_desc == "请输入正确短信验证码"){ $('#code_error_tips').html(re.status_desc); $('#l_code_error').show(); $('#l_code').addClass('error-status'); }else{ $('#code_error_tips').html(re.status_desc); $('#l_code_error').show(); } }else{ $('#lPassword_error_tips').html(re.status_desc); $('#lPassword_error').show(); } // fnShowErr($('#loginSubmit'), re.status_desc); } }, 'json'); return false; //End 如果返回的密码不正确 }); function ajaxLogin(){ $.ajax({ url:'//kc.job1001.com/webdev/sao.job1001.com/web/qrLogin/login.php', data:'qrcod_voken=2ee16a463c0278583f7a91eea6479a2d@1732495387', type:'POST', async: false, dataType:'json', success:function(re){ if(re.status=='OK'){ window.location.href="http://kc.job1001.com/myNew/home.php?mode=resume"; } } }) } setInterval("ajaxLogin()","2000"); </script> <div class="t-login" id="fz_reg"> <div class="reg-type-switch"> <div class="icon-switch way-switch-img reg_qr_sw"> <img style="width:30px;height:30px;" src="https://img3.job1001.com/job1001/5.0/images/lg_sw_qr.png"/> </div> <div class="icon-switch way-switch-img reg_account_sw"> <img style="width:30px;height:30px;" src="https://img3.job1001.com/job1001/5.0/images/reg_sw_qr.png"/> </div> <div class="tips-label" style="cursor: pointer;"> <span class="qr-reg-tips reg_qr_sw">微信注册</span> <span class="account-reg-tips reg_account_sw">手机号注册</span> </div> </div> <div class="reg-account"> <form name="form_reg" id="form_reg" method="post"> <div class="login-area login-area1"> <input type="hidden" name="regtype" id="regtype" value=""> <h3 class="regist-tips">10秒注册,找到好工作</h3> <div class="input-code-box"> <input type="text" class="loginUserName" style="padding-right: 20px;" name="p_uname" id="p_uname" placeholder="请输入手机号"/> <div class="error-tips-box" id="p_uname_error"> <span class="error-tips-text" id="p_uname_error_tips"></span> </div> </div> <div> <div class="input-code-box"> <input class="loginUserName" style="padding-right: 120px;" type="text" name="checkcode" id="checkcode" class="security-code" placeholder="输入验证码"/> <input type="button" id="cm-get-btn" class="free-get-code" style="background: rgba(255,255,255,0);" value="获取验证码"/> <div class="error-tips-box" id="checkcode_error"> <span class="error-tips-text" id="checkcode_error_tips"></span> </div> </div> </div> <p id="serverTips" class=""></p> <p class="serveragree clearfix"> <span class="fl" id="chklist2" style="width: 270px;"> <input type="checkbox" checked="checked" id="eAgree-reg" name="agree" value="1" style="display: none;" /> <label class="checkbox checked">&nbsp;&nbsp;同意一览招聘<a style="color: #d13232;text-decoration: none;" href="/myNew/pmember_new.php" target="_blank" class="user-deal">《用户服务协议》</a> </label> </span> </p> <div class="loginBtn" id="reg-submit" style="width: 270px;"> 注册 / 登录 </div> <p class="sel-rem" style="margin-top: 40px;"> <span>已有账号? <a href="javascript:;" class="now-login now-login-bt">立即登录</a><a href="javascript:;" class="now-login now-login-icon"></a></span> </p> </div> <input type="hidden" id="reg_only_mobile" name="reg_only_mobile" value="0" /> <input type="hidden" id="mobile_auth" name="mobile_auth" value="1"> <input type="hidden" value="" name="openid" /> <input type="hidden" name="opentype" value="" /> <input type="hidden" name="nickname" value="" /> <input type="hidden" name="RegSource" value="" /> <input type="hidden" name="tradeid" value="810" /> <input type="hidden" name="reggo" value="" /> <input type="hidden" name="fromtype" value="" /> <input type="hidden" name="turnurl" id="turnurl" value="resume_analysis.php?type=upload" /> <input type="hidden" name="user_type" id="user_type" value="1001" /> </form> </div> <div class="reg-wechat-qr"> <div class="login-area login-area-qr-wechat" id="qr_wechat" style="height: 358px;"> <h3 class="regist-tips">微信注册</h3> <div class="qr-img-box"> <img class="qr-img wechat-qr-img" src="https://img3.job1001.com/job1001/images/loading-2022.gif"> <div class="wechat-code-expired"> <p style="font-size: 14px; color: rgb(53, 53, 53);margin-top: 50px;">二维码已过期</p> <p style="margin-bottom:10px;font-size: 14px; color: rgb(53, 53, 53);">请重新刷新二维码</p> <input type="button" class="refresh-qr-bt refresh-wechat-qr-bt" id="refresh-wechat-qr-bt" style="padding: 5px 16px;color:white" value="点击刷新"> </div> <div class="wechat-code-fail"> <p style="font-size: 14px; color: rgb(53, 53, 53);margin-top: 50px;">二维码获取失败</p> <p style="margin-bottom:10px;font-size: 14px; color: rgb(53, 53, 53);">请重新获取二维码</p> <input type="button" class="refresh-qr-bt get-wechat-qr-bt" id="get-wechat-qr-bt" style="padding: 5px 16px;color:white" value="重新获取"> </div> </div> <p class="qr-tips1" style="margin: 6px 0px;">请使用微信“扫一扫”扫描上方 二维码</p> <p class="qr-tips1" style="margin: 6px 0px;">进入快捷注册</p> <div class="error-tips-box" style="text-align: center;position: static;width: 180px;" id="wechat-reg-tips"> <span class="error-tips-text" style="text-align: center;">已存在账号,正在自动登录...</span> </div> <p class="sel-rem" style="margin-top: 10px;"> <span style="font-size: 15px;">已有账号? <a href="javascript:;" class="now-login now-login-bt" style="font-size: 15px;">立即登录</a><a href="javascript:;" class="now-login now-login-icon"></a></span> </p> </div> </div> </div> <div id="robot_checker_2016" style="display:none;"> <div class="m_pop_wrap"></div> <div class="pop_sub_wrap"></div> <div class="m_pop" > <div class="m_pop_top">请证明不是机器人</div> <i class="m_cancel_btn" id="m_cancel_btn_robot"></i> <div class="m_pop_content"> <span>验证码:</span> <input class="m_txt" type="text" id="robot_code_2016"> <img id="mobile_code_robot" title="不区分大小写" src="/personServe/checkcode.php" onclick="changeCode_robot()"> <input class="m_change_btn" type="button" value="换一张" onclick="changeCode_robot()"> </div> <input class="m_submit_btn" type="submit" id="robot_submit_2016" value="确定"> </div> </div> <link rel="stylesheet" href="//img3.job1001.com/clicaptcha/css/captcha.css"> <script src="//img3.job1001.com/clicaptcha/js/clicaptcha.js" charset="UTF-8"></script> <script type="text/javascript"> $(document).ready(function(){ $(".now-login").bind("click", function () { regType = "login"; clearInterval(checkWechatSubscribeState); checkWechatSubscribeState = setInterval(function () { getSubscribeWechatLoginState(); }, 2000); $('.reg-type-switch').show(); getWechatLoginQrCode(); $("#reg_body").addClass("change_div"); $("#fz_login").show(); $("#fz_reg").hide(); $('.placeholder').addClass('placeholder-hide'); $(".loginUserName").myPlaceholder(); setTimeout(function () { $("#reg_body").removeClass("change_div"); }, 500); }); $(".free-regist").bind("click", function () { regType = 'qr'; $("#reg_body").addClass("change_div"); $("#fz_reg").show(); $("#fz_login").hide(); $('.placeholder').addClass('placeholder-hide'); $(".loginUserName").myPlaceholder(); $(".security-code").myPlaceholder(); setTimeout(function () { $("#reg_body").removeClass("change_div"); }, 500); clearInterval(checkWechatSubscribeState); checkWechatSubscribeState = setInterval(function () { getSubscribeWechatLoginState(); }, 2000); }); }); $('#p_uname').focus(function () { $("#p_uname_error_tips").html(''); $('#p_uname_error').hide(); $('#p_uname').removeClass("error-status"); }) $('#checkcode').focus(function () { $("#checkcode_error_tips").html(''); $('#checkcode_error').hide(); $('#checkcode').removeClass("error-status"); }) var regType = 'login'; var t_url = window.location.href; if(t_url.indexOf("reg")>=0)regType = "qr"; $('#p_uname_error').hide(); $('#checkcode_error').hide(); $('#binding-phone').hide(); $('#wechat-reg-tips').hide(); $qrRegTips = $('.qr-reg-tips'); $accountRegTips = $('.account-reg-tips'); $regBody = $('#reg_body'); $regAccountSw = $('.reg_account_sw'); $regQrSw = $('.reg_qr_sw'); $regAccountArea = $('.reg-account'); $regQrArea = $('.reg-wechat-qr'); $wechatCodeExpired = $('.wechat-code-expired'); $wechatCodeFail = $('.wechat-code-fail'); $regAccountSw.show(); $regQrSw.hide(); $qrRegTips.hide(); $accountRegTips.show(); // $regAccountArea.hide(); // $regQrArea.show(); $regAccountArea.show(); $regQrArea.hide(); $wechatCodeExpired.hide(); $wechatCodeFail.hide(); // 隐藏微信扫码注册 ////切换手机号注册 // $regAccountSw.on('click', function () { // console.log("hellozhuc") // $regAccountArea.show(); // $regQrArea.hide(); // $regAccountSw.hide(); // $regQrSw.css('display','inline-block'); // $qrRegTips.show(); // $accountRegTips.hide(); // clearInterval(checkWechatSubscribeState); // checkWechatSubscribeState = setInterval(function () { // getSubscribeWechatLoginState(); // }, 2000); // }); // 隐藏微信扫码注册 // //切换微信扫码注册 // $regQrSw.on('click', function () { // console.log("hellozhuc") // $regAccountArea.hide(); // $regQrArea.show(); // $regAccountSw.show(); // $regQrSw.hide(); // $qrRegTips.hide(); // $accountRegTips.show(); // clearInterval(checkWechatSubscribeState); // checkWechatSubscribeState = setInterval(function () { // getSubscribeWechatLoginState(); // }, 2000); // }); $wechatQrImg = $('.wechat-qr-img'); $wechatCodeExpired = $('.wechat-code-expired'); $wechatCodeFail = $('.wechat-code-fail'); $refreshBt = $('.refresh-wechat-qr-bt'); $getBt = $('.get-wechat-qr-bt'); //获取微信扫码登录二维码 function getWechatLoginQrCode() { var url = 'https://connect.job1001.com/wx_office_account.php?http_host=connect.job1001.com&file_name=yl1001&connect_source=wechat&action=getSubscribeWechatQrcodeUrl&token=jobyl1001_response&platform=person'; $.ajax({ url: url, type: "GET", success: function (res) { var re = JSON.parse(res); if (re.status == "OK") { $wechatQrImg.attr('src', re.data.url); scenceId = re.data.scence_id; wechatQrCodeTimer(); $wechatCodeFail.hide(); clearInterval(checkWechatSubscribeState); checkWechatSubscribeState = setInterval(function () { getSubscribeWechatLoginState(); }, 2000); } else if (re.status == "FAIL") { // $regBody.hide(); $wechatCodeFail.show(); } }, error: function () { $wechatCodeFail.show(); } }); } //二维码 到期/获取失败 点击刷新重新获取 $refreshBt.click(function () { getWechatLoginQrCode(); }); $getBt.click(function () { getWechatLoginQrCode(); }); $('.close-login-weebox').click(function () { $.weeboxs.close(); }) //轮询获取微信公众号关注状态 // function getSubscribeWechatLoginState() { // var http_value = "kc.job1001.com"; // var url = "https://connect.job1001.com/wx_office_account.php?http_host=" + http_value; // $.ajax({ // url: url, // type: "GET", // data: { file_name: "yl1001", connect_source: "wechat", action: "getSubscribeWechatLoginState", token: "jobyl1001_response", scence_id: scenceId, platform: "person" }, // success: function (res) { // var re = JSON.parse(res); // if (re.code == 0 || re.code == 200) { // clearInterval(checkWechatSubscribeState); // window.location.href = re.jump_url; // } // }, // error: function () { } // }); // } function getSubscribeWechatLoginState() { var http_value = "kc.job1001.com"; var _opt; var jp_url = window.location.href; regType == "qr" ? _opt='reg' : _opt = 'login'; var url = "https://connect.job1001.com/wx_office_account.php?http_host=" + http_value; $.ajax({ url: url, type: "GET", data: { file_name: "yl1001", connect_source: "wechat", action: "getSubscribeWechatLoginState", token: "jobyl1001_response", scence_id: scenceId, platform: "person", opt: _opt, extra: 0, }, success: function (res) { var re = JSON.parse(res); if (re.status == "OK") { clearInterval(checkWechatSubscribeState); if(regType == "login"){ $('.wechat-code-scanned').show(); var gotoUrl = $('#turnurl_login').val(); if (!gotoUrl) { gotoUrl = encodeURIComponent(location.origin + '/myNew/admin.php'); } clearInterval(checkWechatSubscribeState); var href = re.jump_url + '&jumpurl='+gotoUrl; window.location.href = href; }else{ $.ajax({ url: re.jump_url, type: "GET", success: function (re1){ var jump_res = JSON.parse(re1); if(jump_res.status == "OK"){ $.ajax({ url: jump_res.jumpurl, type: "GET", success: function (res){ var re = JSON.parse(res); if(re.status == "OK"){ $('#wechat-reg-tips').css('display','inline-block'); setTimeout(function(){ window.location.href = jump_res.jumpurl + "&second_login=1"; },1000); setTimeout(function(){ $('#wechat-reg-tips').hide(); },4000); }else if(re.status == "FAIL"){ $regAccountArea.show(); $regQrArea.hide(); $regAccountSw.hide(); $regQrSw.css('display','inline-block'); $qrRegTips.show(); $accountRegTips.hide(); getWechatLoginQrCode(); openId = re.data.openid; unionId = re.data.unionid; tokenId = re.data.token; // clearInterval(checkWechatSubscribeState); } } }) } } }); } } }, error: function () { } }); } //定时器180秒后微信登录二维码失效,显示再次获取微信二维码按钮 function wechatQrCodeTimer() { $wechatCodeExpired.hide(); setTimeout(function () { $wechatCodeExpired.show(); }, 180000); } // 获取微信扫码登录二维码 getWechatLoginQrCode(); //轮询获取登录状态 var checkWechatSubscribeState; var clicaptchaconfig = { src: 'https://service.yl1001.com/clicaptcha/public/get.php', // 本地自行修改 checksrc : 'https://service.yl1001.com/clicaptcha/public/check.php', // 本地自行修改 appname: 'job1001', callback: '' } function checkCaptcha(callback){ if( img_code_check ) { clicaptchaconfig.callback = callback; $('#clicaptcha-submit-info').clicaptcha(clicaptchaconfig); } } //mark-wang start $('#m_cancel_btn_robot').click(function(){ $('#robot_checker_2016').hide(); }); // function Load(){ // $('#geetestcode').empty(); // var content ='<div class="verify_a pub_p2 pub-p2" id="geetestcode" style="margin-bottom:20px;"><label class="pub_label"></label><div id="embed-captcha"></div><p id="wait" class="show">正在加载验证码......</p><p id="notice" class="hide">请先完成验证</p></div>'; // httpCacheUtil.update("http://static.geetest.com/static/wind/style.1.5.3.css"); // $('#geetestcode').html(content); // // return true; // }; function changeCode_robot(){ $("#mobile_code_robot").attr('src','/personServe/checkcode.php?s='+Math.random()); return true; }; $('#robot_submit_2016').click(function(){ var code = $('#robot_code_2016').val(); $("#cm-get-btn").attr("disabled","disabled"); $("#cm-get-btn").attr("class","already-send"); var mobile = $("#p_uname").val(); var url = 'regdeal.php?detail=sendcodeabcd&cks=39f7781d1f720f4983b0692b6d6b6000&checkcode='+code; $.ajax({ url:url, data:"mobile="+mobile, type:"POST", dataType:"json", success:function(re){ if(re.code==20){ $("#cm-get-btn").removeAttr("disabled"); $("#cm-get-btn").attr("class","free-get-code"); fnShowErr($("#p_uname"),re.status_desc); changeCode_robot(); $('#robot_code_2016').attr('value',''); return false; }else{ //alert('klljljlkj');return false; $('#robot_checker_2016').hide(); } if(re.code==10){ // fnShowErr_New($("#p_uname"),"该手机已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\""+mobile+"\")' style='color:#CC0001'>手机登陆</a>,<br/>忘记该手机账户的登陆密码,<a href='/personServe/2015/findPassword.php' target='_blank' style='color:#CC0001'>找回密码</a>,<br/>您也可以换个手机注册。"); // $('.tips').css('background','none'); // $('.tips').css('padding','4px 4px'); $("#p_uname_error_tips").html('请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); $("#cm-get-btn").attr("disabled",""); $("#cm-get-btn").attr("class","free-get-code"); return false; }else{ if(re.status=='OK'){ var n = 180; $("#cm-get-btn").attr("value",n+"s"); var t = setInterval(function(){ n--; if( n==0 ){ clearInterval(t); $("#cm-get-btn").removeAttr("disabled"); $("#cm-get-btn").attr("value","重新发送"); $("#cm-get-btn").attr("class","free-get-code"); }else{ $("#cm-get-btn").attr("value",n+"s"); } },1000) }else{ $("#cm-get-btn").removeAttr("disabled"); $("#cm-get-btn").attr("class","free-get-code"); fnShowErr($("#p_uname"),re.status_desc); } } } }); }); //mart-wang end function sendRegistCode(validate) { changeCode_robot(); // $('#robot_code_2016').attr('value',''); // //弹窗 // $('#robot_checker_2016').show(); //var geetest_challenge = $("input[name='geetest_challenge']").val(); //var geetest_validate = $("input[name='geetest_validate']").val(); //var geetest_seccode = $("input[name='geetest_seccode']").val(); //if(! $("input[name='geetest_challenge']").val() && ! $("input[name='geetest_validate']").val() && ! $("input[name='geetest_seccode']").val()){ // fnShowErr($("#geetestcode"),'未验证'); // Load(); // return false; //} // alert(reurl);return; $("#cm-get-btn").attr("disabled","disabled"); $("#cm-get-btn").attr("class","already-send"); var mobile = $("#p_uname").val(); // var url = 'regdeal.php?detail=sendcodeabcd&cks=39f7781d1f720f4983b0692b6d6b6000'; var url = 'regdeal_new.php?detail=sendcodeabcd&cks=39f7781d1f720f4983b0692b6d6b6000'; $.ajax({ url:url, data:"mobile="+mobile+"&captcha_data="+validate.captcha_data+"&captcha_key="+validate.captcha_key, type:"POST", dataType:"json", success:function(re){ if(re.code==20){ $("#cm-get-btn").removeAttr("disabled"); $("#cm-get-btn").attr("class","free-get-code"); // fnShowErr($("#p_uname"),re.status_desc); $("#p_uname_error_tips").html(re.status_desc); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); changeCode_robot(); $('#robot_code_2016').attr('value',''); return false; }else{ //alert('klljljlkj');return false; $('#robot_checker_2016').hide(); } if(re.code==102){ fnShowErr($("#geetestcode"),re.status_desc); return false; } if(re.code==10){ // fnShowErr_New($("#p_uname"),"该手机已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\""+mobile+"\")' style='color:#CC0001'>手机登陆</a>,<br/>忘记该手机账户的登陆密码,<a href='/personServe/2015/findPassword.php' target='_blank' style='color:#CC0001'>找回密码</a>,<br/>您也可以换个手机注册。"); // $('.tips').css('background','none'); // $('.tips').css('padding','4px 4px'); $("#p_uname_error_tips").html('请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); $("#cm-get-btn").attr("disabled",""); $("#cm-get-btn").attr("class","free-get-code"); return false; }else{ if(re.status=='OK'){ // $("#geetestcode").load(location.href+"#geetestcode"); var n = 180; $("#cm-get-btn").attr("value",n+"s"); var t = setInterval(function(){ n--; if( n==0 ){ clearInterval(t); $("#cm-get-btn").removeAttr("disabled"); $("#cm-get-btn").attr("value","重新发送"); $("#cm-get-btn").attr("class","free-get-code"); }else{ $("#cm-get-btn").attr("value",n+"s"); } },1000) }else{ $("#cm-get-btn").removeAttr("disabled"); $("#cm-get-btn").attr("class","free-get-code"); fnShowErr($("#p_uname"),re.status_desc); } } } }); } $("#cm-get-btn").click(function(){ if(fnBCheckPersonUnameRepeat($('#p_uname').val())){ console.log("获取验证码前,发现已注册") $("#p_uname_error_tips").html('账号已注册,请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return false; } if(checkEmpty($("#p_uname").val())){ // fnShowErr($("#p_uname"),'请输入您的手机号!'); $("#p_uname_error_tips").html('请输入您的手机号!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return false; }else if(checkMobile($("#p_uname").val())){ // fnShowErr($("#p_uname"),'手机号码错误,请重新输入!'); $("#p_uname_error_tips").html('手机号码错误,请重新输入!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return false; } clicaptchaconfig.callback = function(data){ var validate = { captcha_data:data.data, captcha_key:data.key } sendRegistCode(validate); } $('#clicaptcha-submit-info').clicaptcha(clicaptchaconfig); }); $("#p_uname").blur(function(event){ event.stopPropagation(); var _this=$(this); var emailBool = true; var mobileBool = true; val_regtype = ''; emailBool = checkEmail(_this.val()); mobileBool = checkMobile(_this.val()); if(emailBool && mobileBool){ // fnShowErr_New($(this),'请填写正确的手机'); //fnShowErr_New($(this),'请填写正确的邮箱或手机'); $("#p_uname_error_tips").html('请填写正确的手机'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return false; } if( !emailBool ){ val_regtype = 'email'; // $("#imgCheckCode_email").show(); $("#geetestcode").show(); // $("#changat").show(); $("#cm-get-btn").hide(); $("#checkcode").hide(); }else{ val_regtype = 'mobile'; // $("#imgCheckCode_email").hide(); // $("#geetestcode").hide(); // $("#changat").hide(); $("#cm-get-btn").show(); $("#checkcode").show(); } $("#regtype").val(val_regtype); if( fnBCheckPersonUnameRepeat(_this.val()) ){ if( val_regtype=='email' ){ // fnShowErr_New($('#p_uname'),"该邮箱已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\""+_this.val()+"\")' style='color:#CC0001'>邮箱登陆</a>,<br/>忘记该邮箱账户的登陆密码,<a href='/personServe/2015/findPassword.php' target='_blank' style='color:#CC0001'>找回密码</a>,<br/>您也可以换个邮箱注册。"); // $('.tips').css('background','none'); // $('.tips').css('padding','4px 4px'); $("#p_uname_error_tips").html('请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; }else{ // fnShowErr_New($('#p_uname'),"该手机已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\""+_this.val()+"\")' style='color:#CC0001'>手机登陆</a>,<br/>您也可以换个手机注册。"); // $('.tips').css('background','none'); // $('.tips').css('padding','4px 4px'); $("#p_uname_error_tips").html('请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; } } }); $('#reg-submit').click(function () { postsubmit(); }) // 验证注册表单 function fnBCheckRegForm1() { var val_p_uname = $("#p_uname").val(), val_checkcode = $("#checkcode").val(), val_regtype = $("#regtype").val(); var bCheckCheckCode = checkEmpty(val_checkcode), bCheckAgree = !($('#eAgree-reg').attr('checked')); var reg_only_mobile = $("#reg_only_mobile").val(); if (reg_only_mobile == "1") { if (!checkMobile(val_p_uname)) { val_regtype = 'mobile'; } else { // fnShowErr($('#p_uname'), '请输入正确的手机'); $("#p_uname_error_tips").html('请输入正确的手机号'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; } } else { if (checkEmpty(val_p_uname)) { // fnShowErr($('#p_uname'), '请输入您的邮箱或手机'); $("#p_uname_error_tips").html('请输入您的邮箱或手机'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; } else if (!checkEmail(val_p_uname)) { val_regtype = 'email'; } else if (!checkMobile(val_p_uname)) { val_regtype = 'mobile'; } else { // fnShowErr($('#p_uname'), '请输入正确的邮箱或手机'); $("#p_uname_error_tips").html('请输入正确的邮箱或手机'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; } } if (bCheckCheckCode) { // fnShowErr($("#checkcode"), '请输入验证码!'); $("#checkcode_error_tips").html('请输入验证码!'); $('#checkcode_error').show(); $('#checkcode').addClass("error-status"); return true; } $("#regtype").val(val_regtype); var bCheckUnameRepeat = fnBCheckPersonUnameRepeat(val_p_uname); if (bCheckUnameRepeat) { if (val_regtype == 'email') { // fnShowErr_New($('#p_uname'), "该邮箱已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\"" + val_p_uname + "\")' style='color:#CC0001'>邮箱登陆</a>,<br/>忘记该邮箱账户的登陆密码,<a href='/personServe/2015/findPassword.php' target='_blank' style='color:#CC0001'>找回密码</a>,<br/>您也可以换个邮箱注册。"); // $('.tips').css('background', 'none'); // $('.tips').css('padding', '4px 4px'); $("#p_uname_error_tips").html('请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; } else { // fnShowErr_New($('#p_uname'), "该手机已经是我们的会员了哦!<br/>您可以直接用 <a href='javascript:;' onclick='$(\".now-login\").trigger(\"click\");$(\"#lUsername\").val(\"" + val_p_uname + "\")' style='color:#CC0001'>手机登陆</a>,<br/>您也可以换个手机注册。"); // $('.tips').css('background', 'none'); // $('.tips').css('padding', '4px 4px'); $("#p_uname_error_tips").html('请勿重复注册!'); $('#p_uname_error').show(); $('#p_uname').addClass("error-status"); return true; } } if (bCheckAgree) { // fnShowErr($('#eAgree'), '你未选择同意'); $("#checkcode_error_tips").html('你未选择同意'); $('#checkcode_error').show(); return true; } return false; } function postsubmit() { var formobj = document.getElementById('form_reg'); var reurl = getPostFormData(formobj); var $formObj = $("#form_reg");//当前表单 if (fnBCheckRegForm1()) { return false; } // fnSubmitLoading({ // obj: $(".loginBtn"), // className: "loginBtn loginBtnAft" // }); reurl += "&ajaxformflag=1&reg_token=8e21ef2621d2d01847d2f01d2a6aa5f8"+"&openid="+openId+"&unionid="+unionId+"&token="+tokenId; // url = "http://kc.job1001.com/personServe/2022/regdeal.php" // +"&openid="+openId+"&unionid="+unionId+"&token="+tokenId $.ajax({ url: "http://kc.job1001.com/personServe/2022/regdeal.php", data: reurl, type: 'POST', dataType: 'json', success: function (re) { if (re.status == 'OK') { $("#serverTips").hide(); window.location.href = $('#turnurl').val(); } else { // fnSubmitLoading({ // obj: $(".loginBtn"), // bool: false // }); // changeCode(); if (re.code == '10') { fnShowErr($("#geetestcode"), '未验证'); } else if (re.code == '102') { fnShowErr($("#geetestcode"), re.status_desc); } else if (re.code == '120') { // fnShowErr($("#checkcode"), re.status_desc); $("#checkcode_error_tips").html(re.status_desc); $('#checkcode_error').show(); $('#checkcode').addClass("error-status"); } else { // $formObj.find("#serverTips").html('<span class="form-tips-error">' + re.status_desc + '</span>');//显示返回信息 $("#checkcode_error_tips").html(re.status_desc); $('#checkcode_error').show(); } } } }); return false; } </script> </div> <div id="text-tips-center">客服热线 400-884-1001 工作时间: 8:30-18:00</div> </div> </div> <script> $("#fz_reg").hide(); $("#fz_login").show(); $(".loginUserName").myPlaceholder(); $(".security-code").myPlaceholder(); $(document).ready(function () { $('#chklist').hcheckbox(); $('#chklist1').hcheckbox(); $('#chklist2').hcheckbox(); //$(".loginUserName").myPlaceholder(); $(".free-regist").bind("click", function() { $("#reg_body").addClass("change_div");//取消翻转登录动画 $("#fz_reg").show(); $("#fz_login").hide(); $('.placeholder').addClass('placeholder-hide'); $(".loginUserName").myPlaceholder(); $(".security-code").myPlaceholder(); setTimeout(function() { // $("#reg_body").removeClass("change_div");//取消翻转登录动画 }, 500); }); }); </script> <div class="l-footer"> <div class="l-footer-main"> <div class="l-footer-link"> 2006-2024 <span class="l-footer-copyright">&copy;</span> <a target="_blank" title="一览" href="http://www.job1001.com">一览</a> <a target="_blank" title="关于我们" href="/aboutus/index.php">关于我们</a> | <a target="_blank" title="法律声明" href="/myNew/pmember.php">法律声明</a> | <a target="_blank" title="联系我们" href="/aboutus/contactus.php">联系我们</a> | <a target="_blank" title="加入一览" href="http://www.job1001.com/Company_Detail.php?CompanyDetail=cm1287987635752">加入一览</a> | <a target="_blank" title="意见反馈" href="/help/helpcenter/index.php?con=feedback">意见反馈</a> | <a target="_blank" title="手机APP" href="/xuanchuan/appload/" target="_blank">手机APP</a> </div> <ul class="license"> <li class="l1">经营性网站备案信息</li> <li class="l2">公共信息网络安全监察</li> <li class="l3">深圳网警</li> </ul> </div> </div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?d93c0c585cb5dc2d009a136d9ba11a56"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script src="//img3.job1001.com/js/cookie/cookie.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10