CINXE.COM
会员登录_康强医疗人才网
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>会员登录_康强医疗人才网</title> <meta http-equiv="Content-Type" content="text/html;charset=gb2312" /> <meta name="description" content="" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="Cache-Control" content="no-transform" /> <meta name="viewport" content="width=device-width,minimum-scale=1,user-scalable=no,maximum-scale=1,initial-scale=1,viewport-fit=cover" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="format-detection" content="telephone=no" /> <script language="javascript" src="https://img.kq36.com.cn/js/jquery-1.7.2.min.kq36.js?v=20200010272"></script> <link href="https://img.kq36.com.cn/js/layer/skin/layer.css" rel="stylesheet" /> <script language="javascript" src="https://img.kq36.com.cn/js/layer/layer.js?v=20200010272"></script> <script language="javascript" src="https://img.kq36.com.cn/js/jquery.tmpl.min.js"></script> <script language="javascript" src="https://img.kq36.com.cn/js/public_use.js?v=20200010272"></script> <script src="https://img.kq36.com.cn/kq600/js/libs/clipboard/clipboard.min.js"></script> <script src="https://img.kq36.com.cn/js/qr_code.js"></script> <script type="text/javascript"> var userAgent = navigator.userAgent; if (userAgent.indexOf('AlipayClient') > -1) { // 支付宝小程序的 JS-SDK 防止 404 需要动态加载,如果不需要兼容支付宝小程序,则无需引用此 JS 文件。 document.writeln('<scr'+''+'ipt src="https://appx/web-view.min.js"' + '>' + '<' + '/' + 'scr'+''+'ipt>'); }else if (/QQ/i.test(userAgent) && /miniProgram/i.test(userAgent)) { // QQ 小程序 document.write('<scr'+''+'ipt type="text/javascript" src="https://img.kq36.com.cn/js/qqjssdk1.0.0.js"><\/scr'+''+'ipt>'); } else if (/toutiaomicroapp/i.test(userAgent)) { // 头条小程序 JS-SDK 如果不需要兼容头条小程序,则无需引用此 JS 文件。 document.write('<scr'+''+'ipt type="text/javascript" src="https://img.kq36.com.cn/js/toutiao1.0.1.js"><\/scr'+''+'ipt>'); } else if (/swan/i.test(userAgent)) { // 百度小程序 JS-SDK 如果不需要兼容百度小程序,则无需引用此 JS 文件。 document.write('<scr'+''+'ipt type="text/javascript" src="https://img.kq36.com.cn/js/swan-2.0.20.js"><\/scr'+''+'ipt>'); } </script> <script type="text/javascript" src="https://img.kq36.com.cn/js/jweixin-1.3.2.js"></script> <script language="javascript" src="https://img.kq36.com.cn/js/uni.webview.1.5.2.js"></script> <script> isMiniprogram = false document.addEventListener('UniAppJSBridgeReady', function () { uni.postMessage({ data: { title: document.title } }); //if(navigator.userAgent.toLowerCase().indexOf('miniprogram')!=-1){isMiniprogram=true;} uni.getEnv(function (res) { if (res.miniprogram || res.smartprogram) { isMiniprogram = true; } }); }); </script> <meta name="MobileOptimized" content="240"/> <meta name="full-screen" content="yes" /> <meta name="x5-fullscreen" content="true" /> <meta name="browsermode" content="application"> <meta name="page-mode" content="no-title" /> <meta name="x5-page-mode" content="no-title" /> <!-- QQ应用模式 --> <style> *{font-family:'微软雅黑';margin:0px;} body {width:100%;max-width:640px;list-style:none;background-color: #fff;margin: 5px;padding: 0 0;font-family: "微软雅黑" ;font-size: 14px;} ul,li{list-style:none;} a{color: #00E;text-decoration: none;} .red{color:red;} a:link, a:visited{color: #285682;text-decoration: none;} a:hover{ text-decoration: underline;color:#E40077} p{margin:3px auto;color:#285682;} #contain_{margin:0px 0 0 0;} #bottom{background:#0381BC;color:white;text-align:center;line-height:24px} #bottom a{color:white;} input[type="text"]{padding:0 2px 0 2px} body{width:100%;margin:0px auto;padding:0px;position:relative} .logo{margin:0px 0 0px 0px;height:45px;padding:0px;background-color:#0486C4} #mcover { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 20000; } #mcover img { position: fixed; left: 0px; width: 100%; top: 0px; z-index: 9998; } .hdarrow-up { width: 0px; height: 0px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid #fff; /*以下属性可以是IE5兼容*/ font-size: 0px; line-height: 0px; position:absolute; top:-5px; right:20px; } #hdhtml{position:absolute; right:5px; top:35px; background:white; z-index:111; border-radius:1%; padding:5px 5px 5px 5px; border:1px solid #0486C4} #hdhtml a{width:30%;display:block;float:left;background:#D6EBFC;color:#376A97;font-family:微软雅黑;text-align:center;margin:5px auto;float:left;height:30px;line-height:30px;margin-left:10px;border-radius:5px} .topright{float:right;margin:10px 7px 0 0;color:#0478B1;border-radius:5px;border:1px solid #0478B1;padding:0px;font-size:14px;} .topright a{color:white} .topright li{float:left;padding:0px;text-align:center;height:20px;line-height:20px;width:40px;border-right:1px solid #0478B1;} .topright ul{margin:0px;padding:0px;overflow:hidden;} .topright .curli{background:#0478B1} .layui-layer-btn1{background:#2E8DED !important;color:#fff !important;border:1px solid #4898D5 !important} .layui-layer-btn0{background:#F1F1F1 !important;color:#333333 !important;border:1px solid #DEDEDE !important} /*登陆*/ /**/ </style> </head> <body> <div id='wx_pic' style='margin:0 auto;display:none;'> <img src='https://img.kq36.com.cn/300-300.jpg' width="300" height="300" /> </div> <a name="top"></a> <div id="contain_"> <style> .CurTitle{height:35px;line-height:22px;background:#fff;color:#0486c4;border:0px;padding:8px 0 0px 0px;position: fixed; width: 100%; max-width:640px; z-index: 2; top: 0;} .CurTitle a{text-decoration:none;color:#333} .Cur_Url{ font-size: 20px; font-weight: bold; margin: 0 5% 0 2%; display: inline-block; width: 3%; float: left;} .CurUrl a{color:#555} .CurName{ font-size: 16px; font-weight: bold; display: inline-block; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; width: 48%; float: left; color:#555; word-break:keep-all;white-space:nowrap;} </style> <div class="CurTitle" > <a href="javascript:;" class="Cur_Url iconfont" ></a> </div> <div style="clear:both;"></div> <div style="margin-top:40px;background:#fff;height:5px;" class="logo"></div> <div id="poploginDiv" class="mylogindiv"> <div class="title"><H4><span id="logintype_t" name="logintype_t">会员登录</span></H4></div> <div class="con"> <div style="height:20px"></div> <div class="loginField"><input style="width:0px;visibility:hidden;position:absolute;z-index:-1;" /><input name="password" type="password" style="width:0px;visibility:hidden;position:absolute;z-index:-1;" /><input type="hidden" value="0" name="multuser" id="multuser" /><input type="hidden" name="UserType" id="UserType" /><input type="hidden" value="https://3g.kq36.com/" name="returnpage" id="returnpage" /><input id="username" name="username" type="text" value="" placeholder="账号/手机号码" /></div> <input type="hidden" name="ass" id="ass"> <input type="hidden" value="" name="openid" id="openid"> <input type="hidden" value="" name="unionid" id="unionid"> <input type="hidden" value="" name="reTokent" id="reTokent"> <div class="loginField"><input id="password" name="password" type="password" placeholder="密码" /></div> <div style="margin:10px auto;margin-bottom:0px;text-align:center;"><a href="javascript:;" id="loginbtn" >登录</a><br/><br/><a href="javascript:;" style="display:none" class="switchloginbtn">换账号登录</a> <a href="javascript:;" class="wxloginbtn" style="display:none;font-weight:normal;font-size:14px">微信登录</a> <a href="javascript:;" class="codeloginbtn">验证码登录</a></div> <div class="otherbtn"><a href="https://3g.kq36.com/32/">找回密码?</a> <a href="javascript:;" class="regbtn" data-returnpage="https://3g.kq36.com/" style="font-weight:bold;">注册会员<font style="color:#666;font-size:9px;">(只需1分钟)</font></a></div> <div style="height:10px;"> </div> </div> </div> <script> $(function(){ $(".Cur_Url").live("click",function(){ var returnpage=$('#returnpage').val() var referrer=document.referrer console.log('referrer:'+referrer) // return false if (referrer.indexOf('login=1')!=-1){referrer=''} if (referrer!=''){ if (referrer.indexOf('3g.kq36.com')==-1 && returnpage!=''){ location.href=returnpage }else{ history.go(-1) } }else{ location.href='https://3g.kq36.com/' } }) $("input").attr("autocomplete","off"); $("input,textarea").keyup(function(){ //$(this).val($(this).val().replace(/[^\u4e00-\u9fa5\w]/g,'')); ValidateValue($(this)); }) }) </script> <style type="text/css"> <!-- .mylogindiv { text-align: center; font-size: 12px; font-weight: bold; width: 95%; max-width:640px; height: auto; overflow:hidden; border-radius:3px; margin:10px auto; margin-bottom:80px; } .mylogindiv .title{height:40px;} .mylogindiv .title H4{float:left;color:#000;font-weight:bold;font-size:20px;margin:15px 0 15px 9px;} .mylogindiv .title p{font-weight:bold;float:right;margin:0px 8px 0px 2px;color:white;font-size:22px} .mylogindiv .title a:link,.mylogindiv .title a:visited{color:white} .mylogindiv .title a:hover{color:white} .mylogindiv .title img{float:right;margin:8px 0 0 0;} .mylogindiv .con{height:auto;width:100%;overflow:hidden;} .mylogindiv .con .loginRow{CLEAR: both;margin:0px;padding:0px;overflow:hidden;height:30px; } .loginRow .loginLabel{FLOAT: left;margin:0px;padding:0px; WIDTH:105px; LINE-HEIGHT: 30px; TEXT-ALIGN: right;color:black;margin:0px;font-weight:normal} .loginRow .loginField{TEXT-ALIGN: left;FLOAT: left;} .loginField input{width:120px;height:26px;border:1px solid #e3e7ed;border:none; outline:none;} .loginField{margin:20px auto} .mylogindiv .loginField input { background: #f1f1f1 url(https://img.kq36.com.cn/3g2/login-sprite.png) no-repeat; background-color:#fff; padding: 5px 0px 5px 30px; margin: 0 0 10px 0; width: 95%; /* 353 + 2 + 45 = 400 */ border:0px; border-bottom: 1px solid #e3e7ed; margin:0px; FONT-SIZE:16px; } .mylogindiv #username { background-position: 5px -8px !important; } .mylogindiv #password { background-position: 5px -58px !important; } #loginbtn{width:40%;margin:0 0 10px 0;padding:5px auto;background:#0486C4;color:white;font-size:16px;border:1px solid #0486C4;cursor:pointer;height:30px;line-height:30px;display:inline-block;text-align:center;line-height:32px;height:32px;border-radius:3px} .codeloginbtn,.switchloginbtn{margin:0 10px 10px 10px;padding:5px auto;font-size:14px;cursor:pointer;height:30px;line-height:30px;display:inline-block;text-align:center;line-height:32px;height:32px;border-radius:3px;font-weight:normal;color:#0486C4 !important} .wxloginbtn,.switchUser{color:#0486C4 !important;font-weight:normal;font-size:16px;} .otherbtn{margin:10px auto;margin-bottom:10px;text-align:center;width:100%;clear:both;} .otherbtn a{font-weight:normal;display:inline-block;margin-left:5px;color:#0486C4} .usertype{line-height:20px;height:20px;margin:0px !important;padding:0px !important;margin-bottom:10px !important;margin-top:5px !important;display:none;color:#666} --> </style> <script language="javascript" type="text/javascript"> $(".switchUser").on("click",function(){ var msginfo=$(this).attr("act-user") layer.confirm(msginfo,{title:"切换",icon:3,closeBtn:false,btn: ['确定切换','不切换']},function(){ top.location.href='https://3g.kq36.com/kq36/switchUser.asp'},function(){ layer.closeAll()}) }) var lsm=localStorage.getItem("u") var lsreTokent=localStorage.getItem("reTokent") if (lsm==null){lsm=""} if (lsreTokent==null){lsreTokent=""} if (lsm!=''){$("#username").val(localStorage.getItem("u"))} if (lsreTokent!='' && lsm!='' ){ $("#reTokent").val(lsreTokent); //after('<span style="display:block;color:red;font-weight:bold;text-align:left;margin:0 0 0 30px">自动登录中 <span class="time">5s</span></span>') $("#password").hide();$(".switchloginbtn").show(); //var timerid=window.setInterval("CountTimer('.time',1,'#loginbtn')",1000); } var islogin=0; $(".codeloginbtn,#username,.wxloginbtn,.regbtn").live("click",function(){ //clearInterval(timerid); $("#password").next().remove(); }) $(".switchloginbtn").live("click",function(){ //clearInterval(timerid); $("#username").val(''); $("#reTokent").val(''); $("#password").next().remove(); $("#password").show(); $(".switchloginbtn").hide(); }) $("#loginbtn").live("click",function(){ //$('#password').next().remove() var username=$.trim($('#username').val()); var password=$.trim($('#password').val()); var multuser=$.trim($("#multuser").val()); var UserType=$.trim($("#UserType").val()); var returnpage=$.trim($("#returnpage").val()); var ass=$.trim($("#ass").val()); var reTokent=$.trim($("#reTokent").val()); //var UserType=$('input:radio[name="UserType"]:checked').val(); if (username=='') { layer.msg('请填写账号/手机号码!',{time:2000},function(){$('#username').select();}); return false; } if (password=='' && reTokent=='') { layer.msg('请填写密码!',{time:2000},function(){$('#password').show().select();}); return false; } if (islogin==0) { layer.load(); uid=""; uid=getCookies("unionid"); if (uid==null){uid="";} var ajaxTimeoutTest = $.ajax({ url:'https://api.kq36.com/public/returnhtm/return_mobile_ajax.asp?callback=?', //请求的URL timeout : 7000, //超时时间设置,单位毫秒 type : 'get', //请求方式,get或post data :{cmd:"login",username:escape(username),password:escape(password),openid:$('#openid').val(),typen:$('#typen').val(),multuser:escape(multuser),UserType:escape(UserType),ass:escape(ass),openid:$('#openid').val(),unionid:$('#unionid').val(),reTokent:escape(reTokent)}, //请求所传参数,json格式 dataType:'json',//返回的数据格式 success:function(data){ //请求成功的回调函数 layer.closeAll() if (data.islogin=="-1"){ layer.msg('请填写账号/手机号码!',{time:2000},function(){$('#username').select();}); return false; }else if(data.islogin=="-2"){ layer.msg('请填写密码!',{time:2000},function(){$('#password').show().select();}); return false; }else if(data.islogin=="-3"){ localStorage.removeItem("reTokent"); $("#reTokent").val(''); $(".switchloginbtn").hide(); //clearInterval(timerid); $("#password").show().focus().next().remove(); $("#multuser").val(0);$("#UserType").val(''); if (data.msg.indexOf('请输入密码')!=-1) { //$("#password").show().focus().next().remove(); }else{ layer.confirm('账号或密码错误', { title:['提示',true], btn: ['找回密码','重新输入','短信登录'] //按钮 ,btn3:function(){ $(".codeloginbtn").click(); } }, function(){ location.href='https://3g.kq36.com/32/'; }, function(){ layer.close(layer.alert());$('#username').select();$("#multuser").val(0);$("#UserType").val(''); }); } }else if (data.islogin=="-5") { layer.msg(data.msg); return false; }else if (data.islogin=="22"){ Verifylogin(data.uid); return false; }else if(data.islogin=="-33"){ $("#multuser").val(0);$("#UserType").val(''); layer.msg("账号/手机号未注册",{time:2000},function(){$(".regbtn").click();}) }else if (data.islogin=="2" || data.islogin=="3") { //clearInterval(timerid); layer.confirm('请选择您要登录帐号类型?', { icon: 3, title:false, skin: 'layer-ext-moon' , closeBtn :false, btn: ['登录企业','登录个人'] //按钮 //,btn3:function(){layer.closeAll()} }, function(index){ $("#multuser").val(1);$("#UserType").val('c'); $("#loginbtn").click(); }, function(){ $("#multuser").val(1);$("#UserType").val('p'); $("#loginbtn").click(); }); $(".layui-layer-btn0").addClass("layui-layer-btn1").removeClass("layui-layer-btn0") //layer.msg(data.msg,{time:2000},function(){$(".usertype").show();$("#multuser").val(1);}) return false; }else if(data.islogin=="1") { islogin=1; localStorage.setItem("u", username); localStorage.setItem("reTokent", data.reTokent); layer.msg('登录成功!',{time:2000},function(){ $("#multuser").val(0);$("#UserType").val(''); if(returnpage.indexOf('lw.kq520.net')!=-1 || returnpage.indexOf('cad.kq36.cn')!=-1 || returnpage.indexOf('xuexiao.kq36.cn')!=-1 || returnpage.indexOf('dk.kq36.cn')!=-1 || (ua.indexOf('micromessenger') != -1 && ua.indexOf("miniprogram") != -1)){ if (returnpage.indexOf('?')!=-1){ location.href=returnpage+'&ret='+data.r; }else{ location.href=returnpage+'?ret='+data.r; } }else{ location.href=returnpage } }) }else{} }, complete : function(XMLHttpRequest,status){ //请求完成后最终执行参数 if(status=='timeout'){//超时,status还有success,error等值的情况 ajaxTimeoutTest.abort(); layer.closeAll(); alert("系统繁忙,请稍候登录"); } } }); } }) if(GetSubCookie("wxcookies","openid")!=''){$("#openid").val(GetSubCookie("wxcookies","openid"));} if(GetSubCookie("wxcookies","unionid")!=''){$("#unionid").val(GetSubCookie("wxcookies","unionid"));} else if(getCookies("unionid")!=''){$("#unionid").val(getCookies("unionid"))} </script> <script language="javascript" src="https://img.kq36.com.cn/js/quicklogin.js"></script> <script> //手机动态码登陆 $(".codeloginbtn").live("click",function(){ var areawidth="95%" if($(window).width()>640){ areawidth="640px"}; layer.open({ title:false, type: 2, shade: false, shadeClose: false,//点 击遮罩关闭层 shade: 0.8, skin: 'layui-layer-rim', //加上边框 area: [areawidth, '270px'], //宽高 closeBtn : [1, true], content: ['/public/returnhtm/validsms_login.asp?cfrom=m&typen=login&returnpage='+$('#returnpage').val(),'no'] }); }) $.getJSON("https://api.map.baidu.com/location/ip?ak=V0NXdGgGGjSSNwVv6GCOu7uA&coor=bd09ll&callback=?",function(res){ currentProvince=res.content.address_detail.province; currentCity=res.content.address_detail.city; currentaddress=res.content.address; $("#ass").val(currentaddress); }) $(".wxloginbtn").on("click",function(){ var ua=window.navigator.userAgent.toLowerCase(); var href=document.location.href; if (ua.indexOf('micromessenger')!=-1 && ua.indexOf("miniprogram")!=-1) { uni.redirectTo({url: '/pages/wxtel/index?reurl='+encodeURIComponent("https://3g.kq36.com/") ,success:function(){ console.log('success') } ,fail:function(){ console.log('fail') } ,complete:function(){ console.log('complete') }}) }else{ } }) $(".regbtn").live("click",function(){ var returnpage=$(this).attr("data-returnpage") var ua=window.navigator.userAgent.toLowerCase(); var href=document.location.href; if (returnpage!=''){returnpage='?returnpage='+encodeURIComponent(returnpage)} if (ua.indexOf('micromessenger')!=-1 && ua.indexOf("miniprogram")!=-1) { uni.redirectTo({url: '/pages/wxtel/index?reurl='+encodeURIComponent(document.location.href) ,success:function(){ console.log('success') } ,fail:function(){ layer.confirm('选择类型?', { icon: 3, title:"提示", btn: ['注册单位<font style="font-size:9px">(发招聘/等)</font>','注册个人<font style="font-size:9px">(发简历)</font>'] //按钮 //,btn3:function(){layer.closeAll()} }, function(index){ location.href='https://3g.kq36.com/kq36/RegCo.asp'+returnpage; }, function(){ location.href='https://3g.kq36.com/kq36/RegPer.asp'+returnpage; }); $(".layui-layer-btn1").addClass("layui-layer-btn0").removeClass("layui-layer-btn1") } ,complete:function(){ console.log('complete') }}) }else{ layer.confirm('选择类型?', { icon: 3, title:"提示", btn: ['注册单位<font style="font-size:9px">(发招聘/等)</font>','注册个人<font style="font-size:9px">(发简历)</font>'] //按钮 //,btn3:function(){layer.closeAll()} }, function(index){ location.href='https://3g.kq36.com/kq36/RegCo.asp'+returnpage; }, function(){ location.href='https://3g.kq36.com/kq36/RegPer.asp'+returnpage; }); $(".layui-layer-btn1").addClass("layui-layer-btn0").removeClass("layui-layer-btn1") } }) if ((window.navigator.userAgent.toLowerCase().indexOf('micromessenger')!=-1 && window.navigator.userAgent.toLowerCase().indexOf("miniprogram")!=-1) || window.navigator.userAgent.toLowerCase().indexOf("swan")!=-1 ){ $(".CurTitle").remove(); } </script> <div > <style> .ajaxblack_overlay{ display: ;position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-color: white;z-index:1001; -moz-opacity: 0.8; opacity:.100; filter: alpha(opacity=80); } .ajaxwhite_content { font-size:14px; display: ; position: absolute; top: 50%; left: 50%; padding: 0px; z-index:1002; overflow: hidden; } /*设置框*/ .setbtns{ padding: 2%;text-align:center;margin:3% 0 0 0; } .setbtns li{ color: #087fe5 !important; font-size: 15px !important; display: inline-block; border-radius: 3px; line-height: 25px; height: 25px; margin: 5% 4% 5% 5%; padding: 4px 8px !important; border: 1px solid #087fe5; cursor:pointer } /****/ </style> <script src="https://img.kq36.com.cn/js/jquery-1.7.2.min.js?v=20200010272"></script> <script src="https://img.kq36.com.cn/kq600/js/libs/clipboard/clipboard.min.js"></script> <script> var ua = navigator.userAgent; var ipad = ua.match(/(iPad).*OS\s([\d_]+)/), isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid = ua.match(/(Android)\s+([\d.]+)/), isMobile = isIphone || isAndroid || ipad; var $j=jQuery.noConflict(); //此处$j就代表JQuery </script> <script> if (ua.toLowerCase().match(/MicroMessenger/i) == "micromessenger" && isAndroid) { if (typeof(WeixinJSBridge) == "undefined") { document.addEventListener("WeixinJSBridgeReady", function (e) { setTimeout(function(){ WeixinJSBridge.invoke('setFontSizeCallback',{"fontSize":0}, function(res) { // alert(JSON.stringify(res)); }); },0); }); } else { setTimeout(function(){ WeixinJSBridge.invoke('setFontSizeCallback',{"fontSize":0}, function(res) { // alert(JSON.stringify(res)); }); },0); } } $(".qqlink").each(function(){ var qq=$(this).attr("data-qq"); var ua=navigator.userAgent.toLowerCase(); var qqlink1 = "tencent://message/?uin="+qq+"&Site=康强医疗人才网&Menu=yes"; var qqlink2 = "mqqwpa://im/chat?chat_type=wpa&uin="+qq+"&version=1&src_type=web&web_src=kq36.com"; var qqlink3 = "https://wpa.qq.com/msgrd?v=3&uin="+qq+"&site=kq36.com&menu=yes"; if ((/(iphone|ipad|ipod|ios)/i.test(ua) || (/(android)/i.test(ua) && (ua.indexOf("qq")!=-1 || ua.indexOf("uc")!=-1))) && ua.indexOf("micromessenger")==-1) {$(this).attr("href",qqlink2)} else if (ua.indexOf("windows")!=-1) { $(this).attr("href",qqlink1) }else{ // $(this).attr("href",qqlink1) $(this).attr("href","javascript:;") } // $(this).attr("href","javascript:;") //$(".tmp").html( $(this).attr("href")+"=="+ua); }) $(".qqlink").live("click",function(){ var href=$(this).attr("href"); var qq=$(this).attr("data-qq"); // if(isMiniprogram){ //uni.navigateTo({url: '/pages/copy/copy?c='+qq+'&t=1'}); //return false; //} if (safariVer()){ layer.open({ type: 1 ,title:false ,closeBtn:false ,offset: 'b' //具体配置参考:offset参数项 ,content: '<div style="padding: 10px 10px;"><div class="b-share-copytip-text">长按复制下方链接复制:</div><div style="padding: 7px 10px;border: 1px dotted #d9d9d9;font-size: 14px;line-height: 21px;word-break: break-all;"><a href="tel:'+qq+'" >'+qq+'</a></div></div>' ,btn: '取消' ,btnAlign: 'c' //按钮居中 ,shade: 0 //不显示遮罩 ,yes: function(){ layer.closeAll(); } }); }else{ layer.msg("QQ已复制成功,请打开QQ添加");} }) $(".emaillink").each(function(){ var email=$(this).attr("data-email"); var ua=navigator.userAgent.toLowerCase(); var emaillink = "mailto:"+email; if (ua.indexOf("micromessenger")!=-1 && ua.indexOf("android")!=-1 && ua.indexOf("miniprogram")!=-1) {$(this).attr("href","javascript:;")} else{ $(this).attr("href",emaillink) } //$(".tmp").html(ua); }) $(".emaillink").live("click",function(){ var href=$(this).attr("href"); var email=$(this).attr("data-email"); //if(isMiniprogram){ //uni.navigateTo({url: '/pages/copy/copy?c='+email+'&t=4'}) //return false; //} if (safariVer()){ layer.open({ type: 1 ,title:false ,closeBtn:false ,offset: 'b' //具体配置参考:offset参数项 ,content: '<div style="padding: 10px 10px;"><div class="b-share-copytip-text">长按复制下方链接复制:</div><div style="padding: 7px 10px;border: 1px dotted #d9d9d9;font-size: 14px;line-height: 21px;word-break: break-all;"><a href="tel:'+email+'" >'+email+'</a></div></div>' ,btn: '取消' ,btnAlign: 'c' //按钮居中 ,shade: 0 //不显示遮罩 ,yes: function(){ layer.closeAll(); } }); }else{ layer.msg("邮箱已复制成功,请打开邮箱发送");} }) var ua = navigator.userAgent; var ipad = ua.match(/(iPad).*OS\s([\d_]+)/), isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid = ua.match(/(Android)\s+([\d.]+)/), isMobile = isIphone || isAndroid || ipad; $("input").attr("autocomplete","off"); $("input,textarea").keyup(function(){ //$(this).val($(this).val().replace(/[^\u4e00-\u9fa5\w]/g,'')); ValidateValue($(this)); }) //跳转语句 if(isMobile){} else{document.getElementsByTagName('body')[0].setAttribute('style','max-width:640px'); //document.getElementsByTagName('body')[0].setAttribute('-webkit-box-shadow','0px 0px 10px rgba(0,0,0,.8)'); //document.getElementsByTagName('body')[0].setAttribute('-moz-box-shadow','0px 0px 10px rgba(0,0,0,.8)'); //document.getElementsByTagName('body')[0].setAttribute('box-shadow','0px 0px 10px rgba(0,0,0,.8)'); document.body.style.maxWidth='640px'; } function safariVer(){ isCopy=false; var ver = navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/); var banbenhao=null, banbenhaosplit=null; if (ver) { banbenhao = ver[1].replace(/_/g, "."); banbenhaosplit = banbenhao.split('.')[0]; } var xiaomiswan=false if (navigator.userAgent.toLowerCase().indexOf('swan-')!=-1 && navigator.userAgent.toLowerCase().indexOf('xiaomi')!=-1){ var androidver = navigator.userAgent.toLowerCase().match(/android (.*?);/); var androidbanbenhao=null, androidbanbenhaosplit=null; if (androidver) { androidbanbenhao = androidver[1].replace(/_/g, "."); androidbanbenhaosplit = androidbanbenhao.split('.')[0]; } if (androidver && androidbanbenhaosplit!=null&& androidbanbenhao<12) { xiaomiswan=true } } if (ver && banbenhaosplit!=null&& banbenhaosplit<10) { isCopy= true; } if (xiaomiswan){ isCopy=true } return isCopy }$(".tel_link").live("click",function(){ var ua=navigator.userAgent.toLowerCase(); var tel=$(this).attr("href").replace("tel:",""); if (tel.indexOf("javascript")==-1){$(this).attr("data-tel",tel);} if (ua.indexOf('swan-')!=-1 && ua.indexOf('baidu')!=-1) { $(this).attr("href","javascript:;"); uni.navigateTo({url: '/pages/call/call?tel='+$(this).attr("data-tel")}) } }) $(".wxlink").live("click",function(){ var href=$(this).attr("href"); var wx=$(this).attr("data-wx"); var clipboardtext=$(this).attr("data-clipboard-text"); var msgtext=$(this).attr("data-msg-text"); if (msgtext.indexOf('公众号')!=-1){t=3}else if (msgtext.indexOf('微信已复制成功').indexOf!=-1){t=2;}else{t=10} //if(isMiniprogram){ //uni.navigateTo({url: '/pages/copy/copy?c='+clipboardtext+'&t='+t}) //return false; //} if (safariVer()){ layer.open({ type: 1 ,title:false ,closeBtn:false ,offset: 'b' //具体配置参考:offset参数项 ,content: '<div style="padding: 10px 10px;"><div class="b-share-copytip-text">长按复制下方链接复制:</div><div style="padding: 7px 10px;border: 1px dotted #d9d9d9;font-size: 14px;line-height: 21px;word-break: break-all;"><a href="tel:'+clipboardtext+'" >'+clipboardtext+'</a></div></div>' ,btn: '取消' ,btnAlign: 'c' //按钮居中 ,shade: 0 //不显示遮罩 ,yes: function(){ layer.closeAll(); } }); }else{ layer.msg(msgtext);} }) if ( (/AlipayClient/i.test(navigator.userAgent)) || /toutiaomicroapp/i.test(navigator.userAgent) || (/swan/i.test(navigator.userAgent) && /baidu/i.test(navigator.userAgent))) {//|| (/swan/i.test(navigator.userAgent) && /baidu/i.test(navigator.userAgent)) $(".toutiao").hide();$("#a_pp_notice").remove() } var clipboard = new Clipboard('.copywxnumber'); </script> <script> var ua=navigator.userAgent.toLowerCase(); //if ((ua.indexOf("micromessenger")!=-1 && ua.indexOf("miniprogram")!=-1) || ua.indexOf("html5plus")!=-1){ //$(".logo").remove();$(".login").remove(); //} if (ua.match(/MicroMessenger/i) == "micromessenger" && isAndroid) { if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") { handleFontSize(); } else { document.addEventListener("WeixinJSBridgeReady", handleFontSize, false); } function handleFontSize() { // 设置网页字体为默认大小 WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 }); // 重写设置网页字体大小的事件 WeixinJSBridge.on('menu:setfont', function() { WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 }); }); } } </script> <style> body{ -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; -moz-text-size-adjust: 100% !important;} *:not(input, textarea){-moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; -khtml-user-select:none; -o-user-select:none; user-select:none;} </style> <iframe style="position: fixed; right: 0px; bottom: 0px; z-index: 999999998;background:white;" src="" id="WEBimIframe" scrolling="no" name="webim" width="0" height="0" frameborder="0"></iframe> <script src="https://img.kq36.com.cn/im/js/imload.js?v=2"></script> <script> if (GetSubCookie("usercookies","username")!=''){ var u = window.navigator.userAgent; var ua = u.toLowerCase(); var isbaidu = ua.indexOf('baiduboxapp') > -1 ; if(isbaidu || window.navigator.userAgent.toLowerCase().indexOf("qqbrowser")!=-1 || true){ $("#WEBimIframe").attr("src","/im/m/im.1.2.asp?account=&ref=/login.asp&mini=&Tout=&ssto=&WxKey=&canback=-1"); }else{ $("#WEBimIframe").attr("src","https://im.kq36.com/m/im.1.2.asp?account=&ref=/login.asp&mini=&Tout=&ssto=&WxKey=&canback=-1"); } } </script> <link rel="stylesheet" type="text/css" href="https://img.kq36.com.cn/3g4/iconfont/iconfont.css?v=20200010272"> <link rel="stylesheet" href="https://img.kq36.com.cn/js/swiper.min.css"> <script src="https://img.kq36.com.cn/js/swiper.min.js?v=20200010272"></script> <style> body{font-size:14px} /*底部导航菜单*/ .foot_menu{display:none;position: fixed;bottom: 0px; width: 100%;line-height: 24px; z-index: 999;border-top: 1px solid #ddd;background:white; padding-bottom:0px; padding-bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */ padding-bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */ } .foot_menu ul{ overflow: hidden; background-color: #fff; padding:1% 0; display: -webkit-box; display: -moz-box; display: -webkit-flex; /* Safari */ display: -moz-flex; display: flex; flex-wrap: nowrap; -moz-justify-content: space-around; -webkit-justify-content: space-around; justify-content: space-around; -webkit-box-align: center; -moz-align-items: center; -webkit-align-items: center; align-items: center; } .foot_menu a{text-decoration:none;} .foot_menu ul li em { position: absolute; right: 32%; top: -2%; background-color: #f00; border-radius: 100%; width: 8px; height: 8px; display:none1; line-height:15px; } .chatNums{ position: absolute; right: 26% !important; top: -3% !important; background-color: #f00; border-radius: 100%; width: auto !important; height: auto !important; display: none1; color: white; font-style: initial; padding: 1px 3px 0px 3px; font-size: 10px; text-align: center; min-width: 10px; min-height: 10px; outline:none; } .icon{font-size:19px} .icon_on{font-size:19px} /* .foot_menu ul li em { position: absolute; right: 26%; top: -10%; background-color: #f00; border-radius: 100%; width: 12px; height: 12px; display: none1; color: white; font-style: initial; padding: 1px 5px 3px 3px; font-size: 10px; }*/ .foot_menu ul li{ text-align: center; width: 25%;margin:0px 0 0 0;height:40px} .foot_menu label{margin:0px 0 0 0;font-size: 14px;display:block;line-height:15px} .foot_menu .chatNum{display:none} .foot_menu .NewNum{display:none} @media all and (min-width:768px) { .CurTitle,#operMN,.foot_menu { max-width: 100%; } } @media all and (max-width: 1024px) { .CurTitle,#operMN,.foot_menu { max-width: 100%; } } /* 手机 */ @media all and (min-width: 1024px) { .CurTitle,#operMN,.foot_menu { max-width: 640px; } } input[type='text'],textarea { outline: none; -webkit-appearance: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .soucompanydown{ position: absolute; left: calc(50% + 20px); /*right: 3px;*/ top: 0; cursor: pointer; color: #909090 !important; height: 35px; font-weight:bold; /* background: red; */ padding-top: 18px; font-size: 15px;} .soucompanydowninfo{} .soucompanydowninfo ul{ margin: 0% auto;text-align:center} .soucompanydowninfo li{padding: 5px 10px; border-bottom: solid 1px rgba(164, 164, 164, 0.18); cursor: pointer; background: #F2F5F8; text-align: center; margin-top: 10px; font-size: 18px; width: 80%; display: inline-block;} .column{padding:5% 1% 5% 5%;display:none;width:94%;max-width:640px;overflow:hidden;} .kqbright{} .column .t{font-size:16px;margin:0 0 0% 0;overflow:hidden;line-height:40px;height:40px;} .column .c{clear:both;} .column h4{float:left;font-weight:normal;font-size:16px} .column p{float: right; cursor: pointer; font-size: 18px; margin: 0% 4% 0 0; color: #999;} .column li{cursor:pointer;display:inline-block;width:30%;max-width:30%;background:#f5f5f5;font-size:15px;margin:0 2% 2% 0;line-height:25px;height:25px;padding:1% 0%;text-align:center;overflow:hidden;} .swiper-container-kq,.swiper-container-bright { width: 102%; height: 100%; max-width:640px; background: #fff; } .kqcolumn{margin:3% 0 0 0} .usercolumn {margin:3% 0 0 0;width:102%} .usercolumn li{font-weight:bold} .column .swiper-slide{text-align:left;} .column .swiper-pagination-bright,.column .swiper-pagination-kq{position:static !important;text-align:center} .column .swiper-pagination-bullet{margin-right:5px} .subcolumn li{width:33%} .subcolumn {width:100%;padding:0} </style> <!-- 底部导航 --> <div class="foot_menu"> <ul> <li datakey="index"> <a href="https://3g.kq36.com/"> <span class="icon iconfont" ><label>找工作</label></span> </a> </li> <li datakey="search"> <a href="https://3g.kq36.com/job_list.asp"> <span class="icon_on iconfont" ><label>职位</label></span> </a> </li> <li datakey="govindex" style="position:relative"> <a href="javascript:;"> <span class="icon_on iconfont" style="font-size:23px"><label>公招</label></span> </a> <a href="javascript:" class="iconfont soucompanydown" ></a> </li> <li datakey="msg" style="position:relative"> <a href="https://3g.kq36.com/kq36/msg.asp"> <span class="icon iconfont" ><label>消息</label></span> <em class="chatNum chatNums"></em> </a> </li> <li datakey="my" style="position:relative"> <a href="https://3g.kq36.com/kq36/myindex.asp"> <span class="icon iconfont" ><label>我的</label></span> <em class="NewNum"></em> </a> </li> </ul> </div> <div class="column" data-typen='end'> <div class="kqbright"> <div class="t"><h4>招聘亮点</h4><p class="iconfont"></p></div> <div class="c swiper-container-bright"> <div class="swiper-wrapper"></div> </div> <div class="swiper-pagination-bright"></div> </div> <div class="kqcolumn"> <div class="t"><h4>康强栏目</h4><p class="iconfont"></p></div> <div class="c swiper-container-kq"> <div class="swiper-wrapper"></div> </div> <div class="swiper-pagination-kq"></div> </div> <div class="usercolumn"> </div> </div> <script> if ($(".column").size()>0){ getkqcolumn(); } $('.column p').live("click",function(){ var thisp=$(this).parent().parent() if (thisp.find('.c').css('display')=='none'){ thisp.find('.c').show(); thisp.find('.swiper-pagination-bullet').show() $(this).html('') }else{ thisp.find('.c').hide(); thisp.find('.swiper-pagination-bullet').hide() $(this).html('') } }) var pageurl=document.location.href.toLowerCase(); if (pageurl.indexOf('/contact.asp')!=-1 || pageurl.indexOf('/sxs')!=-1){$(".column[data-typen='end']").remove()} if (pageurl.indexOf('/contact.asp')!=-1 || pageurl.indexOf('/sxs')!=-1){$('.column').show()}//&& ua.indexOf('toutiao')==-1 function getkqcolumn(){ var typenh='' if (GetSubCookie("usercookies","usertype")=='c'){$('.kqbright').find("h4").html('求职亮点');typenh='c'} $.get("/public/returnhtm/return_uni-app.asp",{cmd:"getkqcolumn",typen:'3g',typenh:typenh},function(res){ var usercolumn=res.usercolumn var kqbright=res.kqcolumn var kqcolumn=res.kqbright var brightstr="" var kqcolumnstr="" var usercolumnstr="" if (kqbright.length>0){ $.each(kqbright,function(k,p){ brightstr=brightstr+'<div class="swiper-slide">' var btnjsons=p.btnjsons if (btnjsons.length>0){ $.each(btnjsons,function(kk,pp){ var subjson=JSON.stringify(pp.subjson) brightstr=brightstr+'<li data-appid="'+pp.appid+'" data-apppath="'+pp.apppath+'" data-btntype="'+pp.btntype+'" data-url="'+pp.url+'" data-msginfo="'+pp.msginfo+'" data-msg="'+pp.msg+'" data-subjson=\''+subjson+'\'>'+pp.n+'</li>' }) } console.log(p.btnjsons) brightstr=brightstr+'</div>' }) }else{ $('.kqbright').remove() } if (brightstr!=''){$('.kqbright .c .swiper-wrapper').html(brightstr)} if (kqcolumn.length>0){ $.each(kqcolumn,function(k,p){ var btnjsons=p.btnjsons //console.log('btnjsons:'+btnjsons.length) if (btnjsons.length>0){ kqcolumnstr=kqcolumnstr+'<div class="swiper-slide">' $.each(btnjsons,function(kk,pp){ kqcolumnstr=kqcolumnstr+'<li data-appid="'+pp.appid+'" data-appname="'+pp.appname+'" data-apppath="'+pp.apppath+'" data-btntype="'+pp.btntype+'" data-url="'+pp.url+'" data-msginfo="'+pp.msginfo+'">'+pp.n+'</li>' }) kqcolumnstr=kqcolumnstr+'</div>' } console.log(p.btnjsons) }) }else{ $('.kqcolumn').remove() } console.log(kqcolumnstr) if (kqcolumnstr!=''){$('.kqcolumn .c .swiper-wrapper').html(kqcolumnstr)} if (usercolumn.length>0){ $.each(usercolumn,function(k,p){ var btnjsons=p.btnjsons if (btnjsons.length>0){ // usercolumnstr=usercolumnstr+'<div class="swiper-slide">' $.each(btnjsons,function(kk,pp){ usercolumnstr=usercolumnstr+'<li data-appid="'+pp.appid+'" data-appname="'+pp.appname+'" data-apppath="'+pp.apppath+'" data-btntype="'+pp.btntype+'" data-url="'+pp.url+'" data-msginfo="'+pp.msginfo+'">'+pp.n+'</li>' }) //usercolumnstr=usercolumnstr+'</div>' } console.log(p.btnjsons) }) } if (usercolumnstr!=''){$('.usercolumn').html(usercolumnstr)} if (kqbright.length < 2) { $(".kqbright").find(".swiper-pagination-bright").hide(); } if (kqcolumn.length < 2) { $(".kqcolumn").find(".swiper-pagination-kq").hide(); } if (pageurl.indexOf('/contact.asp')!=-1 || pageurl.indexOf('/sxs')!=-1){ var swiperbright = new Swiper('.swiper-container-bright', { pagination: '.swiper-pagination-bright', paginationClickable: true, preventClicks:false, autoplay:false, observer:true,//修改swiper自己或子元素时,自动初始化swiper observeParents:true,//修改swiper的父元素时,自动初始化swiper autoplayDisableOnInteraction:true, onSlideChangeStart:function(swiper){ } }); var swiperkq = new Swiper('.swiper-container-kq', { pagination: '.swiper-pagination-kq', paginationClickable: true, preventClicks:false, autoplay:false, observer:true,//修改swiper自己或子元素时,自动初始化swiper observeParents:true,//修改swiper的父元素时,自动初始化swiper autoplayDisableOnInteraction:true, onSlideChangeStart:function(swiper){ } }); }else{ $('.column').css("height",$('.column').height()+'px') } },"json") } $(".CurTitle").click(function(){ var referrer=document.referrer if (referrer.indexOf('c.kq36.com')!=-1){referrer='https://c.kq36.com'} if (referrer.indexOf('p.kq36.com')!=-1){referrer='https://p.kq36.com'} if (referrer.indexOf('im.')!=-1 || referrer.indexOf('modify')!=-1 || referrer.indexOf('validsms')!=-1){referrer='https://3g.kq36.com/kq36/myindex.asp'} if (isUniapp ||isUnimini) { if (ua.indexOf('android')!=-1 || ua.indexOf('2.96')!=-1){ uni.postMessage({ data: { action: 'closewebview' } }); }else{ uni.postMessage({ data: { action:'closewebview' } }); if (isUnimini){ uni.navigateBack(); } } }else{ console.log(referrer) if (document.referrer.indexOf("myindex")!=-1){ location.href=referrer }else{ var lochref=window.location.href.toLowerCase() if (lochref.indexOf("pay.asp")!=-1 || lochref.indexOf("interviewee.asp")!=-1 || lochref.indexOf("viewresume.asp")!=-1 || lochref.indexOf("viewperfile.asp")!=-1 || lochref.indexOf("com_inviterecord.asp")!=-1 || lochref.indexOf("per_send_com.asp")!=-1 || lochref.indexOf("copayment.asp")!=-1 || lochref.indexOf("seniormanager.asp")!=-1 || lochref.indexOf("customer-relationship.asp")!=-1 || lochref.indexOf("companyinfo.asp")!=-1 ){ if (lochref.indexOf("seniormanager.asp?cmd=add")!=-1) { location.href='https://3g.kq36.com/kq36/seniormanager.asp' }else if (lochref.indexOf("seniormanager.asp")!=-1) { location.href='https://3g.kq36.com/kq36/myindex.asp' }else if (lochref.indexOf("customer-relationship.asp?cmd=add")!=-1) { location.href='https://3g.kq36.com/kq36/customer-relationship.asp' }else if (lochref.indexOf("customer-relationship.asp")!=-1) { location.href='https://3g.kq36.com/kq36/myindex.asp' }else{ if (window.history.length>0){ history.go(-1) location.href=referrer }else{ location.href=referrer } } }else{ if (referrer.indexOf('kq36/')==-1){ if (referrer.indexOf('m.kq36.com')!=-1){ if (window.history.length>0){ history.go(-1) location.href=referrer }else{ location.href=referrer } }else{ console.log('history:'+window.history.length) if (window.history.length>0){ history.go(-1) location.href=referrer }else{ location.href=referrer } } }else{ location.href='https://3g.kq36.com/kq36/myindex.asp' } } } } }) $("#shadow").on("click",function(){ $(".navflowdown").hide(); $(".one_li").removeClass("on"); $("#shadow").hide(); bodyScroll_s(); }) function PostMessage(ele){ if (isUniapp){ uni.postMessage({ data: { action: 'closediv',ele:ele,changetitle:'' } }); } } function pushState(ele,select){ sessionStorage.setItem("popstate", "div"); window.history.pushState('div', "index", document.location.href); } function clearState(){ sessionStorage.setItem("popstate",''); history.replaceState(null, null, document.location.href) } var scriptname=GetScript(); scriptname=scriptname.toLowerCase() if ((scriptname.indexOf('msg2')!=-1 && (isUniapp || isUnimini)) || scriptname.indexOf('addfilterco')!=-1) { //console.log('pushState') //pushState('','') //clearState() } function popstate(){ var imwidth=$("#WEBimIframe").width() console.log('imwidth:'+imwidth) if (imwidth>10){return false} if(sessionStorage.getItem("popstate")==''){ var referrer=document.referrer; var scriptname=GetScript(); scriptname=scriptname.toLowerCase() if(referrer.indexOf("myjobs")!=-1 && scriptname=='editjob'){ //alert(referrer+'++++'+scriptname) history.go(-1);return false }else if (isUniapp || isUnimini || (isUnimini && referrer=='' && (scriptname=='qz_coll_job_list' || scriptname=='viewresume'))){ if(scriptname.indexOf("myjobs")!=-1 && referrer=='' && !isUniapp){ history.go(-1);return false }else{ if (scriptname.indexOf('seniormanager')!=-1){ //uni.navigateBack(); if (isUniapp){ uni.navigateBack(); }else{ history.go(-1) } return false } //uni.navigateBack(); //2022-2-25 if (sessionStorage.getItem("closewebview")=='' || sessionStorage.getItem("closewebview")==null || sessionStorage.getItem("closewebview")=='null'){ uni.postMessage({ data: { action:'closewebview' } }); if (isUnimini){ uni.navigateBack(); } sessionStorage.setItem("closewebview")="1" } } }else{ if(referrer!='' && referrer.indexOf(scriptname)==-1){ }else{ location.href='https://3g.kq36.com/kq36/myindex.asp'; } } }else{ pushState('',''); clearState();console.log('关闭div');$("p.removes").click();$(".otype").hide();bodyScroll_s();$('#shadow').hide();layer.closeAll() } } //window.addEventListener("pageshow", function (event) {if (event.persisted || window.performance && window.performance.navigation.type == 2){if (isUnimini){popstate();}}},false); window.addEventListener("popstate", function (e) { popstate(); }); $(".CurName").html(document.title) //if (ua.indexOf('html5plus')!=-1 && ua.indexOf("/kq36/")==-1){if (getCookies("html5plus")!='html5plus'){$(".foot_menu").remove()}} $(".foot_menu li[datakey='govindex']").live("click",function(){//搜单位 if (isUniapp){//uniapp navigatorTo('https://3g.kq36.com/25/','webtip','') // uni.navigateTo({url: '/pages/home/job/govlist/index'}); // }else if (isUnimini){//小程序 navigatorTo('https://3g.kq36.com/25/','webtip','') // uni.navigateTo({url: '/pagesub/pages/home/job/govlist/index'});// /pagesubA/pages/home/job/list/indexnto?onlyco=1 }else{ location.href='https://3g.kq36.com/25/' } }) if ((pageurl.indexOf('/contact.asp')!=-1 || pageurl.indexOf('/sxs')!=-1) && ua.indexOf('toutiao')==-1){$('.ccolumn').show()} $('.column li').live("click",function(){ var appid=$(this).attr("data-appid") var appname=$(this).attr("data-appname") var apppath=$(this).attr("data-apppath") var btntype=$(this).attr("data-btntype") var url=$(this).attr("data-url") var msginfo=$(this).attr("data-msginfo") var subjson=$(this).attr("data-subjson") var msg=$(this).attr("data-msg") var thishtml=$(this).html(); if (msg!='undefined' && typeof(msg) != "undefined" && msg!=''){ layer.msg(msg) return false; } if (thishtml==''){ console.log('n空值') return false } if (subjson!='undefined' && typeof(subjson) != "undefined" && subjson!=''){ subjson=$.parseJSON(subjson) var align=subjson.align var subarray=subjson.subarray //layer.alert(subarray.length) if (subarray.length>0){ substr="" $.each(subarray,function(kk,pp){ borderstyle='' if (pp.n==''){ borderstyle='style="border:0;background:#fff"' } substr=substr+'<li '+borderstyle+' data-appid="'+pp.appid+'" data-appname="'+pp.appname+'" data-apppath="'+pp.apppath+'" data-btntype="'+pp.btntype+'" data-url="'+pp.url+'" data-msginfo="'+pp.msginfo+'" data-msg="'+pp.msg+'">'+pp.n+'</li>' }) var subcolumnwidth="90%" if($(window).width()>640){ subcolumnwidth="640px"}; layer.alert('<div class="column subcolumn" style="display:block;text-align:'+align+'">'+substr+'</div>',{title:false,area:[subcolumnwidth,'auto'],btn:false,shadeClose:true,success:function(){ $(".layui-layer[type='dialog']").css('border-radius', '15px 15px 15px 15px'); $(".layui-layer-setwin").css({ 'top': 'auto', 'right': 'auto', 'bottom': '-40px', 'left': '45%' }) }},function(){}) } return false; } layer.closeAll() if (isUniapp){apppath=apppath.replace('pagesubA/',"").replace('pagesub/',"")} if (isUniapp || isUnimini){ if (apppath=='pages/home/index/index'){ if ((ua.indexOf("swan-baiduboxapp")!=-1 || ua.indexOf("swan-heytapbrowser")!=-1 ) && ua.indexOf("android")!=-1 && false){//|| ua.indexOf("swan-bdlite")!=-1 uni.navigateTo({url: '/pagesub/pages/home/webtip/gotip?typen=gopath&url=pages/home/index/index'}); }else{ uni.switchTab({url: '/'+apppath}); } return false } if (btntype=='copy'){ copyText(url,'网址已复制<br/>请用浏览器打开') $("body").scrollTop(0) return false; } if (appid!='' && btntype=='mini'){ if (ua.indexOf("swan-baiduboxapp")!=-1 || ua.indexOf("swan-bdlite")!=-1 || ua.indexOf("swan-heytapbrowser")!=-1 || ua.indexOf("toutiaomicroapp")!=-1 || ua.indexOf("alipayclient")!=-1){ copyText(url,'网址已复制<br/>请用浏览器打开') $("body").scrollTop(0) return false; } if (isUnimini){ uni.navigateTo({url: '/pagesub/pages/home/webtip/gotip?typen=gokq600&appid='+appid+'&appname='+appname+'&apppath='+apppath}); }else{ uni.postMessage({ data: { action:'openkq166', appid:appid, url:url, apppath:apppath } }); } }else{ if (apppath.substr(0,5)=='https'){ navigatorTo(apppath,'webtip','') }else{ uni.navigateTo({url: '/'+apppath}); } } }else{ location.href=url } }) $(".soucompanydown,.foot_menu li[datakey='column']").live("click",function(event){ event.stopPropagation(); var areawidth = '100%'; if($(window).width()>640){ areawidth="640px"}; var winheight=$(window).height()*0.07 if ($('.swiper-pagination-bright').css('display')!='none'){winheight=winheight+14} if ($('.swiper-pagination-kq').css('display')!='none'){winheight=winheight+14} console.log(winheight) var areaheight=$('.column').height()+winheight columnindex = layer.open({ type: 1, title: false, shadeClose: true,//****遮罩关闭层 area: [areawidth, areaheight+'px'], end: function () { getkqcolumn() bodyScroll_s() }, content: $('.column'), success: function () { bodyScroll() $(".layui-layer[type='page']").css('border-radius', '15px 15px 15px 15px'); $(".layui-layer-setwin").css({ 'top': 'auto', 'right': 'auto', 'bottom': '-40px', 'left': '45%' }) //$('.column').css("height",areaheight*0.92+'px') var swiperbright = new Swiper('.swiper-container-bright', { pagination: '.swiper-pagination-bright', paginationClickable: true, preventClicks:false, autoplay:false, autoplayDisableOnInteraction:true, onSlideChangeStart:function(swiper){ } }); var swiperkq = new Swiper('.swiper-container-kq', { pagination: '.swiper-pagination-kq', paginationClickable: true, preventClicks:false, autoplay:false, autoplayDisableOnInteraction:true, onSlideChangeStart:function(swiper){ } }); } }) }) if (GetSubCookie("usercookies","usertype")!='p' && window.location.href.indexOf('/zph/')==-1){//非个人 $(".soucompanydown").remove() $(".foot_menu li[datakey='govindex']").find("span").html("<label>栏目</label>").css("fontSize","18px") $(".foot_menu li[datakey='govindex']").attr('datakey','column') } if (window.location.href.indexOf('/zph/')!=-1){ //$(".soucompanydown").remove() $(".foot_menu li[datakey='govindex']").find("span").html("<label>招聘会</label>").css("fontSize","18px") //$(".foot_menu li[datakey='govindex']").attr('datakey','column') } if (ua.indexOf("toutiaomicroapp")!=-1){$(".foot_menu li[datakey='govindex']").remove()} if ( (window.location.href.indexOf('kq36/')!=-1 || window.location.href.indexOf('/100/')!=-1)){//&& window.location.href.indexOf('/zph/')==-1 $("#app_notice").hide(); if (isUniapp || isUnimini){ if (window.location.href.indexOf("msg.asp")!=-1 || window.location.href.indexOf("msg2.asp")!=-1 || window.location.href.indexOf('/100/')!=-1 ){//消息 $(".foot_menu").show(); var appversion=getAppVersion() if (isUniapp && ((ua.indexOf('android')!=-1 && appversion<7.6) || (ua.indexOf('ios')!=-1 && appversion<6.3))){ $(".foot_menu").remove(); $(".foot_menu li[datakey='soucompany']").remove() } } }else{ $(".foot_menu").show(); //$(".foot_menu li[datakey='soucompany']").remove() if (GetSubCookie("usercookies","usertype")!='p' && window.location.href.indexOf('/zph/')==-1){//非个人 $(".soucompanydown").remove() } } if (window.location.href.indexOf("msg.asp")!=-1 || window.location.href.indexOf("msg2.asp")!=-1 ){//消息 $(".foot_menu li a").children("span").removeClass("icon_on").addClass("icon") $(".foot_menu li[datakey='msg'] a").children("span").addClass("icon_on"); //layer.msg('ua:'+ua+'ver:'+getAppVersion(),{time:100000}) }else if(window.location.href.indexOf("kq36/")!=-1 ){//kq36/ $(".foot_menu li a").children("span").removeClass("icon_on").addClass("icon") $(".foot_menu li[datakey='my'] a").children("span").addClass("icon_on") }else{// $(".foot_menu li a").children("span").removeClass("icon_on").addClass("icon") } if (getCookies("defalut_provinceid")!='' && getCookies("defalut_cityid")!=''){ var this_=$(".foot_menu li[datakey='search'] a") if (this_.attr("href").indexOf("job_list")!=-1){ this_.attr("href",this_.attr("href")+"?provinceid="+getCookies("defalut_provinceid")+"&cityid="+getCookies("defalut_cityid")) }else if (this_.attr("href").indexOf("per_list")!=-1){ this_.attr("href",this_.attr("href")+"?provincecwid="+getCookies("defalut_provinceid")+"&citycwid="+getCookies("defalut_cityid")) } } // || getCookies("html5plus")=='html5plus' if (isUniapp || isUnimini){ $(".foot_menu li[datakey='index']").live("click",function(){ uni.reLaunch({url: '/pages/home/index/index'}); return false; }) $(".foot_menu li[datakey='search']").live("click",function(){ uni.switchTab({url: '/pages/home/job/list/index'}); //uni.reLaunch({url: '/pages/home/index/index'}); return false; }) if (window.location.href.indexOf("msg.asp")!=-1 ){ $(".foot_menu li[datakey='msg']").live("click",function(){ // uni.switchTab({url: '/pages/home/message/message'}); //location.reload() if (isUniapp){//APP直接刷新reload uni.postMessage({ data: { action: 'shuaxin' } }); }else{//小程序reLaunch uni.reLaunch({url: '/pages/home/message/message'}); } return false; }) }else{//消息 $(".foot_menu li[datakey='msg']").live("click",function(){ uni.switchTab({url: '/pages/home/message/message'}); return false; }) } $(".foot_menu li[datakey='my']").live("click",function(){ if ((ua.indexOf("swan-baiduboxapp")!=-1 || ua.indexOf("swan-heytapbrowser")!=-1 ) && ua.indexOf("android")!=-1 && false){ //swan.webView.switchTab({url: '/pages/home/myindex/myindex'}); uni.navigateTo({url: '/pagesub/pages/home/webtip/gotip?typen=gopath&url=pages/home/myindex/myindex'}); }else{ uni.switchTab({url: '/pages/home/myindex/myindex'}); } return false; }) }else{ $(".floatnav").css({"top":"39px"}) } } try{ if(parent.location.href.indexOf('im.')!=-1){$(".CurTitle").remove();$(".foot_menu").remove()} }catch(e){} function getAppVersion(){ var ua=navigator.userAgent.toLowerCase(); var uanum=0; var kq36ua="" var version=0; var newV=0 if (ua.indexOf("[kq36")!=-1) { kq36ua=ua.split("[kq36")[1] if (kq36ua.indexOf("/")!=-1) { uanum=kq36ua.split("/").length; if (uanum>=8){ version=parseFloat(kq36ua.split("/")[6]) } } } return version } $("input[type='file']").live("click",function(){ if (isUniapp && window.navigator.userAgent.toLowerCase().indexOf('android')!=-1){ uni.postMessage({data: {action: 'upfile'}}); } if (isUniapp && window.navigator.userAgent.toLowerCase().indexOf('ios')!=-1){ uni.postMessage({data: {action: 'upfilecamera'}}); } }) if (window.navigator.userAgent.toLowerCase().indexOf('toutiaomicroapp')!=-1){$("#operMN").css({"padding-bottom":"15px"});$('.foot_menu').css({"padding-bottom":"15px"})} </script> <div style="height:100px" class="footheight"></div> </div> </body> </html>