CINXE.COM
登录 - 一览云聘
<!doctype html> <html> <head> <meta charset="gb2312" /> <title>登录 - 一览云聘</title> <meta name="keywords" content="行业招聘,地区招聘,网络招聘,求职,人才,简历,工作,面试,应聘,跳槽,高薪,兼职,猎头,薪酬,薪资,培训,测评,人事"> <meta name="description" content="一览英才网- 是基于行业垂直细分和区域横向细分的特大型招聘网站平台,国内各行业各地区首选求职招聘网站平台!"> <link rel="stylesheet" type="text/css" href="//img3.job1001.com/personServer/style/yc-comm.css" /> <link rel="stylesheet" type="text/css" href="//img3.job1001.com/personServer/style/yc-login.css?v=201801" /> <link href="//j.job1001.com/validator/validator.css" type="text/css" rel="stylesheet"/> <link rel="stylesheet" type="text/css" href="//img3.job1001.com/position_new/style/yl_login_common.css" /> <link rel="stylesheet" type="text/css" href="//img3.job1001.com/job1001/5.0/css/login_sao.css" charset="utf-8" /> <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="//j.job1001.com/validator/jquery.validator.js"></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"></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> .c-input.in-yzm { width: 158px; height: 18px; line-height: 18px; border: none; background-color: #F8F8F8; border-radius: 8px; } #imgCheckCode { width: 88px; } .input-code-box .already-send { color: #939393; border: 1px solid #D9D9D9; background-color: #f2f2f2; width: 118px; height: 42px; border-radius: 8px; margin-left: 10px; cursor: pointer; } .input-code-box .already-send { color: #939393; border: 1px solid #D9D9D9; background-color: #f2f2f2; } .login-box-header { background-color: #FFF; border-radius: 10px 10px 0 0; position: relative; height: 20px; } .login-box .placeholder { top: 0px !important; left: 0px !important; } .login-area { border-radius: 0 0px 10px 10px; float: none; } .header-switch { padding-top: 4px; padding-left: 4px; position: absolute; right: 0; } .header-switch .icon-switch { display: inline-block; width: 60px; height: 60px; cursor: pointer; } .account { display: none; } .header-switch .tips { display: inline-block; margin-left: 10px; position: relative; top: -18px; } .login-area-qr { display: none; float: none; text-align: center; padding-top: 40px; } .qr-tips1 { font-size: 19px; margin-bottom: 10px; font-weight: bold; } .qr-tips2 { font-size: 14px; margin-bottom: 20px; } .qr-img { width: 140px; height: 140px; margin-bottom: 40px; } .login-area.login-area-qr { padding-bottom: 74px; } .loginUserName { background-color: #F8F8F8; border: none; width: 288px; height: 42px; border-radius: 8px; margin-bottom: 12px; } .login-type { text-align: center; margin-bottom: 20px; cursor: pointer; } .login-type-item { display: inline-block; width: 150px; padding: 10px 0; font-size: 18px; color: rgba(0, 0, 0, 0.65); } .login-type-item.active { color: rgba(0, 0, 0, 0.85); font-weight: bold; position: relative; } .login-type-item.active:after { position: absolute; bottom: 0; left: 60px; content: ""; background-color: #d13232; width: 32px; height: 2px; border-radius: 16px; } .input-code-box { position: relative; margin-bottom: 6px; border-radius: 6px; } .input-code-box .loginUserName, .input-code-box .security-code { width: 158px; height: 42px; border: none; margin-bottom: 0; } .input-code-box .security-code { background-color: #f2f2f3; } .input-code-box .free-get-code { background-color: #FFF; border: none; width: 118px; height: 42px; cursor: pointer; color: #ee4141; border: 1px solid #ee4141; border-radius: 8px; margin-left: 10px; } .input-code-box .placeholder { top: 0px !important; left: 0px !important; } .security-code { background-color: #FFF; } #fz_reg .loginBtn { margin-bottom: 40px; } #fz_reg .serveragree { margin-bottom: 40px; } #fz_reg .sel-rem { margin-bottom: 40px; } .serveragree, .sel-rem { position: relative; } label.checkbox { padding-left: 10px; } .checkbox .user-deal { color: #1890FF; } .loginBtn { width: 306px; height: 44px; font-size: 16px; border-radius: 8px; margin-bottom: 18px; } .sel-rem { margin-bottom: 30px; } .t-login { background: none; } .sel-other-logintitle { color: #555; } #fz_login { height: auto; } .no-court-row { font-size: 14px; padding-top: 16px; } .login-box { height: auto; } .login-area, .login-area.login-area2 { padding-bottom: 20px; } .forget, #safe_forget { color: #F04646; } .icon { display: inline-block; vertical-align: middle; } .eye { cursor: pointer; } .icon-eye-show { height: 44px; width: 18px; background: url(http://img3.job1001.com/admincompanyNew/6.0/images/eye.png) no-repeat top center; } .icon-eye-hide { height: 44px; width: 18px; background: url(http://img3.job1001.com/admincompanyNew/6.0/images/eye.png) no-repeat bottom center; } .login-row { padding: 0; width: 298px; } .input-box { background-color: #f2f2f3; border-radius: 8px; } .input-box .loginUserName{ margin-bottom: 0; background-color: transparent; width: 256px; } .login-area1 { padding-top: 32px; } .login-account_box { position: relative; } </style> </head> <body> <div class="header"> <div class="header-main clearfix"> <div class="logo"> <a target="_blank" title="一览英才网" href="http://www.job1001.com/" class="href"> <img src="//img3.job1001.com/logo200/job1001logo.gif"> </a> <span></span> </div> <div class="h-r clearfix"> <div class="h-r-tel"> <span class="h-r-tel-title">客服热线:</span> <em class="h-r-tel-num">400-884-1001</em> </div> </div> </div> </div> <div class="main-yc-warp1"> <div class="main-yc-cont clearfix" > <div id="reg_body" style="width:364px;*height:438px;" class="fr"> <div class="t-login" id="fz_reg"> <form name="form_reg" id="form_reg" method="post"> <div class="login-area login-area1"> <input type="hidden" name="regtype" id="regtype" value=""> <input type="text" class="loginUserName" name="p_uname" id="p_uname" placeholder="请输入手机号" /> <div> <div class="input-code-box"> <input type="text" name="checkcode" id="checkcode" class="security-code" placeholder="输入验证码" /> <input type="button" id="cm-get-btn" class="free-get-code" value="获取验证码" /> </div> </div> <p id="serverTips" class=""></p> <p class="serveragree clearfix" style="margin-top: 5px;"> <span class="fl" id="chklist1"> <input type="checkbox" checked="checked" id="eAgree" name="agree" value="1" /> <label> 同意一览招聘<a href="/myNew/pmember_new.php" target="_blank" class="user-deal">《用户服务协议》</a> </label> </span> </p> <div class="loginBtn" id="reg-submit"> 注册 / 登录</div> <p></p> <p class="sel-rem"> <span>已有账号? <a href="javascript:;" class="now-login">立即登录</a><a href="javascript:;" class="now-login now-login-icon"></a></span> </p> </div> <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="1000" /> <input type="hidden" name="reggo" value="" /> <input type="hidden" name="fromtype" value="" /> <input type="hidden" name="turnurl" id="turnurl" value="reg_step.php?step=guide" /> <input type="hidden" name="user_type" id="user_type" value="1001" /> </form> </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(){ $("#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); }); }); 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 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 = '/personServe/2015/regdeal.php?detail=sendcodeabcd&cks=af543e3e1cb95dd0cb479c7d1d08b123&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'); $("#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=af543e3e1cb95dd0cb479c7d1d08b123'; var url = '/personServe/2015/regdeal_new.php?detail=sendcodeabcd&cks=af543e3e1cb95dd0cb479c7d1d08b123'; $.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); 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/>您也可以换个手机注册。"); $('.tips').css('background','none'); $('.tips').css('padding','4px 4px'); $("#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(checkEmpty($("#p_uname").val())){ fnShowErr($("#p_uname"),'请输入您的手机号!'); return false; }else if(checkMobile($("#p_uname").val())){ fnShowErr($("#p_uname"),'手机号码错误,请重新输入!'); 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 mobileBool = true; val_regtype = ''; mobileBool = checkMobile(_this.val()); if(mobileBool){ fnShowErr_New($(this),'请填写正确的手机'); return false; } val_regtype = 'mobile'; $("#cm-get-btn").show(); $("#checkcode").show(); $("#regtype").val(val_regtype); if( fnBCheckPersonUnameRepeat(_this.val()) ){ 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'); return true; } }); $('#reg-submit').click(function () { postsubmit(); }) // 验证注册表单 function fnBCheckRegForm() { var val_p_uname = $("#p_uname").val(), val_checkcode = $("#checkcode").val(), val_regtype = $("#regtype").val(); var bCheckCheckCode = checkEmpty(val_checkcode), bCheckAgree = !($('#eAgree').attr('checked')); var reg_only_mobile = $("#reg_only_mobile").val(); if (!checkMobile(val_p_uname)) { val_regtype = 'mobile'; } else { fnShowErr($('#p_uname'), '请输入正确的手机'); return true; } if (bCheckCheckCode) { fnShowErr($("#checkcode"), '请输入验证码!'); return true; } $("#regtype").val(val_regtype); var bCheckUnameRepeat = fnBCheckPersonUnameRepeat(val_p_uname); if (bCheckUnameRepeat) { 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'); return true; } if (bCheckAgree) { fnShowErr($('#eAgree'), '你未选择同意'); return true; } return false; } function postsubmit(){ var formobj = document.getElementById('form_reg'); var reurl = getPostFormData(formobj); var $formObj=$("#form_reg");//当前表单 if( fnBCheckRegForm() ){ return false; } fnSubmitLoading({ obj:$(".loginBtn"), className:"loginBtn loginBtnAft" }); reurl +="®Company=1&ajaxformflag=1®_token=9b7440ab41e06657ec0c34e7e00225d2"; $.ajax({ url:'/personServe/2015/regdeal.php', data:reurl, type:'POST', dataType:'json', success:function(re){ if(re.status == 'OK'){ if(re.jump_url != '') { $("#serverTips").hide(); console.log() window.location.href=re.jump_url; } else { $("#serverTips").hide(); window.location.href=$('#turnurl').val(); } }else{ fnSubmitLoading({ obj:$(".loginBtn"), bool:false }); if(re.code=='10'){ fnShowErr($("#geetestcode"),'未验证'); }else if(re.code=='120'){ fnShowErr($("#checkcode"),re.status_desc); }else{ fnShowErr($("#reg-submit"),re.status_desc); } } } }); return false; } </script> <script src="//img3.job1001.com/js/JSLibrary.js"></script> <script src="//img3.job1001.com/js/cookie/cookie.js"></script> <div class="t-login" id="fz_login" style="display:none;"> <form method="post" name="plogin_form" id="plogin_form"> <input type="hidden" name="fromtype" id="fromtype" value="" /> <input type="hidden" id="login_num" name="login_num" value=''> <div class="login-box"> <div class="login-box-header"> <div class="header-switch" id="login_qr"> <img class="icon-switch" src="https://img3.job1001.com/job1001/5.0/images/sao/code-scan.png"> </div> <div class="header-switch account" id="login_account"> <img class="icon-switch" src="https://img3.job1001.com/job1001/5.0/images/sao/pc-login.png"> </div> </div> <div class="login-area login-area-qr"> <p class="qr-tips1">手机扫码 安全登录</p> <p class="qr-tips2">使用 [一览招聘 APP] 扫码登录</p> <p class="u-p-two"><a href="#" onclick="getQr()">刷新二维码</a></p> <img id="qrcode_img_1" class="qrcode_img_1" src="" alt="扫我登陆!"> <p class="no-court-row"><span>没有账号? <a href="javascript:;" class="free-regist">免费注册</a></span></p> <input type="hidden" id="encrypt_1" name="encrypt_1" > </div> <div class="login-area login-area2"> <div class="login-type"> <div class="login-type-item login-type_code" data-target='#account_code'> 验证码登录 </div> <div class="login-type-item login-type_pwd active" data-target='#account_pwd'>密码登录</div> </div> <div class="login-account_box" id="account_code"> <input type="text" class="loginUserName" id="l_mobile" name="uname" placeholder="请输入手机号" /> <div class="input-code-box"> <input type="text" class="loginUserName" id="l_code" name="code" placeholder="请输入短信验证码" /> <input type="button" id="cm-getcode-btn" class="free-get-code" value="获取验证码" /> </div> </div> <div class="login-account_box" id="account_pwd"> <input type="text" class="loginUserName" id="lUsername" name="uname" placeholder="请输入登录用户名" /> <div class="login-row"> <div class="input-box"> <input type="password" class="loginUserName" 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" style="display: none;"> <input type="text" class="loginUserName" 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="login-row"> <div class="input-box"> <input type="password" class="loginUserName" id="safe_code_l" onkeyup="handlePW(event)" data-target="#safe_code_l_re" name="safe_code_l" placeholder="请输入安全码" /> <icon class="icon icon-eye-hide eye"> </icon> </div> <div class="input-box" style="display: none;"> <input type="text" class="loginUserName" id="safe_code_l_re" onkeyup="handlePW(event)" data-target="#safe_code_l" name="safe_code_l_re" placeholder="请输入安全码" /> <icon class="icon icon-eye-show eye"> </icon> </div> </div> </div> <p class="yanzhengcode"> <div class="login-row" id="login-yzm" style=""> <input name="checkcode1" id="checkcode1" type="text" class="c-input in-yzm" placeholder="请输入验证码" tabindex="4"> <a onclick="fnChangeCheckCode({url:'/personServe/checkcode.php'})" title="点击更换验证码" style="cursor:pointer;"> <img src="/personServe/checkcode.php" title="不区分大小写" id="imgCheckCode"> </a> <a onclick="fnChangeCheckCode({url:'/personServe/checkcode.php'})" title="点击更换验证码" style="cursor:pointer; text-decoration:underline" class="login-refresh"></a> </div> </p> <p class="sel-rem clearfix"> <span style="vertical-align: middle;" class="password_forget"> <a class="forget" title="忘记密码?" id="pas_forget" target="_blank" href="findPwdEmail.php">忘记密码</a><span style="color:#000000">或</span><a title="忘记安全码" href="findSafecode.php" target="_blank" id="safe_forget">安全码</a> </span> <span class="fl" id="chklist2"> <input type="checkbox" checked="checked" id="loginAgree" name="agree" value="1" style="display: none;"> <label class="checkbox checked"> 同意一览招聘 <a href="/myNew/pmember_new_2017.php" target="_blank" class="user-deal">《用户服务协议》</a> </label> </span> </p> <div class="loginBtn" id="loginSubmit">登录</div> <input type="hidden" name="turnurl_login" id="turnurl_login" value="" /> <p class="no-court-row"><span>没有账号? <a href="https://www.job1001.com/yltong/#/" class="free-regist">立即注册</a></span></p> </div> </div> </form> </div> <script> var timer; $(document).ready(function () { //$(".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); */ }); var t = Math.random(); $.ajax({ url:'login.php?detail=getqrcode1', data:'t='+t, type:'POST', async: false, dataType:'json', success:function(re){ $("#qrcode_img_1").attr("src",re.img_url); $("#encrypt_1").attr("value",re.encrypt); } }) }); function getQr() { var t = Math.random(); $.ajax({ url:'login.php?detail=getqrcode1', data:'t='+t, type:'POST', async: false, dataType:'json', success:function(re){ $("#qrcode_img_1").attr("src",re.img_url); $("#encrypt_1").attr("value",re.encrypt); } }) } $("#lUsername").blur(function (event) { event.stopPropagation(); var _this = $(this); bBool = checkEmpty(_this.val()); if (checkEmpty(_this.val())) { fnShowErr($('#lUsername'), '账号名不能为空!'); return false; } }); $("#lPassword").blur(function (event) { event.stopPropagation(); var _this = $(this); bBool = checkEmpty(_this.val()); if (checkEmpty(_this.val())) { fnShowErr($('#lPassword'), '密码不能为空!'); return false; } }); $("#safe_code_l").blur(function (event) { event.stopPropagation(); var _this = $(this); bBool = checkEmpty(_this.val()); if (checkEmpty(_this.val())) { fnShowErr($('#safe_code_l'), '安全码不能为空!'); return false; } }); $("#lUsername,lPassword,safe_code_l").focus(function () { $("#tips").html(''); }) var ii = 0; var login_num_cookie = getCookie('login_num'); if (login_num_cookie < 5) { $("#login-yzm").hide(); } var loginType = 'pwd'; // pwd:账号密码登录, code:验证码登录 var $qr = $("#login_qr"), $account = $("#login_account"), $area1 = $('.login-area-qr'), $area2 = $('.login-area2'), $loginTypes = $('.login-type-item'), $accountBoxs = $('.login-account_box'), $accountCode = $('#account_code'), $accountPwd = $('#account_pwd'), $mobile = $("#l_mobile"), $checkcode = $("#checkcode1"), $code = $("#l_code"), $codeBtn = $("#cm-getcode-btn"), $forgetSecert = $('.password_forget'); $accountCode.hide(); //$forgetSecert.hide(); $('.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(), lsafe_code_l = $('#safe_code_l').val(), lcheckcode = $checkcode.val(); var bCheckMobile = checkMobile(lMobile), bCheckMsgCode = checkEmpty(lCode), bCheckUsername = checkEmpty(lUsername), bCheckPassword = checkEmpty(lPassword), bCheckCode = checkEmpty(lcheckcode); bCheckSafeCode = checkEmpty(lsafe_code_l); bCheckAgree = !($('#loginAgree').attr('checked')); if (loginType == 'code') { if (bCheckMobile) { fnShowErr($mobile, '请输入正确的手机号码'); return true; } if (bCheckMsgCode) { fnShowErr($code, '请输入短信验证码'); return true; } } else { if (bCheckUsername) { fnShowErr($('#lUsername'), '请输入账号'); return true; } if (bCheckPassword) { fnShowErr($('#lPassword'), '请输入密码'); return true; } if (bCheckSafeCode) { fnShowErr($('#safe_code_l'), '请输入安全码'); return true; } } if (login_num_cookie >= 5 && bCheckCode) { fnShowErr($checkcode, '请输入验证码'); return true; } if (bCheckAgree) { fnShowErr($('#loginAgree'), '你未选择同意'); return true; } return bFlag; } // 扫码登录/账号密码登录切换 var loginMethod = 'qr'; $('.icon-switch').on('click', function () { if (loginMethod == 'account') { $qr.show(); $account.hide(); $area1.hide(); $area2.show(); loginMethod = 'qr'; clearInterval(timer); } else { $qr.hide(); $account.show(); $area1.show(); $area2.hide(); loginMethod = 'account'; // timer = setInterval(getQr,5000); } }); $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"; }); // 获取手机验证码 function sendLoginCode(validate) { changeCode_robot(); $codeBtn.attr("disabled", "disabled"); $codeBtn.attr("class", "already-send"); var mobile = $mobile.val(); var url = '/personServe/2015/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); 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); $('.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/>您也可以换个手机注册。"); $('.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); } } } }); } // 获取验证码发送前校验 $codeBtn.click(function () { if (checkEmpty($mobile.val())) { fnShowErr($mobile, '请输入您的手机号!'); return false; } else if (checkMobile($mobile.val())) { fnShowErr($mobile, '手机号码错误,请重新输入!'); 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; } ii++; $("#login_num").val(ii); if(ii>=5){ setCookie('login_num',5,cookie_expire,cookie_domain); } if(ii>=5 || login_num_cookie==5){ $("#login-yzm").show(); } var login_num = $.trim($('#login_num').val()); if(login_num_cookie>=5){ login_num = 5; } 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 safe_code = $.trim($('#safe_code_l').val()); var fromtype = $.trim($('#fromtype').val()); var jump_url = $.trim($('#jump_url').val()); var paraM = {'uname':uname,'ucode': ucode, 'password':pwd,'jump_url':jump_url,'login_type':loginType,'hh':'0',safe_code:safe_code,fromtype:fromtype,'checkcode':checkcode1,'login_num':login_num} $.post('/companyServe/vLoginAjax.php',paraM,function(re){ var to_http = ''; var test_http = ''; if(test_http=='http'||detectOS()){ to_http='http=1'; } if(re.status == 'OK'){ $('#loginSubmit').attr("disabled","disabled").css({"background":"#e5e5e5","color":"#f9f9f9"}).val("登录中.."); //是否选择自动登录 var autoLogin = $('input[name="autoLogin"]:checked').length; if( autoLogin == 1 && getCookie('com_login_auto') != 1){ //如果是自动登录,并且之前未被初始化,则记录cookie setCookie('com_login_uname',re.info.uname,cookie_expire,cookie_domain); setCookie('com_login_pwd',re.info.pwd,cookie_expire,cookie_domain); setCookie('com_login_auto',1,cookie_expire,cookie_domain); } if( autoLogin != 1 ){ //如果不自动登录,则清空 deleteCookie('com_login_uname'); deleteCookie('com_login_pwd'); deleteCookie('com_login_auto'); } $.ajax({ type : "POST", async : false, url : 'http://yp.yl1001.com/yp_sso.php', data : re, dataType : "jsonp",//数据类型为jsonp jsonp : "callback",//服务端用于接收callback调用的function名的参数 success : function(data){ }, error:function(){} }); if(re.jump_url){ //re.jump_url="../admincompanyNew/yp/admin/"; var jump_url_two = re.jump_url; if(to_http){ if(jump_url_two.indexOf("?") >= 0 ) { jump_url_two = jump_url_two+'&'+to_http; }else{ jump_url_two = jump_url_two+'?'+to_http; } } window.location.href=jump_url_two; }else{ var jump_url_three = '../admincompanyNew/yp/admin/'; if(to_http){ jump_url_three = jump_url_three+'?'+to_http; } window.location.href=jump_url_three; } }else{ //如果登录失败,则清空 deleteCookie('com_login_uname'); deleteCookie('com_login_pwd'); deleteCookie('com_login_auto'); if(re.code==101){ fnShowErr($("#checkcode1"),'验证码错误'); }else{ if(re.jump_url){ if(re.code==311){ fnShowErr($('#loginSubmit'), re.status_desc); }else{ if( re.code == 200 || re.code == 201 ){ alert(re.status_desc); console.log(re.code); } var jump_url_sxi = re.jump_url; if(to_http){ if(jump_url_sxi.indexOf("?") >= 0 ) { jump_url_sxi = jump_url_sxi+'&'+to_http+'&t=1'; }else{ jump_url_sxi = jump_url_sxi+'?'+to_http+'&t=2'; } } /*var jump_url ="http://1001.job1001.com/vLogin.php?companyLoginWay=1&uname=wangxp314&password=dc483e80a7a0bd9ef71d8cf973673924&safe_code_encrypt=dc483e80a7a0bd9ef71d8cf973673924&http=1";*/ window.location.href=jump_url_sxi; //window.location.href=re.jump_url; } }else{ if( re.code == 140){ fnShowErr($('#l_code'), re.status_desc); } else { fnShowErr($('#loginSubmit'), re.status_desc); } } //刷新更换安全码 fnChangeCheckCode({url:'/personServe/checkcode.php'}) } } },'json'); return false; //End 如果返回的密码不正确 }); function detectOS() { var sUserAgent = navigator.userAgent; var isWin = (navigator.platform == "Win32") || (navigator.platform == "Windows"); var isIE = sUserAgent.indexOf("MSIE") > -1; //判断是否IE浏览器 if (isWin && isIE) { var isWin2K = sUserAgent.indexOf("Windows NT 5.0") > -1 || sUserAgent.indexOf("Windows 2000") > -1; if (isWin2K) { return true; } var isWinXP = sUserAgent.indexOf("Windows NT 5.1") > -1 || sUserAgent.indexOf("Windows XP") > -1; if (isWinXP) { return true; } var isWin2003 = sUserAgent.indexOf("Windows NT 5.2") > -1 || sUserAgent.indexOf("Windows 2003") > -1; if (isWin2003){ return true; } } return false; } timer1 = setInterval("log()","2000"); var i=1; function log(){ if(i==200){ clearInterval(timer1); } var encrypt1 = $("#encrypt_1").val(); encrypt = encrypt1; var url1 = 'vLoginAjax.php?detail=dealscanqrcode'; var data1 = 'encrypt='+encrypt1; $.ajax({ url:url1, data:data1, type:'POST', dataType:'json', success:function(re){ if(re.status=='OK'){ clearInterval(timer1); var jump_url_four = re.jump_url; window.location.href=jump_url_four; }else if(re.status=='jumpToZwList'){ clearInterval(timer1); var jump_url_five = re.jump_url; window.location.href=jump_url_five; }else if(re.status=='jumpToEmployer'){ clearInterval(timer1); var jump_url_five = re.jump_url; window.location.href=jump_url_five; } } }) i++; } </script> </div> </div> </div> <script> $("#fz_login").show(); $("#fz_reg").hide(); $(".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">©</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?a2cccb25ea1b4807cf3720f792c919c1"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script src="//img3.job1001.com/statnew/job1001statnew.js?siteid=1000" type="text/javascript"></script> <script> </script> <script src="//img3.job1001.com/js/cookie/cookie.js"></script> <script src="//www.yl1001.com/inc/class/job1001/geetest/static/gt.js?20170703" charset="utf-8"></script> </body> </html>