CINXE.COM
消息
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html > <head> <meta charset="gb2312"> <meta name="description" content="招聘,培训"> <meta name="format-detection" content="telephone=no"><!-- 禁止IPHONE识别手机号码 --> <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1"> <meta name="renderer" content="webkit" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <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" /> <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" /> <meta http-equiv="Expires" content="0"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-control" content="no-cache"> <meta http-equiv="Cache" content="no-cache"> <title>消息</title> <link rel="stylesheet" type="text/css" href="https://img.kq36.com.cn/3g4/iconfont/iconfont.css?v=20200010278"> <script language="javascript" src="https://img.kq36.com.cn/js/jquery-1.7.2.min.kq36.js?v=20200010278"></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=20200010278"></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://b.bdstatic.com/searchbox/icms/searchbox/js/swan-2.0.32.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 language="javascript" src="https://img.kq36.com.cn/js/public_use.js?v=20200010278"></script> <script> function appchat_(appaccount){ jQuery('#WEBimIframe_')[0].contentWindow.chat_(appaccount,''); } </script> </head> <body> <!-- 内容框 --> <div class="msg-content"> <!-- 消息 --> <div class="msg-content_"> <div class="msg_head mb6"> <div class="head pb10 "> <ul class="menu"> <li class="on" data-type="msg">消息<em class="chatNum" style="display:none"></em></li> <li class="" data-type="whosee">看过<em style="display:none" class="who_see_me_num"></em></li> <!--<li class="" data-type="seewho">我看过</li> <li class="" data-type="whocoll">收藏我<em style="display:none" class="who_cares_me_num"></em></li>--> <li class="" data-type="collwho">收藏</li> <li class="" data-type="interviewee">面试通知</li> </ul> </div> </div> <div class="msg_menu" style=""> <ul> <div style="margin:3.1rem auto"> <label>登录后查看消息</label> <a href="javascript:;" class="login">立即登录/注册</a> <label class="otherbtn" ><a href="javascript:;" class="codeloginbtn">短信码登录</a> <a href="javascript:;" class="findpsw">找密码</a></label> </div> </ul> <script src="https://img.kq36.com.cn/im/js/imload.js?v=2"></script> </div> </div> <!-- 返回顶部 --> <div class="go_top"> <a class="btn_top"></a> </div> </div> <style> /*投递简历样式*/ .deliverinfo{text-align:center} .deliverinfo .tit{color:#1082cb;font-weight:bold;font-size:16px;font-size:18px;margin: 0 0 10px 0;} .deliverinfo .subtit{color:#515151;margin: 0 0 5px 0;font-size:15px;cursor:pointer} .deliverinfo .msginfo{padding:5px 0 0 0;border-top:1px solid #e5e5e5;color: #515151; font-size: 12px;margin: 10px 0 0 0;} .deliverinfo li{font-size:12px;} .deliverinfo label{color:#515151;display:block; margin: 0 0 5px 0;} .deliverinfo label.red{color:red} .deliverinfo .btn{ width: auto; color: #fff !important; background: #1082cb; border-radius: 2px; display: inline-block; padding: 4px 15px; line-height: 22px; height: 23px; text-decoration:none; font-size:14px; } /************************/ .otherbtn{display: inline-block;text-align: center;width: 100%;color:#666} .otherbtn a{display:inline-block;margin-right:10px;color:#666;font-size:14px;} .bdbtn{background:#7AC17A;border:1px solid white;border-radius:3px;color:white !important;display:inline-block;padding:2px 5px;line-height:20px;height:20px;text-align:center;margin:5px auto;} .updatewin_btn{display:inline-block;padding:0px 5px;border-radius:3px;border:1px solid #0486C4;background:#0486C4;color:white !important;line-height:30px;height:30px;font-size:14px;margin-right:10px} .editresumebtn{background:#7AC17A;border:1px solid white;border-radius:3px;color:white;display:inline-block;padding:2px 5px;line-height:20px;height:20px;} .saveremarkbtn{background:#0486C4;color:white;width:50%;line-height:30px;height:30px;padding:2px 5px;display:inline-block;border-radius:5px;text-align:center;font-size:16px;margin-left:20%} body,h1,h2,h3,h4,h5,dl,dd,dt,p,ul,li,ol{ margin:0; padding:0;} input,select,form,textarea,button,video{ border:none; margin:0;outline:none; padding:0; appearance:none;} h1,h2,h3,h4,h5{ font-weight:normal;} .mb6{margin-bottom: 6px;} .pb10{padding-bottom:10px;} img{ border:none;} a{ text-decoration:none; outline:none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; } select{ -webkit-appearance:none; /*去除系统默认的样式*/ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 点击高亮的颜色*/ } body,button,input,select,textarea{ font: normal 12px/100% 'Microsoft Yahei', Arial, sans-serif;} li{ list-style-type:none;} table{border-collapse:collapse;border-spacing:0;} body,html{ width:100%; height: 100%;margin:0px auto;} html{ font-size:50px;} @media screen and (min-width: 320px) {html{font-size:50px;}} @media screen and (min-width: 360px) {html{font-size:56.25px;}} @media screen and (min-width: 375px) {html{font-size:58.59375px;}} @media screen and (min-width: 400px) {html{font-size:62.5px;}} @media screen and (min-width: 414px) {html{font-size:64.6875px;}} @media screen and (min-width: 440px) {html{font-size:68.75px;}} @media screen and (min-width: 480px) {html{font-size:75px;}} @media screen and (min-width: 520px) {html{font-size:81.25px;}} @media screen and (min-width: 560px) {html{font-size:87.5px;}} @media screen and (min-width: 600px) {html{font-size:93.75px;}} @media screen and (min-width: 960px) {html{font-size:120px;}} /* @media screen and (min-width: 640px) {html{font-size:900px;}} @media screen and (min-width: 680px) {html{font-size:100px;}} @media screen and (min-width: 720px) {html{font-size:100px;}} @media screen and (min-width: 760px) {html{font-size:100px;}} @media screen and (min-width: 800px) {html{font-size:100px;}} @media screen and (min-width: 960px) {html{font-size:100px;}}*/ .msg_head{ background-color: #0486C4; position: fixed;width:100%; max-width:640px;min-height: 0.7rem;padding:2% 0 0;} .msg_head .exit{ border: #f5f5f5 solid 1px; border-radius:3px;position: absolute; right: 2%; top:.6rem; color: #fff; line-height: .4rem; width: .7rem; font-size: .22rem;text-align: center; } .msg_head .head{margin: auto; left: 0;right: 0;top:0; bottom: 0; height: fit-content; height: -webkit-fit-content; height: -moz-fit-content; text-align: center; } .msg_head .menu{ float: left; margin: .2rem 0 0 .2rem; font-size: .28rem;} .msg_head .menu li{position:relative;display:inline-block;color:#73c6ee;margin-right:13px}/*#73c6ee*/ .msg_head .menu li em{ position: absolute; right: -15%; top: 0%; background-color: #f00; border-radius: 100%; width: 5px; height: 5px; } .msg_head .menu li.on{color:white;font-size:.33rem;font-weight:bold} .msg_head .head i{display: block; margin:0 auto; width: 1rem; height: 1rem;border-radius:100%; overflow: hidden; border:#fff solid 3px; overflow: hidden;box-sizing: border-box; } .msg_head .head img{display: block; margin:0 auto;width: 100%; height: 100%;} .msg_head .head span{display: block; font-size: .22rem; color: #333; margin:3% 0;} .msg_head .head h2{ font-size: .3rem; color: #fff; line-height: 100%; } .msg_head .head .state{display: inline-block; overflow: hidden; line-height: .36rem; margin-top: 5%; font-style:normal; font-size: .2rem; color: #fff; float: left; position: relative; z-index: 5; } .msg_head .head .state b{position: absolute;top:0; left:0;height: 100%; width: 50%; background-color: #3d3c41;} .msg_menu{position:fixed ; background: white; text-align: center; width: 100%; height: 100%; max-width:640px; overflow:hidden} @media all and (min-width:768px) { body,.msg_head,.msg_menu { max-width: 100%; } } @media all and (max-width: 1024px) { body,.msg_head,.msg_menu { max-width: 100%; } } /* 手机 */ @media all and (min-width: 1024px) { body,.msg_head,.msg_menu { max-width: 640px; } } .msg_menu ul{line-height:50%} .msg_menu ul li{ padding:0 2%; border-bottom: #ddd solid 1px; height: .8rem;} .msg_menu ul li a{display: block; background: url(https://img.kq36.com.cn/3g4/right_jt_50.png) no-repeat center right; background-size: .14rem; line-height: .8rem; height: .8rem; padding-right: .24rem; } .msg_menu ul li a img{display: inline-block; vertical-align: middle; width: .34rem; height: .34rem;} .msg_menu ul li a span{ font-size: .26rem; color: #333; display: inline-block; vertical-align: middle; margin-left: 1%; } .msg_menu ul li a em{ font-size:.2rem; } .msg_menu ul label{font-size:.35rem !important;margin:.3rem auto} .login,.open_im{ margin: .5rem auto; font-size: .3rem; display: block; background: #0486c4; color: white; border-radius: 3px; padding: .2rem .4rem; line-height: .4rem; height: .4rem; width: 2rem;} .kfsend{ background: #fff; line-height:25px; height:25px; color: #0486C4 !important; padding: 2px 5px; border: 1px solid #2494c9; border-radius: 3px; display:inline-block; } .switchbtn{ border-radius: 20px; display: block; padding: 2px 5px; background: #f0f0f0; color: #000; height: 25px; line-height: 25px; width: 155px; margin: 15px auto; cursor:pointer; text-align: center; margin-top: 100px;} .auditingsend{ margin: 10px auto; font-size: 14px; display: inline-block; background: #0486c4; color: white !important; border-radius: 3px; padding: 2px 5px; line-height: 25px; height: 25px; width: auto;} .send,.validsms{ margin: 10px auto; font-size: 14px; display: block; background: #0486c4; color: white !important; border-radius: 3px; padding: 2px 5px; line-height: 25px; height: 25px; width: 215px;} </style> <script> window.addEventListener("pageshow",function (event) { if (event.persisted || window.performance && window.performance.navigation.type == 2){ if (isUniapp || isUnimini){}else{location.reload();} }},false); $(".menu li").on("touchend",function(){ //$(this).click(); }); $(".menu li").on("touchend click",function(){ var thistype=$(this).attr("data-type"); if(thistype.indexOf('new')==-1){ $(this).children("em").hide(); } //layer.msg(window.navigator.userAgent.toLowerCase()) if (true){ if (thistype.indexOf('who')!=-1 || thistype.indexOf('new')!=-1 ){//点击看过,收藏 navigatorTo('https://3g.kq36.com/kq36/msg2.asp?act='+thistype+'&ret=','webtip',''); return false }else if (thistype=='interviewee' || thistype=='viewresume'){ navigatorTo("https://3g.kq36.com/kq36/"+thistype+".asp?ret=","webtip","") return false }else{ // uni.navigateBack(); } } console.log('/im/m/im.1.2.asp?appaccount=&ref=msg.asp&mini=&fileid=0&WxKey=&ret=thistype='+thistype) $(this).children("em").hide(); //if (thistype=='whosee' || thistype=='whocoll'){ // $.get("/public/returnhtm/return_mobile_ajax.asp",{cmd:"updatestatus",typen:thistype},function(){ // location.href="?act="+thistype+'&ret='; // }) //}else{ if (thistype!='msg') { //location.href="?act="+thistype+'&ret='; $("#WEBimIframe_").hide() $("#WEBimIframe_2").show(); $(".msg_menu").css({"-webkit-overflow-scrolling":"touch","overflow-y":"scroll"}) location.href="https://3g.kq36.com/kq36/msg2.asp?act="+thistype }else{ //location.href='msg.asp'; $("#WEBimIframe_").show() $("#WEBimIframe_2").hide() $(".msg_menu").css({"-webkit-overflow-scrolling":"","overflow-y":""}) return false location.href="https://3g.kq36.com/kq36/msg.asp" } //} $(".menu li").removeClass("on") $(this).addClass("on") if (thistype=='msg'){ //$("#WEBimIframe_").attr("src","//im.kq36.com/m/im.1.2.asp?account="); }else if (thistype=='whosee'){ $("#WEBimIframe_2").attr("src","//3g.kq36.com/kq36/whosee.asp"); }else if (thistype=='seewho'){ $("#WEBimIframe_2").attr("src","//3g.kq36.com/kq36/whosee.asp?typen=2"); }else if (thistype=='whocoll'){ $("#WEBimIframe_2").attr("src","//3g.kq36.com/kq36/whocoll.asp"); }else if (thistype=='collwho'){ $("#WEBimIframe_2").attr("src","//3g.kq36.com/kq36/whocoll.asp?typen=3"); }else if (thistype=='newresume'){ $("#WEBimIframe_2").attr("src","//3g.kq36.com/kq36/newresume.asp"); }else if (thistype=='newjob'){ $("#WEBimIframe_2").attr("src","//3g.kq36.com/kq36/newjob.asp"); } return false }) </script> <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=20200010278"></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> <link rel="stylesheet" type="text/css" href="https://img.kq36.com.cn/3g4/iconfont/iconfont.css?v=20200010278"> <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=20200010278"></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:'' } }); } } $(".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 || window.location.href.indexOf('addfilter')!=-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> <script> var ua=window.navigator.userAgent.toLowerCase() var appver=getAppVer() $(".open_im").click(function(){ $.getJSON("https://api.kq36.com/public/returnhtm/return_mobile_ajax.asp?callback=?",{cmd:'open_img'},function(res){ var status=res.status if (status=="1"){ layer.msg(res.msginfo,{time:3000},function(){ location.reload() }) }else if(status=="-2"){ layer.msg(res.msginfo,{time:3000},function(){ //location.href='https://3g.kq36.com/kq36/editReginfo.asp'; navigatorTo('https://3g.kq36.com/kq36/editReginfo.asp','webtip','') }) }else if(status=="-3"){ layer.msg(res.msginfo,{time:3000},function(){ // location.href='https://3g.kq36.com/kq36/editResume.asp'; navigatorTo('https://3g.kq36.com/kq36/editResume.asp?ret=','webtipNoHead','') }) }else{ layer.msg(res.msginfo) } }) }) $(".findpsw").click(function(){ if (isUniapp){ uni.navigateTo({url:'/pages/home/findpassword/index'}) }else if (isUnimini){ uni.navigateTo({url:'/pagesub/pages/home/findpassword/index'}) }else{ location.href='https://3g.kq36.com/32/' } }) $(".login").click(function(){ if (isUnimini) { uni.redirectTo({url: '/pagesubL/pages/home/login/mlogin?reurl='+encodeURIComponent(document.location.href) ,success:function(){ console.log('success') } ,fail:function(){ location.href='https://3g.kq36.com/login.asp' } ,complete:function(){ console.log('complete') }}) }else{ if (isUniapp){ uni.navigateTo({url:'/pages/home/login/login'}) }else{ location.href='https://3g.kq36.com/login.asp'} } }) //手机动态码登陆 $(".codeloginbtn").click(function(){ if (isUniapp){ uni.navigateTo({url:'/pages/home/login/smslogin'}) }else if (isUnimini){ uni.navigateTo({url:'/pagesubL/pages/home/login/smslogin'}) }else{ layer.open({ title:false, type: 2, shade: false, shadeClose: true,//点 击遮罩关闭层 shade: 0.8, skin: 'layui-layer-rim', //加上边框 area: ['95%', '270px'], //宽高 closeBtn : [1, true], end:function(){location.reload()}, content: ['/public/returnhtm/validsms_login.asp?cfrom=m&typen=login&typen2=https://3g.kq36.com/kq36/msg.asp','no'] }); } }) $(".validsms").click(function(){ layer.open({ title:false, type: 2, shade: false, shadeClose: true,//点 击遮罩关闭层 shade: 0.8, skin: 'layui-layer-rim', //加上边框 area: ['95%', '270px'], //宽高 closeBtn : [1, true], end:function(){location.reload()}, content: ['/public/returnhtm/validsms_2.asp?cfrom=m&typen=msg','no'] }); }) setTimeout(function(){//200ms执行 calcHeight() },200) function calcHeight(){ var msg_menuHeight=$(window).height()-$(".msg_head").height()-$(".foot_menu").height() var paddingbottom=0 if ($(".foot_menu").length>0){ if (ua.indexOf('toutiaomicroapp')!=-1){$(".foot_menu").css("padding-bottom",'0px !important')} paddingbottom=$(".foot_menu").css("padding-bottom").replace('px','') } //if (ua.indexOf('toutiaomicroapp')!=-1 && ua.indexOf('android')!=-1){paddingbottom=0} $(".msg_menu").css("height",(msg_menuHeight-10-paddingbottom)+'px'); sessionStorage.setItem("windowHeight", $(".msg_menu").height()); } document.addEventListener('UniAppJSBridgeReady', function () { switchMenu(true) }); if (window.navigator.userAgent.toLowerCase().indexOf('windowswechat')!=-1 || window.navigator.userAgent.toLowerCase().indexOf('openharmony')!=-1){switchMenu(true)} function switchMenu(boolStatus){ if (boolStatus){ $(".msg_head").show(); $(".foot_menu").show(); var msg_menuHeight=$(window).height()-$(".msg_head").height()-$(".foot_menu").height(); //console.log('msg_menuHeight:'+msg_menuHeight+'msg_head:'+$(".msg_head").height()) $(".msg_menu").css({"position":"fixed","height":sessionStorage.getItem("windowHeight")+'px',"top":"0.8rem"}); var ua=window.navigator.userAgent.toLowerCase(); console.log('switchMenu:'+ua) if (isUniapp){ console.log('showTabBar'); uni.postMessage({ data: { action: 'showTabBar' } }); }else{ console.log(':'+ua) } }else{ // $(".msg_menu").css({"position":"absolute","top":"0px","height":"100%"}); var topstr=0; var ua=window.navigator.userAgent.toLowerCase(); if (isUnimini ){topstr=0;} if (isUniapp){ var sheight=""; if ($(".foot_menu").css("display")=='none'){ sheight=$(window).height() }else{ sheight=$(window).height()+50 } if (isUnimini) {}else{ $(".msg_head").hide(); } $(".msg_head").hide(); $(".foot_menu").hide(); $(".msg_menu").css({"position":"absolute","top":topstr+"px","height":sheight+'px'}); console.log('hideTabBar'); // setTimeout(function(){ uni.postMessage({ data: { action: 'hideTabBar' } }); // },0) } else{ if (window.screen.height>700 && window.navigator.userAgent.toLowerCase().indexOf('mac')!=-1){//苹果横杠 $(".msg_menu").css({"position":"absolute","top":topstr+"px","height":($(window).height()-topstr)+'px'}); }else{ $(".msg_menu").css({"position":"absolute","top":topstr+"px","height":($(window).height()-topstr)+'px'}); } if (isUnimini){}else{ $(".msg_head").hide();} $(".msg_head").hide(); $(".foot_menu").hide(); } } } //{"id":"","title":"","Salary_range":"","company":"","address":"","Work_Years":"","Degree_Request":"","welfare":"","icon":"","zname":"","post":"","ClassName":"","tel":""} function Postupdate(){ uni.postMessage({ data: { action: 'update_msg' } }); } function PostCloseWin(){ uni.postMessage({ data: { action: 'closewebview' } }); } //element控制元素,boolStatus 是否显示 1 显示 0 隐藏 boolDot 是否红点 function chat_List(boolStatus,boolDot){ if (isUniapp && false){ if(jQuery(".foot_menu .chatNum").length > 0){//红点元素存在 jQuery.getJSON("https://api.kq36.com/public/returnhtm/return_mobile_ajax.asp?callback=?",{cmd:"getdotstatus"},function(res){ if (boolDot){ console.log('显示红点'); uni.postMessage({ data: { action: 'msg' } }); }else{if (res.status==1){ jQuery(".foot_menu .chatNum").show() console.log('显示红点'); uni.postMessage({ data: { action: 'msg' } }); }else{ console.log('去除红点'); uni.postMessage({ data: { action: 'unmsg' } }); }} }) } } } //if ($('#WEBimIframe_').css("display")=='none'){ // $('#WEBimIframe_2').hide() // $('#WEBimIframe_').show() // $('.menu li').removeClass('on') // $('.menu li[data-type=\'msg\']').addClass('on') //} // </script> </body> </html>