CINXE.COM

凡科网,让经营更简单-凡科网登录

<!doctype html> <html > <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta property="qc:admins" content="22343077776611337636" /> <meta property="wb:webmaster" content="7d3e25852da2f717" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="renderer" content="webkit" /> <meta content="always" name="referrer"> <title>凡科网,让经营更简单-凡科网登录</title> <meta name="keywords" content="凡科,凡科网登录"> <meta name="description" content="凡科提供企业邮箱、自助建站系统等多样化服务,努力打造成为最全面的服务平台。电脑网站、手机网站和微信网站三合一,助力企业营销,促进企业发展。"> <meta name="author" content="凡科互联网科技股份有限公司"> <meta name="copyright" content="凡科互联网科技股份有限公司版权所有"> <meta name="baidu-site-verification" content="1Ejrws2kq6" /> <link rel="canonical" href="https://i.fkw.com/" /> <link href="//ps.faisys.com/css/loginNew.min.css?v=202411131740" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="//ps.faisys.com/js/comm/swiper/swiper.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/comm/swiper/swiper.animate.min.js?v=202411131740"></script> <link href="//ps.faisys.com/css/comm/swiper/swiper.min.css?v=202411131740" rel="stylesheet" type="text/css" /> <link href="//ps.faisys.com/css/comm/swiper/animate.min.css?v=202411131740" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="//ps.faisys.com/js/comm/jquery/jquery-core.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/comm/jquery/jquery-ui-core.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/comm/fai.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/util.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/faiEncrypt.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/faiEncrypt1.min.js?v=202411131740"></script> <script> var _homeDomain = "fkw.com" </script> </head> <body class="fkhome" style="background-color:#f3f7f9"> <!--头部开始--> <div class="m-header-new"> <div class="fkw-topbar-box"> <a class="fkw-logo" target="_blank" title='点击可打开凡科网' href='http://www.fkw.com'></a> <div class="f-topbar-right"> <a class="slogan" style="display:inline-block" biz="home" target="_blank" title='点击可打开凡科网' href='http://www.fkw.com'> <i></i><font>凡科上市“新三板”股票代码:832828</font> </a> </div> </div> </div> <!--头部结束--> <div class="m-main" style="opacity: 0"> <div class="leftImgDiv"> <div style="position: relative;"> <div class="swiper-container" id="gradientSwiper"> <div class="swiper-wrapper"></div> <div class="swiper-pagination" id="gradientPagination"></div> </div> </div> </div> <div class="loginPage" > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="//www.w3.org/1999/xhtml"> <head> <meta property="qc:admins" content="22343077776611337636" /> <meta property="wb:webmaster" content="7d3e25852da2f717" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="renderer" content="webkit" /> <meta content="always" name="referrer"> <meta name="keywords" content="免费网站注册,免费网站申请,微信活动,商城网站注册,轻站小程序注册、微传单、公众号助手注册、整合营销"> <meta name="description" content="点击注册凡科网,即可一键生成在线商城、微信活动、微传单、轻站小程序、公众号助手、快图等营销工具,免费拥有“电脑+手机+微信”网站等,一站式的配套线上营销平台,为企业提供全方位的整合营销解决方案。"> <meta name="author" content="凡科互联网科技股份有限公司"> <meta name="copyright" content="凡科互联网科技股份有限公司版权所有"> <meta name="baidu-site-verification" content="1Ejrws2kq6" /> <title>免费注册凡科网-一站式全网整合营销平台</title> <link href="//fe.508sys.com/faitest_1_4/css/faitest.min.css?v=202109281937" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="//ps.faisys.com/css/master.min.css?v=202411131740"/> <link rel="stylesheet" type="text/css" href="//ps.faisys.com/css/keywordSearchPopup.min.css?v=202411131740"/> <script type="text/javascript" src="//ps.faisys.com/js/logFdp.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/vue.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/portal.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/comm/jquery/jquery-core.min.js?v=202411131740"></script> <script type="text/javascript" src="//ps.faisys.com/js/keywordSearchPopup.min.js?v=202411131740"></script> <script> window.FAI_HAWK_EYE = {}; window.FAI_HAWK_EYE.jssdk_res_root = "//fe.508sys.com"; window.FAI_HAWK_EYE.jssdk_report_url = "//datareport.fkw.com/js/report"; window.FAI_HAWK_EYE.jssdk_appid = 2000; window.FAI_HAWK_EYE.fai_is_oem = 0; window.FAI_HAWK_EYE.fai_aid = 0; window.FAI_HAWK_EYE.fai_bs_aid = 0; window.FAI_HAWK_EYE.fai_bs_id = 0; window.FAI_HAWK_EYE.fai_bs_wid = 0; window.FAI_HAWK_EYE.fai_web_name = "portal"; </script> <script id="faiHawkEye" type="text/javascript" src="//fe.508sys.com/jssdk_1_1/js/hawkEye.min.js?v=202403151700"></script> <script type="text/javascript" src="//ps.faisys.com/js/comm/fai.min.js?v=202411131740"></script> <style> .log-line { text-align: center; margin-bottom: 15px; position: relative; height: 44px; width: 271px; border: 1px solid #fff; } .log-line .input2 { border: 1px solid #dbe1ea; color: #1b2f4d; } .log-line .log-input { border-radius: 2px; position: absolute; top: 0px; left: 0px; width: 209px; height: 38px; line-height: 38px; background: transparent; font-size: 14px; padding: 2px 10px 2px 50px; outline: none; z-index: 10; } .log-line .log-txt-hover { color: #bac3d3; } .log-line .log-txt { color: #bac3d3; position: absolute; top: 0px; left: 50px; z-index: 1; text-align: left; line-height: 44px; font-size: 14px; } #log-valid-img, #codeLogin-valid-img { position: absolute; right: 20px; top: 7px; cursor: pointer; height: 30px; } #log-refresh-btn, #codeLogin-refresh-btn { float: right; margin-top: 10px; height: 25px; width: 16px; cursor: pointer; background: url(//ps.faisys.com/image/regVersion2016.png?v=201701061749) no-repeat -675px -650px; } </style> </head> <body style="background-color: #f3f7f9;font-family:'微软雅黑';width:100%;height:100%;position:relative"> <div class='bgDiv'></div> <div class='protectDiv'> <div class='protectImg'></div> <div class='protectTitleFont'>登录保护</div> <input type="hidden" id='bindPhone' value='' /> <div class='protectContentFont'>验证码已发送到绑定手机 <span id='omitPhone'></span> </div> <input class='codeInput' maxLength="4" placehold="验证码" oninput="myOninput()" /> <div class='sendBtn getCodeBtn' onclick='getValidateCode()'><div class='sendBtnTxt btnTxt' >重新发送</div></div> <div class='redTxt errorTxt'></div> <div class='contactTxt'>无法收到验证码?<a href='//i.fkw.com/qqQiyukf.jsp?type=fkw&srcId=0' class='contactBlue'>联系客服</a></div> <div class='successTxt'>已通过验证,即将登录凡科网<div class='greenTick'></div></div> <div class='commitBtnBan' ><div class='commitBtnTxtBan'>提交验证</div></div> <div class='commitBtn' onclick='protectLoginValid()' style='display:none;'><div class='commitBtnTxt'>提交验证</div></div> </div> <div class="verification select-dialog"> <div class="select-box"> <div class="close" onclick="selectDialogClose()"></div> <div class="select-head">首次在新设备登录,需要进行验证</div> <div class="select-head">请确定将验证码发送到<span class="active">&nbsp;登录手机&nbsp;</span>还是<span class="active">&nbsp;登录邮箱&nbsp;</span>?</div> <div class="selecet-center"> <div class="select-item" onclick="selectDialogConfirm(1)"> <div class="phone"></div> <div class="text">发送到登录手机</div> </div> <div class="select-item" onclick="selectDialogConfirm(2)"> <div class="email"></div> <div class="text">发送到登录邮箱</div> </div> </div> </div> </div> <div class="verification verify-dialog"> <div class="verify-box"> <div class="close" onclick="verifyDialogClose()"></div> <div class="verify-title">验证成功即可登录</div> <div class="verify-subtitle phone">验证码已经发送至手机<span class="num"></span></div> <div class="verify-subtitle email">验证码已经发送至邮箱<span class="num"></span></div> <div class="verify-center"> <input class='verify-input' maxLength="4" placehold="请输入收到的验证码" /> <div class="send-btn" onclick='verifyDialogGetCode()'>重新获取</div> </div> <div class="verify-error"></div> <div class="verify-footer"> <div class="confirm-btn" onclick="verifyDialogConfirm()">确定</div> <div class="cancel-btn" onclick="verifyDialogClose()">取消</div> </div> </div> </div> <div class="login_container" > <div class="weChat"> <div class="weChatIcon1"></div> <div class="weChatIcon2"></div> <div class="weChatDiv"> <div class="weChatIcon3"></div> <div class="weChatTit">微信扫码登录</div> </div> </div> <div class="weChatTipsDiv" style="display: none"> <div class="weChatIcon3"></div> <div class="weChatTit">微信扫码登录</div> </div> <div class="weChatContent" style="display:none"> <div class="wxLoginCode"> <div class="wxLoginIframe" style="margin-top:0px;height:220px"></div> <div class="wxQrCode-shade-container" > <div class="refresh-icon" ></div> <span class="refresh-tips" >二维码已失效,请刷新重扫</span> <div class="wxQrCode-shade" ></div> </div> </div> <div class="scanGuide"></div> <div class="auto-login-container form-item-checkbox " id="autoLogin" > <div class="checkbox-icon"></div> <div class="checkbox-label">下次自动登录</div> </div> </div> <div class="passwordContent" style="opacity:0"> <div class="p_type"> <div class="checked" onclick="changeLoginType(1)" id="login_type1">密码登录</div><!-- --><div onclick="changeLoginType(2)" id="login_type2">短信码登录</div> </div> <div class="blueLine"> <div class="checked" id="login_blue_line1"></div><!-- --><div id="login_blue_line2"></div> </div> <div class="pwdLogin" style="width:100%;height:auto"> <div class="login_input"> <div class="icon icon1"></div> <input type="text" id="loginCacct" class="login_text" maxlength="34" placeholder="账号/邮箱/手机号码"/> </div> <div class="login_input" style="display:none;" id="employee"> <div class="icon icon2"></div> <input type="text" class="login_text" id="loginSacct" maxlength="20" placeholder="成员账号"/> </div> <div class="login_input" id="pwdInputDiv"> <div class="icon icon3"></div> <input type="password" class="login_text hide_password" id="loginPwd" maxlength="20" placeholder="密码"/> <div class="password_change"></div> <span class="upperCaseTips" >大写锁定已打开</span> </div> <div class="employee_autoLogin"> <div class="employeeDiv form-item-checkbox" id="staffLogin" > <div class="checkIcon checkbox-icon"></div> <div class="e_a_word checkbox-label">使用成员账号密码</div> </div> <a class="toChangePassword" href="javascript:;" onClick="login_openPassword();">忘记密码?</a> </div> </div> <div class="codeLogin" style="display:none;width:100%;height:auto"> <div class="login_input"> <div class="icon icon5"></div> <input type="text" id="login_mobile" class="login_text" maxlength="11" placeholder="手机号码"/> </div> <div class="login_valid" > <div class="login_input"> <div class="icon icon4"></div> <input type="text" class="login_text" id="login_mobile_code" style="width:135px" maxlength="4" placeholder="短信码"/> </div> <div class="sms_button" onclick="smsCodeBtnClick()" id="login_sms_button" disabled="disabled">获取短信码</div> </div> </div> <div class="auto-login-container form-item-checkbox " id="autoLogin" > <div class="checkbox-icon"></div> <div class="checkbox-label">下次自动登录</div> </div> <div class="showErr"></div> <div class="login_button" id="login_button" onclick="login()">登&nbsp;&nbsp;录</div> <div class="otherLogin"> <div class="other"> <div class="other_word">其他账号登录</div> <div class="qq_icon" onclick="bindQQAccount();"></div> </div> <a class="toRegPage" href="javascript:;" onClick="toRegPage();">立即注册</a> </div> </div> <!-- 企微扫码登录 --> <div class="enterpriseWxContent" style="display:none"> <p class="e_title">当前企业微信未绑定凡科成员账号,您可以</p> <div class="e_btn" onclick="addNewAccount()">新增成员账号</div> <div class="e_btn mt40" onclick="loginAfterBindQW()">登录已有账号后绑定</div> </div> </div> <script type="text/javascript" src="//fe.508sys.com/faitest_1_4/js/faitest.min.js?v=202404011522" ></script> <script type="text/javascript"> // 该企微账号对应企微企业尚未关联 if ('' && '' == 1) { Portal.tipsWindow({ windowType : 1, iconShow: false, title : '当前<span class="blue-color"> 企业未关联企业微信 </span>,请联系管理员进行关联!', footerContent: "<a target='_blank' href='#'>了解如何关联?</a>", okBtnValue : '知道了', width : '457', height: '202', callback: function () { if ("false" == "true") { window.location.replace("//i.fff.com.faidev.cc%>") } else { window.location.replace("//i.fkw.com") } } }).show(); } </script> <script type="text/javascript"> window.__FAITEST_ENV__= 0; // 验证码环境模式 var requestParam = ''; var faiEncrypt_key = "MIGfMA0GCSqGSxx3DQEBAQUAA4GNADCBiQKBgQCBWNoG5LJ3u44Gs8PWs1MaNUQQ+mOmh+9zWdzSt3ORbmfCDvU+ssW/6QTTgXvWWx7+Wzq/a4fCCQp72zSqXeVhWkTVct9Hyp/iMo5K6qOEK76z9z+tP/u99X6qazeXGVMWKkPiyZT4mKAGd/U8Mph9Z1Z5kOluA7g7heq8PPlE9wIDAQAB"; var login_cacct = ''; var login_sacct = ''; var Login_Biz = { NONE: 'none', //未知 SITE: 'site', //建站 HD: 'hd', //互动 FLYER: 'flyer', //微传单 WXAST: 'wxast', //公众号助手 PROGRAM: 'program', //小程序 KTU: 'ktu', //快图 SJ: 'sj' //设计平台 }; var is_login_needValidateCode =false; var login_biz = Login_Biz.NONE; var _oVariable = { autoLogin: false }; var submiting = false $(function(){ $.cookie("wxRegBiz",Login_Biz.NONE,{domain: 'fkw.com', path: "/"}); if(false){ login_biz = Login_Biz.SITE; $.cookie("wxRegBiz",Biz.SITE,{domain: 'fkw.com', path: "/"}); }else if(false){ login_biz = Login_Biz.HD; $.cookie("wxRegBiz",Biz.HD,{domain: 'fkw.com', path: "/"}); }else if(false){ login_biz = Login_Biz.FLYER; $.cookie("wxRegBiz",Biz.FLYER,{domain: 'fkw.com', path: "/"}); }else if(false){ login_biz = Login_Biz.WXAST; $.cookie("wxRegBiz",Biz.WXAST,{domain: 'fkw.com', path: "/"}); }else if(false){ login_biz = Login_Biz.PROGRAM; $.cookie("wxRegBiz",Biz.PROGRAM,{domain: 'fkw.com', path: "/"}); }else if(false){ login_biz = Login_Biz.KTU; $.cookie("wxRegBiz",Biz.KTU,{domain: 'fkw.com', path: "/"}); }else if(false){ login_biz = Login_Biz.SJ; $.cookie('wxRegBiz', reg_Biz.SJ, {domain: 'fkw.com', path: "/"}); } var code = Fai.getUrlParam(window.location.href, 'code'); if (!code) { // http://i.fff.com/?url=http%3A%2F%2Fi.hd.fff.com%2F%3Fcode%3D11111111&_ta=207 var url = Fai.getUrlParam(window.location.href, 'url'); if (url) { var res = Fai.getUrlParam(url, "code"); if (res) { $("#login_type2").click(); } } } else { // http://i.fff.com/?_ta=207&code=11111111 $("#login_type2").click(); } var loginAcctVal=""; //从url/cookie中获取用户名 //账号显示逻辑 var lastLoginCacct = login_cacct; if(!login_cacct){ lastLoginCacct = $.cookie('loginCacct'); } var defaultLoginTypeStr = "账号密码登录-密码登录"; var queryAcct = $.trim(Fai.getUrlParam(location.search, "acct")); var queryAcctIsMobiel = Fai.isMobile(queryAcct), queryAcctIsEmail = Fai.isEmail(queryAcct); if (queryAcct && (queryAcctIsMobiel || queryAcctIsEmail)) { if(queryAcctIsMobiel){//短信登录 短信登录和密码登录的账号输入框 $("#loginCacct").val(queryAcct);//密码登录 $("#login_mobile").val(queryAcct);//短信登录 $("#login_mobile").focus();//触发事件用于显示短信登录的获取验证码按钮 $(".sms_button").removeAttr("disabled"); $(".sms_button").addClass("sms_button_ok"); $("#login_type2").click(); defaultLoginTypeStr = "账号密码登录-短信码登录"; }else if(queryAcctIsEmail){//邮箱登录 密码登录的账号输入框 $("#loginCacct").val(queryAcct);//密码登录 } } else if(lastLoginCacct != null && $.trim(lastLoginCacct) != ''){ if(Fai.isMobile(lastLoginCacct)){//短信登录 短信登录和密码登录的账号输入框 $("#loginCacct").val(lastLoginCacct);//密码登录 $("#login_mobile").val(lastLoginCacct);//短信登录 $("#login_mobile").focus();//触发事件用于显示短信登录的获取验证码按钮 $(".sms_button").removeAttr("disabled"); $(".sms_button").addClass("sms_button_ok"); if($.cookie('_loginTypeSign')=='codeLogin'){ $("#login_type2").click(); defaultLoginTypeStr = "账号密码登录-短信码登录"; } }else if(Fai.isEmail(lastLoginCacct)){//邮箱登录 密码登录的账号输入框 $("#loginCacct").val(lastLoginCacct);//密码登录 }else{//凡科账号登录 账号登录的账号和成员号 勾选成员登录 var lastLoginSacctVal = $.cookie('loginSacct'); var lastLoginUseSacctVal = $.cookie('loginUseSacct'); $("#loginCacct").val(lastLoginCacct); $("#loginSacct").val(lastLoginSacctVal); if(lastLoginUseSacctVal!=0){ $('.employeeDiv').find(".e_a_word").click(); defaultLoginTypeStr = "账号密码登录-成员账号密码登录"; } } } $.cookie('loginAcct', null, {path:'/', domain:'fkw.com'}); if($.cookie('_loginTypeSign')=='wxLogin'){//切换到wx登录 $(".weChat").click(); defaultLoginTypeStr = "微信扫码登录"; } passWordLoginToCenter(); JPlaceHolder.init(); if ('false' == 'false') { $(".enterprise_wx_icon").css("display", "none"); } if ('' && '' == 2) { $(".weChat").css("display", "none"); $(".enterprise_wx_icon").css("display", "none"); $(".toRegPage").css("display", "none"); $(".enterpriseWxContent").css("display", "block"); } else { $(".passwordContent").css("opacity","1"); } PortalLogFdp.loginVisit(5, defaultLoginTypeStr); }); (function bindEvent () { $(".weChatContent").hover(function(){ },function(){ $(".scanGuide").css("display", "none"); $(".wxLoginCode").css("transform", "translate(0px, 0px)"); }); $(".wxLoginCode").hover(function(){ $(".wxLoginCode").css("transform", "translate(-134px, 0px)"); $(".scanGuide").css("display", "block"); },function(){ }); $('.codeInput').keydown(function(event){ var inputVal = $('.codeInput').val(); if( event.keyCode == 13 ){ if(inputVal.length == 4){ protectLoginValid(); } } }).focus(function(){ $('.errorTxt').hide(); $('.contactTxt').hide(); }); $('#loginPwd').keydown(function(e){ var key = e.key; if(key && key.length === 1 && !(Fai.isIE() || navigator.userAgent.toLowerCase().indexOf('edge') > -1)){ if(key >= 'A' && key <= 'Z'){ $('#pwdInputDiv .upperCaseTips').show(); } if(key >= 'a' && key <= 'z'){ $('#pwdInputDiv .upperCaseTips').hide(); } } }).blur(function () { $('#pwdInputDiv .upperCaseTips').hide(); }); $(document).keydown(function(e){ if(e.keyCode === 20 && $('#pwdInputDiv .upperCaseTips').css('display') === 'block'){ $('#pwdInputDiv .upperCaseTips').hide(); } }); $("#login_mobile").bind('paste',function(){//监听手机号输入框的右键粘贴事件 var el=$(this); setTimeout(function(){ if(login_isMobile($.trim($("#login_mobile").val()))){ $("#login_sms_button").addClass("sms_button_ok"); $("#login_sms_button").removeAttr("disabled"); }else{ $("#login_sms_button").removeClass("sms_button_ok"); $("#login_sms_button").attr("disabled", "disabled"); } },100); }); //选中div的时候聚焦文本框 $(".login_input").click(function(){ $(this).find(".login_text").focus(); }); //输入框光标移入,用以切换样式 $(".login_text").focus(function(){ $(this).parent().addClass("inserted"); }); //输入框移除光标判断是否输入成功,用以恢复样式 $(".login_text").blur(function(){ $(this).parent().removeClass("inserted"); }); //可视密码和影藏密码的切换 $(".password_change").click(function(){ var $pwd = $(this).parent().find("input")[0]; if($(this).attr("class").indexOf("seePassword")!=-1){ $(this).removeClass("seePassword"); $pwd.setAttribute('type', 'password'); }else{ $(this).addClass("seePassword"); $pwd.setAttribute('type', 'text'); } }) //微信登录和密码登录的切换 $(".weChat").click(function(){ if($(this).attr("class").indexOf("changeWxLogin")!=-1){//切换到账号登录 $(this).removeClass("changeWxLogin"); $(this).find(".weChatTit").text("微信扫码登录"); $(".weChatContent").hide(); $(".passwordContent").show(); $(".passwordContent").css("opacity", 1); $(".weChatTipsDiv").hide(); PortalLogFdp.loginClick(5, "切换-微信扫码登录"); }else{//切换到微信登录 $(this).addClass("changeWxLogin"); $(this).find(".weChatTit").text("账号密码登录"); $(".passwordContent").hide(); bindWeChatLogin(); $(".weChatContent").show(); $(".weChatTipsDiv").show(); Portal.logDog(4000259, 101); wxLoginCodeMove(); PortalLogFdp.loginClick(5, "切换-账号密码登录-密码登录"); }; $(".enterpriseWxContent").css("display", "none"); // 自动登录对应 if (_oVariable.autoLogin) { $(".form-item-checkbox.auto-login-container").addClass("checked"); } else { $(".form-item-checkbox.auto-login-container").removeClass("checked"); } }); $('.wxQrCode-shade-container').click(function(){ bindWeChatLogin(); $(this).hide(); Portal.logDog(4000259, 104); PortalLogFdp.loginClick(5, "微信扫码登录-刷新二维码"); }); //短信验证码获取按钮验证手机账号 $("#login_mobile").keyup(function(){ if(login_isMobile($.trim($("#login_mobile").val()))){ $("#login_sms_button").addClass("sms_button_ok"); $("#login_sms_button").removeAttr("disabled"); }else{ $("#login_sms_button").removeClass("sms_button_ok"); $("#login_sms_button").attr("disabled", "disabled"); } }) //检查账号登录的时候账号是否是默认密码 $("#loginCacct").blur(function(){ var login_cacct=$(this).val(); var pattern = /^1[3456789]\d{9}$/ if(pattern.test(login_cacct)){ $.ajax({ type: 'post', url: '/ajax/login_h.jsp?cmd=checkCacctForPwd&cacct='+login_cacct+'&acctType=1', success:function(result){ var data=$.parseJSON( result ); if(data){ if(data.success){ if(data.rt==-80){ if($("#login_type2").hasClass("checked")){ //短信码登录的时候不提示 }else{ showErr("账号未设置密码,请使用短信码登录"); }; $('#loginCacct').focus(); } } } }, }); return; } $(this).val($(this).val().replace(/\s+/g, '')); }) //点击成员登录选项行为 $(".employeeDiv").find(".checkIcon,.e_a_word").click(function(){ if($(this).parent().attr("class").indexOf("checked")!=-1){ $(this).parent().removeClass("checked"); $("#employee").hide(); passWordLoginToCenter(); $("#loginCacct").attr('placeholder','账号/邮箱/手机号码'); PortalLogFdp.loginClick(5, "使用成员账号密码-取消选中"); }else{ $(this).parent().addClass("checked"); $("#employee").show(); passWordLoginToCenter(); $("#loginCacct").attr('placeholder','账号'); PortalLogFdp.loginClick(5, "使用成员账号密码-选中"); } }); // 下次自动登录 $(".form-item-checkbox.auto-login-container").click(function () { if ($(this).hasClass("checked")) { PortalLogFdp.loginClick(5, "两周内自动登录-取消选中"); _oVariable.autoLogin = false; } else { PortalLogFdp.loginClick(5, "两周内自动登录-选中"); _oVariable.autoLogin = true; } $(this).toggleClass("checked"); if ($(".weChat").hasClass("changeWxLogin")) { bindWeChatLogin(); } }); })(); /** * 滑块验证码模块(调用公共组件:faitest_1_4) * @author: gloryace * @email: gloryace@qq.com */ var sliderCaptcha = (function () { // 初始化滑块验证码组件(faitest_1_4) function _initCaptchaComp (callback) { initFaitest({ bss: 4, // opt为4 bssKey: 'ALihhLoGCAEQBBoHWzEsMyw1XSIJ6ZKf55Sz5qC5' }, function (checkSign, fallbacked) { callback && callback(checkSign, fallbacked || false); }, function () { }); } return { initCaptchaComp: _initCaptchaComp } })(); /** * 短信码模块 * @author: gloryace * @email: gloryace@qq.com */ var smsCode = { get: function (checkSign, fallbacked) { var $btn=$("#login_sms_button"); var timeCtrl = $btn[0]._timeCtrl; if(!timeCtrl || timeCtrl.timer){ return false; } var login_cacct= $.trim($("#login_mobile").val()); var $codeInput = $('#login_mobile_code'); var isMailAcct_mobile = false; var login_cacctCode = ''; var encrypt1 = new JSEncrypt(); var params = null; encrypt1 = new JSEncrypt1(); encrypt1.setPublicKey(faiEncrypt_key); login_cacctCode = encrypt1.encrypt(login_cacct); params = { cacct: login_cacct, isResend: timeCtrl.clickCnt > 0,//需要 isNewSms: true, cacctCode: login_cacctCode, isMailAcct: isMailAcct_mobile }; if (checkSign) { params.vc_type = 2; params.checkSign = checkSign; params.fallbacked = fallbacked; } $.ajax({ type:"post", url:"/ajax/login_h.jsp?cmd=sendValidateCode", data: params, error: function () { Portal.logMonitor(12055); showErr('系统繁忙'); }, success: function (result) { var result = jQuery.parseJSON(result); var data = result; if (result.success) { smsCode.getSuc(result); hideErr(); } else { showErr(result.msg); if (data.needValidateCode) { sliderCaptcha.initCaptchaComp(function (checkSign, fallbacked) { smsCode.get(checkSign, fallbacked); }); } } } }); }, getSuc: function (data) { var $btn=$("#login_sms_button"); var timeCtrl = $btn[0]._timeCtrl; var $codeInput = $('#login_mobile_code'); $btn.attr('disabled', 'disabled'); $btn.removeClass('sms_button_ok'); clearInterval(timeCtrl.timer); timeCtrl.clickCnt++; timeCtrl.second = 60; timeCtrl.timer = setInterval(function(){ if(timeCtrl.second > 0){ $btn.html('已发送(' + timeCtrl.second + ')'); timeCtrl.second--; }else{ $btn.html('重新获取').removeAttr('disabled'); $btn.addClass('sms_button_ok'); clearInterval(timeCtrl.timer); timeCtrl.timer = null; } }, 1000); $codeInput.focus(); } }; /** * 登录模块 * @author: gloryace * @email: gloryace@qq.com */ var oLoginModule = { selectType: 1, // 选择手机号 还是 邮箱 loginPhone: "", // 手机号 loginEmail: "", // 邮箱 beforeLogin: function () { var login_cacct = $('#loginCacct').val(); var login_sacct = $('#loginSacct').val(); var pwd = $('#loginPwd').val(); var staffLogin = $('#staffLogin').hasClass("checked"); var loginModel = ""; if ($("#login_type1").attr("class").indexOf("checked")!=-1 ) { loginModel = "pwdLogin"; } else if ($("#login_type2").attr("class").indexOf("checked")!=-1) { loginModel = "mobileLogin"; } if (loginModel == "") { return; } if (loginModel == 'pwdLogin') { if ( !login_cacct ) { showErr( '请输入账号' ); $('#loginCacct').focus(); return; } if (staffLogin) { if(!checkLoginAcct(login_cacct)){ showErr( '请输入正确的账号' ); $('#loginCacct').focus(); return; } } if( staffLogin && !login_sacct ){ showErr( '请输入成员账号' ); $('#loginSacct').focus(); return; } if( !pwd ){ showErr( '请输入密码' ); $('#loginPwd').focus(); return; } } else { var loginMoile = $.trim($("#login_mobile").val()); var mobileCode = $.trim($('#login_mobile_code').val()); if( !loginMoile ){ showErr( '请输入手机号码' ); $('#login_mobile').focus(); return; } if( !mobileCode ){ showErr( '请输入短信码' ); $('#login_mobile_code').focus(); return; } } return true; }, login: function (checkSign, fallbacked) { // 登录校验 if (!oLoginModule.beforeLogin()) { return; } var bizType = 5; var me = $('#login_button'); var login_cacct = $('#loginCacct').val(); var login_sacct = $('#loginSacct').val(); var pwd = $('#loginPwd').val(); var staffLogin = $('#staffLogin').hasClass("checked"); var loginModel = ""; var params = []; if ($("#login_type1").attr("class").indexOf("checked")!=-1 ) { loginModel = "pwdLogin"; } else if ($("#login_type2").attr("class").indexOf("checked")!=-1) { loginModel = "mobileLogin"; } params.push( 'cacct=' + Fai.encodeUrl( login_cacct ) ); params.push( '&sacct=' + Fai.encodeUrl( login_sacct ) ); params.push( '&pwd=' + $.md5( pwd ) ); params.push( '&autoLogin=' + _oVariable.autoLogin ); params.push( '&staffLogin=' + staffLogin ); params.push( '&bizType=' + bizType ); params.push( '&dogId=' + 0 ); params.push( '&fromsite=' + true ); if (loginModel == 'pwdLogin') { params.push('&cmd=loginCorpNews'); } else { params.push( '&cmd=loginCorpNewByCodes'); params.push( '&loginMoile=' + Fai.encodeUrl( $.trim($("#login_mobile").val()) ) ); params.push( '&mobileCode=' + Fai.encodeUrl( $.trim($('#login_mobile_code').val()) ) ); } if (checkSign) { params.push( '&vc_type=2' ); params.push( '&checkSign=' + checkSign ); params.push( '&fallbacked=' + fallbacked ); } if (is_login_needValidateCode) { sliderCaptcha.initCaptchaComp(function (checkSign, fallbacked) { oLoginModule.login(checkSign, fallbacked); }); is_login_needValidateCode = false; return; } me.addClass( 'disabled' ).html('正在登录...'); hideErr(); oLoginModule.submit(params, loginModel); }, submit: function (params, loginModel) { var me = $('#login_button'); $.ajax({ type: 'post', url: '/ajax/login_h.jsp?dogSrc=3', data: params.join(''), error: function(){ Portal.logMonitor(12054); me.removeClass( 'disabled' ).html('登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录'); showErr( '服务繁忙,请稍候重试' ); }, success: function(result){ try{ var data = $.parseJSON( result ); if ( data ) { if ( data.success ) { var aid = data.aid; var loginIsHitKeywordsResearch = data.loginIsHitKeywordsResearch; var hideKeywordPopup = Boolean($.cookie("_hideKeywordPopup_" + aid)); if (loginIsHitKeywordsResearch && !hideKeywordPopup) { vm.callbackUrl = data.callBackUrl || ""; vm.aid = aid; vm.ta = 0; vm.bizType = 5; vm.showKeywordPopup = true; vm.afterCloseKeywordConfirmCb = oLoginModule.loginSuc.bind(this, loginModel, data); } else { oLoginModule.loginSuc(loginModel, data); } } else { oLoginModule.loginErr(data); } }else{ showErr( '连接超时,请重试' ); me.removeClass( 'disabled' ).html('登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录'); } }catch(ex){ // console.warn(ex); Portal.logDog(4000296, 304) Portal.logMonitorInfo('portal/loginNew.jsp.inc.login success callback ' + JSON.stringify(ex)); } } }) }, loginErr: function (data) { var me = $('#login_button'); me.removeClass( 'disabled' ).html('登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录'); if (data.hasLoginProtect) { $('.protectDiv').css('display','block'); $('.bgDiv').css('display','block'); $('.codeInput').focus(); $('#bindPhone').val(data.phone); $('#omitPhone').html(data.phone.slice(0,3)+'****'+data.phone.slice(7)); $('.getCodeBtn').click(); requestParam = data.requestParam; } if ( data.active ) { top.location.href = '//i.fkw.com/reAct.jsp?cacct=' + $('#loginCacct').val(); return; } if (data.flowCode === 3) { showErr('短信码错误次数过多,请稍候重试'); me.removeClass( 'disabled' ).html('登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录'); return; } if (data.needValidateCode) { showErr(data.msg); if (data.err || data.rt == -401) { is_login_needValidateCode = true; } else { sliderCaptcha.initCaptchaComp(function (checkSign, fallbacked) { oLoginModule.login(checkSign, fallbacked); }); } return; } if (data.diffDevice) { // 等保验证 oLoginModule.loginPhone = data.phone; oLoginModule.loginEmail = data.email; requestParam = data.requestParam; if (data.phone && data.email) { $('.select-dialog').css('display','block'); return } else if (data.phone){ selectDialogConfirm(1) return } else if (data.email){ selectDialogConfirm(2) return } } showErr(data.msg || '系统错误'); }, loginSuc: function (loginModel, data) { // 写cookie:登录后复制网站 var cloneAid = 0; var templateId = -1; var cookieDomain = 'fkw.com'; var fromUrl = ''; var jump = 0; var days = data.days; var pwd = $('#loginPwd').val(); //是否是内部账号 var isInternalCorp = data.isInternalCorp; // 写cookie:进网站后跳转 var jumpSite = false; if( cloneAid != 0 ){ $.cookie( '_regCloneAid', cloneAid, {domain: cookieDomain} ); if( templateId != 0 ){ $.cookie( '_regTemplateId', templateId, {domain: cookieDomain} ); } jumpSite = true; } var jumpUrl = ""; if( jump != 0 ){ jumpUrl = '//i.fkw.com/jump.jsp?t=' + jump; }else if(data.callBack){ jumpUrl = data.callBackUrl; } else if (jumpSite) { jumpUrl = data.siteUrl; //用户注册7天后在所有登录入口每次登录均判断密码是否符合安全强度要求 //(密码由6-20个字符组成,须同时包含字母、数字和特殊符号其中两种组合),如果不符合 } else if(data.aid == 1 && (/^(fanke)/.test(pwd) || /^(faisco)/.test(pwd))){ jumpUrl = '//i.fkw.com/portal.jsp#appId=setPwd'; $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); }else if(days > 7){ var modes = 0; //数字 if ( /\d/.test(pwd) ) { modes++; } //字母 if ( (/[a-z]/.test(pwd)) || (/[A-Z]/.test(pwd)) ) { modes++; } //特殊符号 if ( /\W/.test(pwd) || /[_]/.test(pwd) ) { modes++; } if(modes < 2){ //内部账号 if(isInternalCorp == 'true'){ jumpUrl = '//i.fkw.com/portal.jsp#appId=setPwd'; $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); }else{ $.cookie( 'faiIng', '1', { expires: 1, path: '/' } ); } }else{ $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); } } if (!jumpUrl) { if (fromUrl) { jumpUrl = fromUrl; } else { jumpUrl = '//i.fkw.com/portal.jsp'; } $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); } $.cookie("orderTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie("couponTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie("serviceTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie('_hasClosePlatinumAd_',"false",{expires: 1, path: '/',domain:'fkw.com'});//互动portal index上的小广告窗口 $.cookie('_hasClosePlatinum_',"false",{expires: 1, path: '/',domain:'fkw.com'});//互动portal myactive上的banner $.cookie("_hasCloseFlyerAd_","false",{expires: 1, path: '/',domain:'fkw.com'});//hdportal 引导开通传单 $.cookie("_hasCloseHdGG_","false",{expires: 1, path: '/',domain:'fkw.com'});//flyer 引导开通传单 $.cookie("faiscoAd",true,{expires: 1, path: '/',domain:'fkw.com'});//site左下角广告是否显示 $.cookie("_whereToPortal_","login",{expires: 1, path: '/',domain:'fkw.com'});//记录何处到商务平台 $.cookie('hasShowBeianWindow', null, {path:'/service'}); //清除siteRecord.jsp下面的备案提示弹窗cookie $.cookie('hasShowDomainBeianWindow', null); $.cookie('hasShowBeianSmsTips', null, {path:'/service'}); // 企业微信登录后绑定 if (checkLoginAfterBindQW && '' == 2) { if ("false" == "true") { jumpUrl = '//i.fff.com.faidev.cc/portal.jsp#appId=accountsSafe'; } else { jumpUrl = '//i.fkw.com/portal.jsp#appId=accountsSafe'; } } //往工单系统存储cookie用于处理跨域请求 top.location.href = jumpUrl; } }; var GetCodeCtrl = { time: 0, //发送倒计时 timer: null, //间隔计时器 sentCount: 0, //获取验证码的次数 isLock:false, $btn: null, $error: null, $btnTxt:null, init: function(){ this.$btn = $('.getCodeBtn'); this.$error = $('.errorTxt'); this.$btnTxt= $('.btnTxt'); }, lock: function(){ this.isLock = true; this.$btn.removeClass('sendBtn'); this.$btn.addClass('sendBtnBan'); }, unlock: function(){ this.isLock = false; this.$btn.addClass('sendBtn'); this.$btn.removeClass('sendBtnBan'); }, showErr: function(msg){ this.$error.html(msg).show(); }, count: function(){ this.time = 59; this.sentCount++; clearInterval(this.timer); GetCodeCtrl.lock(); if(this.sentCount <= 1){ this.$btnTxt.html('已发送,<span class="countDown">' + (this.time + 1) + '</span>s'); }else{ this.$btnTxt.html('已发送,<span class="countDown">' + (this.time + 1) + '</span>s'); } this.timer = setInterval(function(){ if(GetCodeCtrl.time > 0){ $('.countDown').html(GetCodeCtrl.time); GetCodeCtrl.time--; }else{ GetCodeCtrl.unlock(); GetCodeCtrl.$btnTxt.html('重新发送'); clearInterval(GetCodeCtrl.timer); } }, 1000); } }; GetCodeCtrl.init(); function myOninput(){ var inputVal = $('.codeInput').val(); if(inputVal.length == 4){ $('.commitBtnBan').hide(); $('.commitBtn').show(); }else{ $('.commitBtn').hide(); $('.commitBtnBan').show(); } } function getValidateCode(){ if(GetCodeCtrl.isLock){ return ; } GetCodeCtrl.lock(); $.ajax({ type: 'post', url: '/ajax/login_h.jsp', data: 'cmd=protectLoginGetMobileValid&cacct='+$('#bindPhone').val(), error: function(e){ Fai.ing('服务繁忙,请稍候再试。', true); }, success: function(e){ var e = jQuery.parseJSON(e); if(e.success){ GetCodeCtrl.count(); }else{ GetCodeCtrl.showErr(e.msg); GetCodeCtrl.unlock(); } } }); } function protectLoginValid(){ var pwd = $('#log-pwd').val(); var cacct = $('#log-cacct').val(); var validateCode = $.trim($('.codeInput').val()); var encrypt = new JSEncrypt(); if(typeof(validateCode) != "undefined" && faiEncrypt_key){ encrypt.setPublicKey(faiEncrypt_key); validateCode = encrypt.encrypt(validateCode); } var strArr=requestParam.split('&'); requestParam=""; for(var i=0;i<strArr.length;i++){ if(strArr[i].indexOf('cmd')!=-1){ continue; } requestParam=requestParam+"&"+strArr[i]; } var datas='mobile='+$('#bindPhone').val()+'&validateCode='+validateCode+requestParam+'&cmd=protectLoginValids'; $.ajax({ type: 'post', url: '/ajax/login_h.jsp', data: datas, error: function(e){ Fai.ing('服务繁忙,请稍候再试。', true); }, success: function(result){ var data = $.parseJSON( result ); if( data ){ if( data.success ){ $('.errorTxt').hide(); $('.contactTxt').hide(); $('.successTxt').show(); setTimeout(function(){ // ## START success ## // 写cookie:登录后复制网站 var cloneAid = 0; var templateId = -1; var cookieDomain = 'fkw.com'; var fromUrl = ''; var jump = 0; var days = data.days; //是否是内部账号 var isInternalCorp = data.isInternalCorp; // 写cookie:进网站后跳转 var jumpSite = false; if( cloneAid != 0 ){ $.cookie( '_regCloneAid', cloneAid, {domain: cookieDomain} ); if( templateId != 0 ){ $.cookie( '_regTemplateId', templateId, {domain: cookieDomain} ); } jumpSite = true; } var jumpUrl = ""; if( jump != 0 ){ jumpUrl = '/jump.jsp?t=' + jump; }else if(data.callBack){ jumpUrl = data.callBackUrl; } else if (jumpSite) { jumpUrl = data.siteUrl; //用户注册7天后在所有登录入口每次登录均判断密码是否符合安全强度要求 //(密码由6-20个字符组成,须同时包含字母、数字和特殊符号其中两种组合),如果不符合 } else if(data.aid == 1 && (/^(fanke)/.test(pwd) || /^(faisco)/.test(pwd))){ jumpUrl = '//i.fkw.com/portal.jsp#appId=setPwd'; $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); }else if(days > 7){ var modes = 0; //数字 if ( /\d/.test(pwd) ) { modes++; } //字母 if ( (/[a-z]/.test(pwd)) || (/[A-Z]/.test(pwd)) ) { modes++; } //特殊符号 if ( /\W/.test(pwd) || /[_]/.test(pwd) ) { modes++; } if(modes < 2){ //内部账号 if(isInternalCorp == 'true'){ jumpUrl = '//i.fkw.com/portal.jsp#appId=setPwd'; $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); }else{ $.cookie( 'faiIng', '1', { expires: 1, path: '/' } ); } }else{ $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); } }else{ if (fromUrl) { jumpUrl = fromUrl; } else { jumpUrl = '//i.fkw.com/portal.jsp'; } $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); } $.cookie("orderTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie("couponTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie("serviceTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie('_hasClosePlatinumAd_',"false",{expires: 1, path: '/',domain:'fkw.com'});//互动portal index上的小广告窗口 $.cookie('_hasClosePlatinum_',"false",{expires: 1, path: '/',domain:'fkw.com'});//互动portal myactive上的banner $.cookie("_hasCloseFlyerAd_","false",{expires: 1, path: '/',domain:'fkw.com'});//hdportal 引导开通传单 $.cookie("_hasCloseHdGG_","false",{expires: 1, path: '/',domain:'fkw.com'});//flyer 引导开通传单 $.cookie("faiscoAd",true,{expires: 1, path: '/',domain:'fkw.com'});//site左下角广告是否显示 $.cookie("_whereToPortal_","login",{expires: 1, path: '/',domain:'fkw.com'});//记录何处到商务平台 $.cookie('hasShowBeianWindow', null, {path:'/service'}); //清除siteRecord.jsp下面的备案提示弹窗cookie $.cookie('hasShowDomainBeianWindow', null); $.cookie('hasShowBeianSmsTips', null, {path:'/service'}); //往工单系统存储cookie用于处理跨域请求 top.location.href = jumpUrl; // ## END success ## },200); }else{ if( GetCodeCtrl.sentCount >= 2 ){ $('.errorTxt').hide(); $('.contactTxt').show(); }else{ GetCodeCtrl.showErr( data.msg ); } } }else{ GetCodeCtrl.showErr( '连接超时,请重试' ); } } }); } function toRegPage(){ PortalLogFdp.loginClick(5, "去注册"); // window.location.href='//www.fkw.com/regNew.jsp'; window.location.href='//www.fkw.com/reg.html?_fromsite=true'; } function wxLoginCodeMove() { $(".wxLoginCode").css("transform", "translate(-139px, 0px)"); $(".scanGuide").css("display", "block"); setTimeout(function(){ $(".scanGuide").css("display", "none"); $(".wxLoginCode").css("transform", "translate(0px, 0px)"); },1500); } //跳转找回密码 function login_openPassword(){ Portal.logDog(4000118, 4); var cacct = $('#loginCacct').val(); PortalLogFdp.loginClick(5, "忘记密码"); window.open("//i.fkw.com/passwordNew.jsp?cacct=" + Fai.encodeUrl(cacct)+"&bizType=5", "_blank"); } //账号密码登录和短信登录的切换 function changeLoginType(type){ $(".p_type > div").removeClass("checked"); $(".blueLine > div").removeClass("checked"); if(type==1){ $("#login_type1").addClass("checked"); $("#login_blue_line1").addClass("checked"); $(".codeLogin").hide(); $(".pwdLogin").show(); PortalLogFdp.loginClick(5, "切换-账号密码登录-密码登录"); }else{ $("#login_type2").addClass("checked"); $("#login_blue_line2").addClass("checked"); $(".pwdLogin").hide(); $(".codeLogin").show(); PortalLogFdp.loginClick(5, "切换-账号密码登录-短信码登录"); } $('.validateCode').find('.errMsg').html(''); hideErr(); passWordLoginToCenter(); } //qq登录 function bindQQAccount(){ PortalLogFdp.loginClick(5, "切换-QQ登录"); Portal.logDog(4000027, 0); var paramsStr = "" if (checkLoginAfterBindQW) { paramsStr = "%26toBindQWPage%3Dtrue" } window.location.href = "https://graph.qq.com/oauth2.0/show?which=Login&display=pc&response_type=code&client_id=101375548&redirect_uri=http%3A%2F%2Fi.fkw.com%2FbindQQAccountNew.jsp%3FmodeType%3Dpc" + paramsStr + "&state=82&scope=get_user_info,get_info"; } //账号登录模块居中方法 function passWordLoginToCenter(){ $(".passwordContent").css("margin-top",-($(".passwordContent").height()*0.5+18)+"px"); } function login_isMobile(str){ return Fai.isMobile(str); } //微信登录获取二维码 function bindWeChatLogin(){ Portal.logDog(4000259, 102); //创建一个iframe,访问微信授权二维码 var bindUrl = "https://i.fkw.com/bindAccountNew.jsp?bizType=5"; if (_oVariable.autoLogin) { bindUrl += "&autoLogin=true"; } bindUrl += "&modeType=pc"; if (checkLoginAfterBindQW) { bindUrl += "&toBindQWPage=true" } var urlForSetCookie = "https://open.weixin.qq.com/connect/qrconnect?appid=wx4d4e63dc215c39a6&scope=snsapi_login&redirect_uri=" + Fai.encodeUrl(bindUrl) + "&state=827&href=https://ps.faisys.com/css/wxLogin.min.css?v=201906281024"; var $iframe = $('<iframe>'); $iframe.attr("src", urlForSetCookie); //视觉不可见 $iframe.css({ height:'220px', border:'none', width:'250px', position:'relative', }); $('.weChatContent').css("margin-left",'47.5%').css('margin-top','50%') $('.wxLoginIframe').empty(); $('.wxLoginIframe').append($iframe); $('.wxLoginIframe').show(); //两分钟后提示重新获取二维码 $('.wxQrCode-shade-container').hide(); var time = 120000; window.clearTimeout(refreshWxQrCode); var refreshWxQrCode = window.setTimeout(function () { Portal.logDog(4000259, 103); $('.wxQrCode-shade-container').show(); }, time); } function checkCacctNewJs (login_cacct) { var acctType_s = 0; var pattern = /^1[3456789]\d{9}$/ if(pattern.test(login_cacct)){ //纯数字 acctType_s = 1; }else if(Fai.isEmail(login_cacct)){ acctType_s = 2; }else{ acctType_s = 3; } return acctType_s; }; //检查手机号是否是正确账号 function smsCodeBtnClick(){ PortalLogFdp.loginClick(5, "获取验证码"); var $btn = $('#login_sms_button'); var timeCtrl = $btn[0]._timeCtrl; if(!timeCtrl){ timeCtrl = { timer: null, second: 60, clickCnt: 0 }; $btn[0]._timeCtrl = timeCtrl; } if(timeCtrl.timer){ return false; } if($("#login_sms_button").attr("disabled") == "disabled"){ return false; } $.ajax({ type:"post", url:"/ajax/login_h.jsp?cmd=checkMobileVerify&mobile="+$.trim($("#login_mobile").val()), success: function(result){ var data = $.parseJSON( result ); if(typeof(data.verify) != "undefined"){ $btn.attr('disabled', 'disabled'); $btn.removeClass('mobileCodeBtn_ok'); showErr(""); $('.showErr').html('手机未验证,请<a href="javascript:void(0)" onclick="toRegPage()" style="color:#3497db">注册</a>'); }else{ hideErr(); smsCode.get(); } } }); } //登录方法 function login () { PortalLogFdp.loginClick(5, "登录"); oLoginModule.login(); } //正则检查账号登录时的账号 function checkLoginAcct(login_cacct){ var checkThrough = true; var reg = /[\u4e00-\u9fa5]/g; if (reg.test(login_cacct)){ checkThrough = false; return checkThrough; } else { reg = /^[a-zA-Z0-9]+$/g; if (!reg.test(login_cacct)){ checkThrough = false; return checkThrough; } else { reg = /^[0-9]/; if (reg.test(login_cacct)){ checkThrough = false; return checkThrough; } else { if(login_cacct.length < 4){ checkThrough = false; return checkThrough; } if(login_cacct.length > 30){ checkThrough = false; return checkThrough; } } } } return checkThrough; } //显示提示信息 function showErr(str){ $(".showErr").text(str).show();; } //影藏提示信息 function hideErr(str){ $(".showErr").text("").hide(); } $('#log-valid-img, #log-refresh-btn, #codeLogin-valid-img, #codeLogin-refresh-btn').click( changeValidImg ); function changeValidImg(){ showCode( true ); } function showCode( needCode ){ var loginMode = $(".checkLoginTab").attr("_loginmode"); var login_line = $('#log-valid-line'); var log_valid = $('#log-valid'); var login_valid_img = $('#log-valid-img'); if(loginMode == 'codeLogin'){ login_line = $('#codeLogin-valid-line'); log_valid = $('#codeLogin-valid'); login_valid_img = $('#codeLogin-valid-img'); } if( needCode ){ login_line.show(); log_valid.val('').focus(); login_valid_img.attr( 'src', 'validateCode.jsp?' + parseInt(Math.random() * 1000)+'&validateCodeRegType=3'); }else{ login_line.hide(); } } function bindEnterpriseWx () { if (submiting) { return; } submiting = true; $.ajax({ url: '/ajax/version2/staff_h.jsp?cmd=getWxWorkAssemblyInfo', error: function(e){ submiting = false; Fai.ing('服务繁忙,请稍候再试。', true); }, success: function(data){ submiting = false; var res = jQuery.parseJSON(data); if(res.success){ var appid = res.data.appId showEnterpriseWxQrcode(appid) }else{ Fai.ing(res.msg, true); } } }) } function showEnterpriseWxQrcode (appid) { window.location.href = "https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?appid=" + appid + "&usertype=member&redirect_uri=http%3A%2F%2Fi.fkw.com%2FbindQWAccountNew.jsp"; } function addNewAccount () { if (submiting) { return; } submiting = true; var qwInfoStr = $.cookie("qwInfoStr") || "" $.ajax({ url: '/ajax/qw_h.jsp?cmd=regAndBindQW', data: { qwInfoStr: qwInfoStr }, error: function(e){ submiting = false; Fai.ing('服务繁忙,请稍候再试。', true); }, success: function(data){ submiting = false; var res = jQuery.parseJSON(data); if(res.success){ window.location.href = '//i.fkw.com' }else{ Fai.ing(res.msg, true); } } }) } var checkLoginAfterBindQW = false function loginAfterBindQW () { $('.weChat').css("display", "block"); $(".enterpriseWxContent").css("display", "none"); $(".passwordContent").css("opacity","1"); checkLoginAfterBindQW = true } // 等保验证弹窗 start function selectDialogClose () { $('.select-dialog').css('display','none'); $('#login_button').removeClass( 'disabled' ).html('登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录'); } function selectDialogConfirm (type) { var oP = $('.verify-box .phone'); var oE = $('.verify-box .email'); $('.select-dialog').css('display','none'); if (type == 1) { // 手机号 oP.css('display','block') oP.find(".num").html(String(oLoginModule.loginPhone).slice(0,3)+'****'+String(oLoginModule.loginPhone).slice(7)) oE.css('display','none') oLoginModule.selectType = 1 } else { // 邮箱 oE.css('display','block') oE.find(".num").html(String(oLoginModule.loginEmail).slice(0,3)+'****'+String(oLoginModule.loginEmail).slice(7)); oP.css('display','none') oLoginModule.selectType = 2 } verifyDialogGetCode() $('.verify-dialog').css('display','block'); } function verifyDialogClose() { $('#login_button').removeClass( 'disabled' ).html('登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录'); $('.verify-dialog').css('display','none'); $('.verify-dialog .verify-input').val("") $('.verify-dialog .verify-error').hide() clearInterval(verifyDialogGetCodeCtrl.timer); verifyDialogGetCodeCtrl.isLock = false; verifyDialogGetCodeCtrl.$btnTxt.html('重新获取'); } function verifyDialogGetCode() { if(verifyDialogGetCodeCtrl.isLock){ return ; } verifyDialogGetCodeCtrl.lock(); var cacct = ""; if (oLoginModule.selectType == 1) { cacct = oLoginModule.loginPhone; } else { cacct = oLoginModule.loginEmail; } $.ajax({ type: 'post', url: '/ajax/login_h.jsp', data: 'cmd=protectLoginGetMobileValid&cacct=' + cacct, error: function(e){ Fai.ing('服务繁忙,请稍候再试。', true); }, success: function(e){ var e = jQuery.parseJSON(e); if(e.success){ verifyDialogGetCodeCtrl.count(); }else{ verifyDialogGetCodeCtrl.showErr(e.msg); verifyDialogGetCodeCtrl.unlock(); } } }); } var verifyDialogGetCodeCtrl = { time: 0, //发送倒计时 timer: null, //间隔计时器 sentCount: 0, //获取验证码的次数 isLock:false, $btn: null, $error: null, $btnTxt:null, init: function(){ this.$btn = $('.verify-dialog .send-btn'); this.$error = $('.verify-dialog .verify-error'); this.$btnTxt= $('.verify-dialog .send-btn'); }, lock: function(){ this.isLock = true; this.$btn.removeClass('active'); this.$error.hide(); }, unlock: function(){ this.isLock = false; this.$btn.addClass('active'); }, showErr: function(msg){ this.$error.html(msg).show(); }, count: function(){ this.time = 59; this.sentCount++; clearInterval(this.timer); verifyDialogGetCodeCtrl.lock(); if(this.sentCount <= 1){ this.$btnTxt.html('重新获取(<span class="v-count">' + (this.time + 1) + '</span>)'); }else{ this.$btnTxt.html('重新获取(<span class="v-count">' + (this.time + 1) + '</span>)'); } this.timer = setInterval(function(){ if(verifyDialogGetCodeCtrl.time > 0){ $('.v-count').html(verifyDialogGetCodeCtrl.time); verifyDialogGetCodeCtrl.time--; }else{ verifyDialogGetCodeCtrl.unlock(); verifyDialogGetCodeCtrl.$btnTxt.html('重新获取'); clearInterval(verifyDialogGetCodeCtrl.timer); } }, 1000); } }; verifyDialogGetCodeCtrl.init(); function verifyDialogConfirm() { var cacct = ""; if (oLoginModule.selectType == 1) { cacct = oLoginModule.loginPhone; } else { cacct = oLoginModule.loginEmail; } var pwd = $('#log-pwd').val(); var validateCode = $.trim($('.verify-input').val()); if (!validateCode) { $('.verify-dialog .verify-error').html("请输入收到的验证码").show() return } var encrypt = new JSEncrypt(); if(typeof(validateCode) != "undefined" && faiEncrypt_key){ encrypt.setPublicKey(faiEncrypt_key); validateCode = encrypt.encrypt(validateCode); } var strArr=requestParam.split('&'); requestParam=""; for(var i=0;i<strArr.length;i++){ if(strArr[i].indexOf('cmd')!=-1){ continue; } requestParam=requestParam+"&"+strArr[i]; } submiting = true; var datas = 'mobile=' + cacct + '&validateCode=' + validateCode + requestParam + '&cmd=protectLoginValids'; $.ajax({ type: 'post', url: '/ajax/login_h.jsp', data: datas, error: function(e){ Fai.ing('服务繁忙,请稍候再试。', true); submiting = false; }, success: function(result){ submiting = false; var data = $.parseJSON( result ); if( data ){ if( data.success ){ $('.verify-dialog .verify-error').hide(); setTimeout(function(){ // ## START success ## // 写cookie:登录后复制网站 var cloneAid = 0; var templateId = -1; var cookieDomain = 'fkw.com'; var fromUrl = ''; var jump = 0; var days = data.days; //是否是内部账号 var isInternalCorp = data.isInternalCorp; // 写cookie:进网站后跳转 var jumpSite = false; if( cloneAid != 0 ){ $.cookie( '_regCloneAid', cloneAid, {domain: cookieDomain} ); if( templateId != 0 ){ $.cookie( '_regTemplateId', templateId, {domain: cookieDomain} ); } jumpSite = true; } var jumpUrl = ""; if( jump != 0 ){ jumpUrl = '/jump.jsp?t=' + jump; }else if(data.callBack){ jumpUrl = data.callBackUrl; } else if (jumpSite) { jumpUrl = data.siteUrl; //用户注册7天后在所有登录入口每次登录均判断密码是否符合安全强度要求 //(密码由6-20个字符组成,须同时包含字母、数字和特殊符号其中两种组合),如果不符合 } else if(data.aid == 1 && (/^(fanke)/.test(pwd) || /^(faisco)/.test(pwd))){ jumpUrl = '//i.fkw.com/portal.jsp#appId=setPwd'; $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); }else if(days > 7){ var modes = 0; //数字 if ( /\d/.test(pwd) ) { modes++; } //字母 if ( (/[a-z]/.test(pwd)) || (/[A-Z]/.test(pwd)) ) { modes++; } //特殊符号 if ( /\W/.test(pwd) || /[_]/.test(pwd) ) { modes++; } if(modes < 2){ //内部账号 if(isInternalCorp == 'true'){ jumpUrl = '//i.fkw.com/portal.jsp#appId=setPwd'; $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); }else{ $.cookie( 'faiIng', '1', { expires: 1, path: '/' } ); } }else{ $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); } }else{ if (fromUrl) { jumpUrl = fromUrl; } else { jumpUrl = '//i.fkw.com/portal.jsp'; } $.cookie( 'faiIng', '0', { expires: 1, path: '/' } ); } $.cookie("orderTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie("couponTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie("serviceTipsCookie","true",{expires: 7 ,path:'/' }); $.cookie('_hasClosePlatinumAd_',"false",{expires: 1, path: '/',domain:'fkw.com'});//互动portal index上的小广告窗口 $.cookie('_hasClosePlatinum_',"false",{expires: 1, path: '/',domain:'fkw.com'});//互动portal myactive上的banner $.cookie("_hasCloseFlyerAd_","false",{expires: 1, path: '/',domain:'fkw.com'});//hdportal 引导开通传单 $.cookie("_hasCloseHdGG_","false",{expires: 1, path: '/',domain:'fkw.com'});//flyer 引导开通传单 $.cookie("faiscoAd",true,{expires: 1, path: '/',domain:'fkw.com'});//site左下角广告是否显示 $.cookie("_whereToPortal_","login",{expires: 1, path: '/',domain:'fkw.com'});//记录何处到商务平台 $.cookie('hasShowBeianWindow', null, {path:'/service'}); //清除siteRecord.jsp下面的备案提示弹窗cookie $.cookie('hasShowDomainBeianWindow', null); $.cookie('hasShowBeianSmsTips', null, {path:'/service'}); //往工单系统存储cookie用于处理跨域请求 top.location.href = jumpUrl; // ## END success ## },200); }else{ if( verifyDialogGetCodeCtrl.sentCount >= 2 ){ $('.verify-dialog .verify-error').hide(); }else{ verifyDialogGetCodeCtrl.showErr( data.msg ); } } }else{ verifyDialogGetCodeCtrl.showErr( '连接超时,请重试' ); } } }); } // 等保验证弹窗 end var JPlaceHolder = { //检测 _check : function(){ return 'placeholder' in document.createElement('input'); }, //初始化 init : function(){ if(!this._check()){ this.fix(); } }, //修复 fix : function(){ jQuery(':input[placeholder]').each(function(index, element) { var self = $(this), txt = self.attr('placeholder'); self.wrap($('<div></div>').css({position:'relative', zoom:'1', border:'none', background:'none', padding:'none', margin:'none'})); var pos = self.position(), h = self.outerHeight(true), paddingleft = self.css('padding-left'); var holder = $('<span></span>').text(txt).css({position:'absolute', left:'47px', top:pos.top, height:h, lienHeight:h, paddingLeft:paddingleft, color:'#aaa',lineHeight: '45px'}).appendTo(self.parent()); if(self.val()!=null && self.val()!="undefined" && self.val()!=""){ holder.hide(); } self.focusin(function(e) { self.parent().parent().addClass("inserted"); holder.hide(); }).focusout(function(e) { if(!self.val()){ holder.show(); self.parent().parent().removeClass("inserted"); }else{ self.parent().parent().addClass("inserted"); } }); holder.click(function(e) { self.parent().parent().addClass("inserted"); holder.hide(); self.focus(); }); }); } }; </script> </body> </html> </div> </div> <!--尾部开始--> <div class="footer"> <div class="main-footer little-footer" style="width: 100%;height: 50px"> <div class="img1 footerBeiAn" style="background: url(//fkh.508sys.com/image/popularizeWebsite/底部标识.png) no-repeat left top;display: inline-block;position: relative;top: -4px;right: -4px;width: 20px;height: 20px;cursor: pointer" onclick="window.open('http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44010502000715')"> </div> <div class="text" style="display: inline-block;position: relative;top: -8px;line-height: 30px;font-stretch: normal;font-family: '微软雅黑';font-size: 12px;color: #667790;letter-spacing: 0px;margin-left: 4px"> <span class="footerBeiAn" style="cursor:pointer;" onclick="window.open('http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44010502000715')"> 粤公网安备 44010502000715号 </span> <span>| Copyright &copy; 2010-2024 广州凡科互联网科技股份有限公司 </span> <span class="footerBeiAn" style="cursor:pointer;" onclick="window.open('//beian.miit.gov.cn')">粤ICP备10235580号</span>&nbsp;股票代码:832828 </div> </div> </div> <script type='text/javascript' src='https://i.fkw.com/_dog.jsp?h=0&r=558075422'></script> <!--尾部结束--> </body> <script type="text/javascript" src="//ps.faisys.com/js/logFdp.min.js?v=202411131740"></script> <script> var gradientSwiper; var oSwiper = (function () { var dataList = []; function getList () { $.ajax({ type: "post", url: '/ajax/login_h.jsp?cmd=getAdImgList', data: { bizType: "5" }, dataType: 'JSON', error: function () { Portal.logMonitor(7042); Fai.ing("系统繁忙,请稍候重试", false); getListCb(); console.warn("/ajax/login_h.jsp?cmd=getAdImgList&type=3 -------> error!!!\n自动获取默认数据") }, success: function(res) { if (res.success) { Portal.logMonitor(7041); var list = res.adImgList; list.sort(function(a,b){ // 根据sort进行排序 return a.sort - b.sort; }); getListCb(list); } else { Portal.logMonitor(7042); Fai.ing(res.msg, false); getListCb(); console.warn("/ajax/version2/login_h.jsp?cmd=getAdImgList&type=3 -------> success false!!!\n自动获取默认数据") } } }); } function getListCb (list) { if (!list || !list.length) { list = getDefaultList(); } dataList = list; $.each(list, function (index, item) { var oImg = new Image(); oImg.src = item.imgUrl; }); initStructure(dataList); initSwiper(); bindEvent(dataList); } // 怕接口翻车、上线补充常在轮播图即可 function getDefaultList () { return [ {"id":10,"title":"轮播图1","href":"https://sj.fkw.com/index.jsp","operator":"","status":1,"type":3,"createTime":1584445046000,"imgUrl":"//1.s131i.faiusr.com.faidev.cc/4/AIMBCAAQBBgAIO7swvMFKNjtx2QwpgM42AQ.png","otherInfo":"","onlineTime":1584445123000,"category":"sj","remark":"","sort":2,"taskOnlineTime":"","taskOfflineTime":"","dogIdList":[{"id":12}]}, {"id":11,"title":"轮播图2","href":"//i.fkw.com/marketing/popularizeWebsite.jsp","operator":"luoshuangke","status":1,"type":3,"createTime":1584445083000,"imgUrl":"//1.s131i.faiusr.com.faidev.cc/4/AIMBCAAQBBgAIIKGxvMFKOScjoEHMKYDONgE.png","otherInfo":"","onlineTime":1584445125000,"category":"web_pro","remark":"","sort":3,"taskOnlineTime":"","taskOfflineTime":"","dogIdList":[{"id":13}]}, {"id":12,"title":"轮播图3","href":"//i.fkw.com/marketing/wxPromotionPro.jsp","operator":"","status":1,"type":3,"createTime":1584445114000,"imgUrl":"//1.s131i.faiusr.com.faidev.cc/4/AIMBCAAQBBgAILLtwvMFKLrUw0swpgM42AQ.png","otherInfo":"","onlineTime":1584445127000,"category":"wx_pro","remark":"","sort":5,"taskOnlineTime":"","taskOfflineTime":"","dogIdList":[{"id":14}]} ]; } // 初始化结构 function initStructure (list) { var oSwiperCon = $("#gradientSwiper"); var oSwiperWp = oSwiperCon.find(".swiper-wrapper"); var frag = document.createDocumentFragment(); if (list.length == 1) { oSwiperCon.find(".swiper-pagination").hide(); } $.each(list, function (index, item) { var sSwiperItem = "<a class='swiper-slide leftImg' " + (item.href ? "href='" + item.href +"' target='_blank'" : "") + " style='background-image:url(" + item.imgUrl + ")'></a>"; oSwiperWp.append(sSwiperItem); }); frag.appendChild(oSwiperWp.get(0)); oSwiperCon.get(0).appendChild(frag); } function bindEvent (list) { var oSwiperCon = $("#gradientSwiper"); oSwiperCon.on("click", ".swiper-slide", function () { var index = $(this).index(); logFdp(dataList[index].fdpProperties, { fkw_ad_click: 1 }); var dogIdList = list[index].dogIdList; if (dogIdList && dogIdList.length) { for (var i = 0; i < dogIdList.length; i++) { if (dogIdList[i].clickSrc && dogIdList[i].clickSrc != -1) { Portal.logDog(dogIdList[i].dogId, dogIdList[i].clickSrc); } } } }); } function handleExpLog (index) { if (handleExpLog["exp" + index]) return; handleExpLog["exp" + index] = true; logFdp(dataList[index].fdpProperties, { fkw_ad_click: 0 }); var dogIdList = dataList[index].dogIdList; if (dogIdList && dogIdList.length) { for (var i = 0; i < dogIdList.length; i++) { if (dogIdList[i].expSrc && dogIdList[i].expSrc != -1) { Portal.logDog(dogIdList[i].dogId, dogIdList[i].expSrc); } } } } function logFdp (fdpProperties, params) { if (!fdpProperties) return; Portal.logFdp("fkw_ad_expo", $.extend(fdpProperties, params)); } function initSwiper () { if (typeof Swiper == "undefined") return; gradientSwiper = new Swiper('#gradientSwiper',{ on:{ init: function(){ Portal.logDog(4000173, 101); handleExpLog(0); swiperAnimate(this); //初始化完成开始动画 }, slideChangeTransitionStart: function(){ var that = this; var b = that.slides[1].querySelectorAll(".ani"); if (!b.length) return; b[0].style.position = 'absolute'; b[0].style.marginLeft = '50px'; b[0].style.transition = 'margin 0.5s'; b[0].style.WebkitTransition = 'margin 0.5s'; setTimeout( function(){ b[0].style.position = ''; b[0].style.marginLeft = '0px'; b[0].style.transition = ''; b[0].style.WebkitTransition = ''; swiperAnimate(that); //每个slide切换结束时运行当前slide动画 }, 300 ); }, slideChange: function(){ var activeIndex = this.activeIndex; handleExpLog(activeIndex); } }, effect : 'fade', autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, speed: 1000, pagination: { el: '#gradientPagination', clickable: true, renderBullet: function (index, className) { return '<span class="' + className + '"></span>'; }, }, }); } (function init () { getList(); })(); })(); var Biz = { NONE: 'none', //未知 SITE: 'site', //建站 MALL: 'mall', //商城 HD: 'hd', //互动 FLYER: 'flyer', //微传单 WXAST: 'wxast', //公众号助手 PROGRAM: 'program', //小程序 KTU: 'ktu', //快图 YX: 'yx', //易销 }; var biz = Biz.NONE; $(function(){ if(false){ biz = Biz.SITE; }else if(false){ biz = Biz.MALL; }else if(false){ biz = Biz.HD; }else if(false){ biz = Biz.FLYER; }else if(false){ biz = Biz.WXAST; }else if(false){ biz = Biz.PROGRAM; }else if(false){ biz = Biz.KTU; }else if(false){ biz = Biz.YX; } if(true){ Portal.logDog(4000173,23); } $(".m-main").css("opacity","1"); setTaToUrl() }); $("body").keydown(function(event){ if(event.keyCode == 13 || event.which == 13){ if($(".protectDiv").css("display")=='none'){//登录保护框不显示触发登录时间 login(); event.preventDefault(); } } }); function closeImgValida(){ $(".my_validateCode").hide(); $(".popupBg").remove(); } //遮盖全屏 function addPopupBg(){ $(".popupBg").remove(); $('<div class="popupBg"></div>').appendTo($('body')); } function closePopupBg(){ $(".popupBg").remove(); } //关闭验证码 function closeValidate(){ // $(".validatecodeDiv").hide(); // myValidateCodeVue[0].$children[0].$data.isShowValidateCode = false; } //打开验证码 function openValidate(){ // $(".validatecodeDiv").show(); // myValidateCodeVue[0].$children[0].$data.isShowValidateCode = true; } // 换浏览器保留_ta function setTaToUrl () { var cookie_ta = $.cookie("_ta") var params_ta = Fai.getUrlParam(window.location.href, "_ta") if (!params_ta && cookie_ta) { var url = Fai.setUrlParams(window.location.href, { _ta: cookie_ta}) if (url.indexOf('?') > -1) { var search = url.split('?')[1] window.history.replaceState(null, null, '?' + search) } } } </script> </html>

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