CINXE.COM

用户登录_共产党员网

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="keywords" content="共产党员网,12371,党员教育,共产党员,党员,干部,群众,用户中心,注册,登录" /> <meta name="description" content="共产党员网由中组部党员教育中心联合央视网共同主办,是面向广大党员、干部、群众的网络学习平台,域名为www.12371.cn。" /> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <title>用户登录_共产党员网</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <link href="//www.12371.cn/yonghustyle/responsestyle/css/style.css" rel="stylesheet" type="text/css"/> <link href="//www.12371.cn/yonghustyle/style/UserPass/style/base.css" rel="stylesheet" type="text/css" /> <link href="//www.12371.cn/yonghustyle/style/UserPass/style/new_style.css" rel="stylesheet" type="text/css" /> <script src="//www.12371.cn/yonghustyle/web/js/jquery/1.9.0/jquery.js" type="text/javascript"></script> <script type="text/javascript" src="//www.12371.cn/yonghustyle/responsestyle/js/jquery.placeholder.min.js"></script> <script language="JavaScript" type="text/javascript" src="//www.12371.cn/yonghustyle/web/js/setBase.js"></script> <script type="text/javascript"> </script> <script type="text/javascript"> var deviceWidth = document.documentElement.clientWidth; if(deviceWidth>750){ document.documentElement.style.fontSize=750/7.50+"px"; }else{ document.documentElement.style.fontSize=deviceWidth/7.50+"px"; } </script> <style type="text/css"> @media only screen and (min-width: 240px) and (max-width: 768px){ #loginCode2{ background-size:100% 100% !important; } } </style> </head> <body> <script type="text/javascript"> var message = 'null'; var autoLoginId = ''; function isBlank(content){ return content==null||content==""; } //手机验证码、验证码、手机号正则表达式 var myreg = /^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(17[0-9]{1})|(18[0-9]{1})|(19[0-9]{1})|(12[0-9]{1}))\d{8})$/; var yzmRegex = /^[a-zA-Z0-9]{4}$/; var sjyzmRegex = /^\d{6}$/; function encode64(input) { var output = ""; var chr1, chr2, chr3 = ""; var enc1, enc2, enc3, enc4 = ""; var i = 0; do { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.charAt(enc1) + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.charAt(enc2) + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.charAt(enc3) + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.charAt(enc4); chr1 = chr2 = chr3 = ""; enc1 = enc2 = enc3 = enc4 = ""; } while (i < input.length); return output; } //PC版本手机号 密码 验证码登录 let oldVerificationCode6 = ''; function transform(){ var username = document.myform.username.value; var password = document.myform.password.value; var randomCode = document.myform.loginCode.value; if(isBlank(username)){ alert("请输入手机号!"); return false; } if(!myreg.test(username)) { alert("当前系统只支持手机号和密码登录,请确认手机号是否填写无误!"); return false; } if(isBlank(password)){ alert("请输入密码!"); return false; } if(isBlank(randomCode)){ alert("请输入验证码!"); return false; } if(!yzmRegex.test(randomCode)) { alert("请输入有效的验证码!"); return false; } const isVerificationCodeEqual = oldVerificationCode6 === randomCode if (isVerificationCodeEqual) return false; oldVerificationCode6 = randomCode; var formParam = $('#dyw989_passw').serializeArray(); formParam.push({"name":"ajax","value":"true"}); for (var i = 0; i < formParam.length; i++) { var cur_Data = formParam[i]; if (cur_Data.name == "password") { formParam[i].value = encode64(password); } if(cur_Data.name == "username") { formParam[i].value = encodeURI(username);; } } $.ajax({ type: "POST",//方法类型 dataType: "json",//预期服务器返回的数据类型 url: "/security/login" , data: formParam, async:false, success: function (data){ if(data.errCode ==0){ window.location.href="https://jingda.12371.cn/zice//zhuanti/index/myzice?ticket="+data.ticket; }else if(data.errCode =='302'){ window.location.href= data.serviceUrl; }else{ alert(data.errMsg); } changeCode('page_user_img'); }, error : function() { alert("登录异常!"); window.location.href="/login/login.jsp" } }); } //移动版本手机号 密码 验证码登录 let oldVerificationCode5 = ''; function transform2(){ $("#yd_fourse").css("display", 'block'); var username2 = document.myform2.username2.value; if(isBlank(username2) || username2 == "手机号"){ $("#yd_fourse").html("请输入用户名!"); return false; } if(!myreg.test(username2)) { $("#yd_fourse").html("当前系统只支持手机号和密码登录,请确认手机号是否填写无误!"); return false; } var password2 = document.myform2.password2.value; if(isBlank(password2) || password2 == "密码"){ $("#yd_fourse").html("请输入密码!"); return false; } var randomCode = document.myform2.loginCode2.value; if(isBlank(randomCode) || randomCode == "验证码"){ $("#yd_fourse").html("请输入验证码!"); return false; } if(!yzmRegex.test(randomCode)) { $("#yd_fourse").html("请输入有效的验证码!"); return false; } const isVerificationCodeEqual = oldVerificationCode5 === randomCode if (isVerificationCodeEqual) return false; oldVerificationCode5 = randomCode; var formParam = $('#yd_userLogin').serializeArray(); formParam.push({"name": "ajax", "value": "true"}); for (var i = 0; i < formParam.length; i++) { var cur_Data = formParam[i]; if (cur_Data.name == "password2") { formParam[i].value = encode64(password2); } if (cur_Data.name == "username2") { formParam[i].value = encodeURI(username2); } } $.ajax({ type: "POST", // 方法类型 dataType: "json", // 预期服务器返回的数据类型 url: "/security/login", data: formParam, async: false, success: function (data) { if (data.errCode == 0) { window.location.href="https://jingda.12371.cn/zice//zhuanti/index/myzice?ticket="+data.ticket; } else if (data.errCode == '302') { window.location.href = data.serviceUrl; } else { $("#yd_fourse").html(data.errMsg); } changeCode('yd_user_img'); }, error: function() { $("#yd_fourse").html("登录异常!"); window.location.href = "/login/login.jsp"; } }); } function changeCode(id){ if(id == 'page_phone_img'){ //oldVerificationCode = ''; } if(id == 'yd_phone_img'){ //oldVerificationCode2 = ''; } if(id == 'page_user_img'){ //oldVerificationCode6 = ''; } if(id == 'yd_user_img'){ //oldVerificationCode5 = ''; } if(window.navigator.webdriver){ $("#"+id).attr("src", "/loginAECode?wdr="+Math.random()); } else { $("#"+id).attr("src", "/loginAECode?r="+Math.random()); } } var num = 0; let oldVerificationCode = ''; function getMobileCode(phoneLogin,imgCode,code){ var type = "mobileLogin"; var mobile = $("#"+phoneLogin).val(); var loginCode = $("#"+imgCode).val(); loginCode = loginCode.toLowerCase(); //读秒操作 var validCode=true; var code = $("#"+code); code.attr('disabled','true'); if(mobile ==null || mobile ==""){ alert('请输入手机号'); code.removeAttr("disabled"); validCode=false; return false; }else if(loginCode ==null || loginCode ==""){ alert('请输入验证码'); code.removeAttr("disabled"); validCode=false; return false; }else if(loginCode.length != 4){ alert('验证码错误'); code.removeAttr("disabled"); validCode=false; changeCode('page_phone_img'); return false; } if(!myreg.test(mobile)) { alert("请输入有效的手机号"); code.removeAttr("disabled"); validCode=false; return false; } if(!yzmRegex.test(loginCode)) { alert('请输入有效的验证码'); code.removeAttr("disabled"); validCode=false; changeCode('page_phone_img'); return false; } const isVerificationCodeEqual = oldVerificationCode === loginCode if (isVerificationCodeEqual) { code.removeAttr("disabled"); validCode=false; return false; } oldVerificationCode = loginCode; var time=60; if(validCode){ validCode=false; var t=setInterval(function (){ time--; code.val("剩余"+ time+"秒"); code.attr('disabled','true'); if (time==0) { clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); validCode=true; } },1000); // var url = '/security/getMobileCode'; var mcTime = +new Date(); num++; // var url = '/security/getABMobileCode'; var url = '/security/getAEMobileCode'; $.getJSON(url + "?type="+type+"&mobile="+mobile+"&loginNewCode="+loginCode+"&mcTime="+mcTime+"&num="+num, function(data) { if (data.rspcod == "success") { }else if(data.rspcod == "nologinCode"){ alert("验证码错误"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); validCode=false; changeCode('page_phone_img'); }else if(data.rspcod == "tooFast"){ alert("请耐心等待,不要在一分钟内频繁发送短信"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); validCode=false; changeCode('page_phone_img'); }else if(data.rspcod == "tooMore") { alert("当天发送短信已达上限"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); validCode=false; changeCode('page_phone_img'); }else { alert("短信发送失败"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); validCode=false; changeCode('page_phone_img'); } }); } } //pc短信登录 let oldVerificationCode3 = ''; function pcPhoneSubmit(){ var phone = document.getElementById("phoneLogin").value; var pcMobileCode = document.getElementById("pcMobileCode").value; var pcLoginCode = document.getElementById("img_code").value; if(phone==null || phone==""){ alert("请输入手机号!"); return false; } if(phone.length!=11 || !myreg.test(phone)){ alert('请输入有效的手机号码!'); return false; } if(pcLoginCode==null || pcLoginCode==""){ alert('请输入验证码'); return false; } if(!yzmRegex.test(pcLoginCode)) { alert("请输入有效的验证码!"); return false; } if(pcMobileCode==null || pcMobileCode=="" ){ alert('请输入短信验证码'); return false; } if(!sjyzmRegex.test(pcMobileCode)) { alert("请输入有效的短信验证码!"); return false; } const isVerificationCodeEqual = oldVerificationCode3 === pcMobileCode if (isVerificationCodeEqual) return false; oldVerificationCode3 = pcMobileCode; var formParam = $('#myform').serializeArray(); formParam.push({"name":"ajax","value":"true"}); //formParam.push({"name":"nologincode","value":"true"}); $.ajax({ type: "POST",//方法类型 dataType: "json",//预期服务器返回的数据类型 url: "/security/login" , data: formParam, async:false, success: function (data){ if(data.errCode ==0){ window.location.href="https://jingda.12371.cn/zice//zhuanti/index/myzice?ticket="+data.ticket; }else if(data.errCode =='302'){ window.location.href= data.serviceUrl; }else{ alert(data.errMsg); } }, error : function() { alert("登录异常!"); window.location.href="/login/login.jsp" } }); } var num2 = 0; let oldVerificationCode2 = ''; function getMobileCode2(phoneLogin,imgCode,code){ // var url = '/security/getMobileCode'; //var url = '/security/getABMobileCode'; var url = '/security/getAEMobileCode'; var mobile = $("#"+phoneLogin).val(); var loginCode = $("#"+imgCode).val(); loginCode = loginCode.toLowerCase(); var type = "mobileLogin"; //读秒操作 var validCode=true; var code = $("#"+code); var fourse= $("#yd_phone_fourse"); fourse.css("display",'block'); code.attr('disabled','true'); if(mobile ==null || mobile ==""){ fourse.html("请输入手机号"); code.removeAttr("disabled"); validCode=false; return false; }else if(loginCode == null || loginCode ==""){ fourse.html("请输入验证码"); code.removeAttr("disabled"); validCode=false; return false; }else if(loginCode.length != 4){ fourse.html("验证码错误"); code.removeAttr("disabled"); validCode=false; changeCode('yd_phone_img'); return false; }else if(!myreg.test(mobile)) { fourse.html("请输入有效的手机号"); code.removeAttr("disabled"); validCode=false; return false; }else if(!yzmRegex.test(loginCode)) { fourse.html("请输入有效的验证码"); code.removeAttr("disabled"); validCode=false; changeCode('yd_phone_img'); return false; } const isVerificationCodeEqual = oldVerificationCode2 === loginCode if (isVerificationCodeEqual) { code.removeAttr("disabled"); validCode=false; return false; } oldVerificationCode2 = loginCode; var time=60; if(validCode){ validCode=false; var t=setInterval(function () { time--; code.val("剩余"+ time+"秒"); code.attr('disabled','true'); if (time==0) { clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); validCode=true; } },1000); var mcTime2 = +new Date(); num2++; $.getJSON(url + "?type="+type+"&mobile="+mobile+"&loginNewCode="+loginCode+"&mcTime="+mcTime2+"&num="+num2, function(data) { if (data.rspcod == "success") { fourse.css("display",'none'); }else if(data.rspcod == "nologinCode"){ fourse.html("验证码错误"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); changeCode('yd_phone_img') }else if(data.rspcod == "tooFast"){ fourse.html("请耐心等待,不要在一分钟内频繁发送短信"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); changeCode('yd_phone_img') }else if(data.rspcod == "tooMore") { fourse.html("当天发送短信已达上限"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); changeCode('yd_phone_img') }else { fourse.html("短信发送失败"); clearInterval(t); code.val("获取验证码"); code.removeAttr("disabled"); changeCode('yd_phone_img') } }); } } //yd短信登录 let oldVerificationCode4 = ''; function ydPhoneSubmit(){ var phone = document.getElementById("yd_phoneLogin").value; var mobileCode = document.getElementById("yd_mobilecode").value; var loginCode = document.getElementById("yd_img_code").value; var fourse= $("#yd_phone_fourse"); fourse.css("display",'block'); if(phone==null || phone=="" ){ fourse.html('请输入手机号'); return false; } if(phone.length!=11 || !myreg.test(phone) ){ fourse.html('请输入有效的手机号!'); return false; } if(loginCode==null || loginCode=="" ){ fourse.html('请输入验证码'); return false; } if(!yzmRegex.test(loginCode) ){ fourse.html('请输入有效的验证码!'); return false; } if(mobileCode==null || mobileCode=="" ){ fourse.html('请输入短信验证码'); return false; } if(!sjyzmRegex.test(mobileCode) ){ fourse.html('请输入有效的短信验证码!'); return false; } const isVerificationCodeEqual = oldVerificationCode4 === mobileCode if (isVerificationCodeEqual) return false; oldVerificationCode4 = mobileCode; var formParam = $('#ydmyform').serializeArray(); formParam.push({"name":"ajax","value":"true"}); //formParam.push({"name":"nologincode","value":"true"}); $.ajax({ type: "POST",//方法类型 dataType: "json",//预期服务器返回的数据类型 url: "/security/login" , data: formParam, async:false, success: function (data){ if(data.errCode ==0){ window.location.href="https://jingda.12371.cn/zice//zhuanti/index/myzice?ticket="+data.ticket; }else if(data.errCode =='302'){ window.location.href= data.serviceUrl; }else{ fourse.html(data.errMsg); } }, error : function() { fourse.html("登录异常!"); window.location.href="/login/login.jsp" } }); } </script> <!-- 1229 --> <style> .dyw581_user { background: url(//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_01.jpg) top center no-repeat; height: 300px; } #myform input:focus{outline-style:auto;outline-color: #9fcde8;outline-width: thin;} #myform input.dyw989_pla::placeholder{ color:#333} @media only screen and (max-width: 768px) and (min-width: 240px){ #yd_login .login input{outline-color: #9fcde8;} #yd_login .con_box2 input{outline-color: #9fcde8;} #yd_login .login input.dyw989_pla::placeholder{ color:#333 } #yd_login .con_box2 input.dyw989_pla::placeholder{ color:#333 } #yd_login .login .code{ margin-bottom: 0.53rem; } #yd_login .login #login { margin-bottom: .7rem; } #yd_login .login #forget{ float:right; margin-right: 0.29rem; } #yd_login .login .top a{ margin: .3rem; } #zc { float: left; margin-left: 0.2rem; width: auto !important; } } </style> <!-- end --> <div id="yd_login"> <form method="post" style="display: none;" class="dyw989_yd_mima" id="yd_userLogin" action="##" onsubmit="return false;" name="myform2"> <div class="banner"></div> <div class="login"> <div class="top"> <a id="dxdl" href="javascript:;" class="">短信登录</a> <a id="mmdl" href="javascript:;" class="active">密码登录</a> </div> <div class="center" style="display: block;"> <input type="text" placeholder="手机号" class="username" id="username2" name="username2" maxlength="11" style="color:#000;"/> <input type="password" placeholder="密码" class="password" id="password2" name="password2" maxlength="20" style="color:#000;" autocomplete/> <input type="hidden" value="https://jingda.12371.cn/zice//zhuanti/index/myzice" name="service2" id="service2" /> <input type="hidden" value="" name="username2_" id="username2_" /> <input type="hidden" value="" name="h5pho" id="h5pho" /> <div class="code"> <input type="text" placeholder="验证码" name="loginCode2" maxlength="4" id="loginCode2" style="color:#000;"/> <span><a href="javascript:changeCode('yd_user_img')"><img src="../loginAECode" id="yd_user_img"/></a></span> </div> <input type="button" onclick="transform2()" value="登录" id="login" /> <a href="/regist/regist.jsp" style="color: #4e8abe;" id="zc">注册账号</a> <a href="/resetpasswd/resetPasswd.jsp" id="forget">忘记密码?</a> <p id="yd_fourse"></p> </div> </div> </form> <style> @media only screen and (max-width: 768px) and (min-width: 240px){ #yd_login .login #forget{ width:auto !important } #yd_login .login #forget{ margin-left: 0; } .dyw989_ydphone img{ width: 3.12rem; height: 0.24rem; margin: 0.54rem 0 0.5rem; } .dyw989_ydphone a{ font: 0.28rem '微软雅黑'; color: #2b70e1; } .dyw989_ydpassw { display: none; } .dyw989_ydpassw img{ width: 3.12rem; height: 0.24rem; margin: 0.84rem 0 0.48rem; } .dyw989_ydpassw a{ /* display: block; */ font: 0.28rem '微软雅黑'; color: #2b70e1; } #yd_login .login input{ background-size: 100% 100%; } /* */ #yd_login .login #login{ text-indent: 0; } #yd_login .login .password{ margin-bottom: 0.6rem; } #yd_login .login .code input{ line-height: 0.71rem; height: 0.71rem; background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_yzm.jpg) no-repeat; background-size: 100% 100%; } #ydmyform input.mySelect01 { border: none; width:6.64rem; height: 0.71rem; line-height: 0.71rem; background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_infor_input.jpg) no-repeat; background-size: 100% 100%; padding:0 0.18rem; font-size: 0.28rem; font-family: "Ping Hei"; } #ydmyform .login_code{ margin: 0.6rem 0; } #ydmyform .login_code .dyw581_user_sx{ display: none; } #ydmyform .con_box2 .login_code input.code_input { background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_yzm.jpg) no-repeat; background-size: 100% 100%; width: 4.34rem; height: 0.7rem; line-height: 0.7rem; font-family: "Ping Hei"; color: #838383; font-size: 0.28rem; margin-right: 0.06rem; padding:0 0.18rem; border:none; } #ydmyform .code_img{ height: 0.7rem; width: 1.56rem; vertical-align: top; } #ydmyform input.mySelect02{ background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_yzm.jpg) no-repeat; background-size: 100% 100%; width: 4.34rem; height: 0.7rem; line-height: 0.7rem; font-family: "Ping Hei"; color: #838383; font-size: 0.28rem; margin-right: 0.06rem; padding:0 0.18rem; border:none; } #ydmyform .sub_btn { background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_login.jpg) no-repeat; background-size: 100% 100%; text-align: center; /* font-family: "Ping Hei"; */ font: .32rem/.67rem "Ping Hei"; color: #FFFFFF; width: 7rem; height: 0.66rem; line-height: 0.66rem; padding: 0; margin: 0.5rem 0 0 0.2rem; display: inline-block; border-radius: 0.03rem; } #ydmyform .dyw989_tck p { text-align: center; font: 0.24rem '微软雅黑'; line-height: 0.48rem; } #ydmyform .dyw989_tck { margin-top: 0.42rem; } } </style> <!-- 1229新增移动手机短信登录 --> <form action="#" method="post" id="ydmyform" onsubmit="return false;"> <div class="banner"></div> <div class="login"> <div class="top"> <a id="dxdl" href="javascript:;" class="active">短信登录</a> <a id="mmdl" href="javascript:;" class="">密码登录</a> </div> </div> <div class="con_box2"> <style> @media only screen and (max-width: 768px) and (min-width: 240px){ } </style> <p style="margin-left:0.2rem"> <span class="p_input"> <input type="text" name="phoneLogin" id="yd_phoneLogin" placeholder="请输入手机号" class="mySelect01" maxlength="11"> </span> </p> <li style="margin-left:0.2rem" class="login_code"> <input type="text" placeholder="请输入验证码" name="loginCode" id="yd_img_code" class="code_input" tabindex="3" maxlength="4"> <span><a href="javascript:changeCode('yd_phone_img')"><img src="../loginAECode" class="code_img" id="yd_phone_img" ></a></span> </li> <p style="margin-left:0.2rem"> <span class="p_input"> <input type="text" name="mobilecode" id="yd_mobilecode" placeholder="请输入短信验证码" class="mySelect02" maxlength="6"> </span> <input style="vertical-align: bottom;width:2.11rem;height:0.67rem;border:0px;border-radius:0.04rem;background: #2b70e1;font: 0.28rem '微软雅黑';color: #fff;text-align: center;line-height: 0.71rem;" type="button" name="code" id="yd_code" value="获取验证码" maxlength="6" onclick="getMobileCode2('yd_phoneLogin','yd_img_code','yd_code')"> <label class="show_info" ></label><br> </p> </div> <input style="margin-left:0.2rem" type="button" value="登录" class="sub_btn btnPos" onclick="ydPhoneSubmit()"> <p id="yd_phone_fourse" style="text-align: center;color:darkred;margin: 0.5rem 0;"></p> <div class="dyw989_tck"> <p>未注册手机验证后自动登录</p> <p>注册即代表同意<a href="#">《共产党员网用户须知》</a></p> </div> </form> <!-- 手机登录 --> <!--<div class="dyw989_ydphone" style="text-align: center;"> <img src="//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_yd04.jpg" alt=""> <a href="#" style="display:block">账号密码登录</a> </div>--> <!-- 密码登录 --> <!--<div class="dyw989_ydpassw" style="text-align: center;"> <img src="//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_yd04.jpg" alt=""> <a href="#" style="display:block">手机短信登录</a> </div>--> <!-- 1229 --> <script> $(' #yd_login .login input').on('focus',function(){ $('#yd_login .login input').removeClass('dyw989_pla') $(this).addClass('dyw989_pla') }) $(' #yd_login .con_box2 input').on('focus',function(){ $('#yd_login .con_box2 input').removeClass('dyw989_pla') $(this).addClass('dyw989_pla') }) $('.top').on('click','#mmdl', function(e){ e.preventDefault() $('#ydmyform').hide() $('.dyw989_ydphone').hide() $('.dyw989_ydpassw').show() $('.dyw989_yd_mima').show() }) $('.top').on('click','#dxdl', function(e){ e.preventDefault() $('#ydmyform').show() $('.dyw989_ydphone').show() $('.dyw989_ydpassw').hide() $('.dyw989_yd_mima').hide() }) </script> </div> <div id="page_owner"> <div class="dyw581_user"></div> <style> #page_login{width: 470px;font-family: "Microsoft YaHei";background: none;margin: 70px auto 0;padding: 10px 0;} #page_login ul{padding: 0;} #page_login ul li{width: 460px;height: 44px;line-height: 44px;top: 0px;_top:-15px;*top:-15px;} #page_login ul li.login_user{background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_user.jpg) no-repeat;} #page_login ul li.login_user_cur{background:url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_hover.png) no-repeat;width: 472px;height: 56px;position: relative;left:-3px;top: -6px;} #page_login ul li.login_user_cur input{top: 9px;position: relative;left: 3px;} #page_login ul li input.login_input{width: 420px;height: 40px;line-height: 40px;margin: 0 5px;font-family: "Microsoft YaHei";color: #838383;font-size: 16px;} #page_login ul li.login_pass{background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_mima.jpg) no-repeat;} #page_login ul li.login_pass_cur{background:url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_userhover.png) no-repeat;width: 472px;height: 56px;position: relative;left:-3px;top: -3px;} #page_login ul li.login_pass_cur input{top: 4px;position: relative;left: 3px;} .sub_btn{background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_login.jpg) no-repeat;text-align: center;font-family: "Microsoft YaHei";font-size: 16px;color: #FFFFFF;line-height: 44px;width: 460px;height: 44px;padding: 0; margin: 0 auto;display:inline-block;} #page_login ul li a{margin-right: 30px;margin-left: 0; font-family: "SimSun";font-size: 14px;color: #236eb0;top: 0px;_top:-15px;*top:-15px;} #page_login .login_input_e{margin-left:0;text-align: left;*margin-top: 10px;font-family: "Microsoft YaHei";color: #666666;font-size: 14px;} /*#div_mm{display:inline-block;border: 1px solid #d3d3d3;width: 14px;height: 14px;vertical-align: middle; margin-right: 10px;} #div_mm input{opacity: 0; filter:alpha(opacity=0);}*/ #page_login .login_input_e input{width: 14px;height: 14px;vertical-align: middle;} #page_login ul li{margin-bottom: 13px;} #page_login ul li input.code_input{background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_yzm.jpg) no-repeat;margin-right:4px;width: 208px;height: 44px;line-height: 44px;font-family: "Microsoft YaHei";color: #838383;font-size: 16px;margin-left: 0;padding: 0 5px;} #page_login ul li.login_code{background: none;} /*#page_login ul li.login_code{background:url(css/img/dyw581_user_hover.png) no-repeat;width: 472px;height: 56px;position: relative;left:-3px;top: -6px;} #page_login ul li.login_code input{top: 8px;position: relative;left: 3px;}*/ .dyw581_user_sx{background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_sx.png) right no-repeat;margin-left: 125px !important;padding-right: 20px;} *#page_login ul li input.login_input, *#page_login ul li input.pass_input, *#page_login ul li input.code_input{margin-top: 1px;} #page_login ul li input.pass_input{width: 420px;margin-left: 5px;height: 40px;line-height: 40px; font-family: "Microsoft YaHei";font-size: 16px;color: #838383;} </style> <style> /* 1229 */ #page_login { width: 460px; font-family: "Microsoft YaHei"; background: none; margin: 68px auto 0; padding: 0px 0; height: auto; } #page_login ul li { margin-bottom: 24px; line-height: normal; } #page_login ul li.login_e{ height: 16px; margin-bottom: 34px; margin-top: 8px; } #page_login ul li.login_e span{ height: 16px; line-height: 16px; } #page_login ul li.dyw989_li a{ display: inline-block; margin-top: 6px; } .dyw989_phone{ text-align: center; } .dyw989_phone img{ margin-top: 78px; } a:hover{ text-decoration: none; } .dyw989_phone a{ display: block; width: 98px; margin: 26px 0 0 178px; color: #2b70e1; text-align: right; font: 16px '微软雅黑'; background: url(//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_08.jpg) no-repeat left center; line-height: 24px; } /* dyw989_bottom */ .dyw989_bottom{ width: 352px; margin: 84px auto 0; text-align: center; padding-bottom: 100px; } .dyw989_bottom li{ float: left; margin: 0 26px 0 14px; } .dyw989_bottom li.mar_0{ margin-right:0 ; } .dyw989_bottom .one{ font: 12px '微软雅黑'; } .dyw989_bottom .one a{ color:#666666 } .dyw989_bottom .two{ font: 12px '微软雅黑'; color:#a6a6a6; width: 255px; margin: 27px auto 0; } .dyw989_bottom .two li{ margin:0 5px ; } .dyw989_bottom .two li a{ color:#a6a6a6 } /* 弹出层 */ .tcz{width: 100%;height:1060px;background: black;position:absolute;opacity: 0.5;filter:alpha(opacity=50);top: 0px;left: 0px;display: none; } .dyw581_zhuce_tcc{width:996px;height: 534px;position: absolute;top: 50%;left: 50%;margin-left: -490px;margin-top: -258px;background: #eeeeee;z-index: 2; display: none;} .dyw581_zhuce_tcc .top{position: relative;height: 67px;line-height: 67px;text-indent: 50px;font-family: "Microsoft YaHei";font-size: 18px;color: #333333;} .dyw581_zhuce_tcc .top a{background:url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_close.png) no-repeat ;height: 30px;width: 30px; position: absolute;right:6px;top: 9px;} .dyw581_zhuce_tcc ul{margin-top:98px;margin-left: 80px;} .dyw581_zhuce_tcc li{height: 44px;line-height:44px;margin-bottom: 58px;color: #333333;font-size: 16px;font-family: "Microsoft YaHei";vertical-align: middle;} .dyw581_zhuce_tcc li .yl{display: inline-block;margin-right: 35px;} .dyw581_zhuce_tcc li .yr{display: inline-block;} .dyw581_zhuce_tcc li input{width: 450px;height: 44px;background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_yx_srk.png) no-repeat;border: none;padding: 0 5px;font-size: 16px;vertical-align: middle; line-height: 44px;} .dyw581_zhuce_tcc .bottom{font-size: 16px;text-align: center;font-family: "Microsoft YaHei";color: #FFFFFF;background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_yx_tjbg.png) no-repeat;width: 214px;height: 44px;line-height: 44px;margin: 30px auto;} .dyw581_zhuce_tcc .bottom a{color: #FFFFFF;display: block;} .dyw581_zhuce_tcc .dyw581_zhuce_cont{width: 886px;height: 358px;margin:0px 0 0 55px;border: 1px solid #cccccc;background: #ffffff;} #div1_dyw581{height: 278px;width:4px;position: absolute;right:103px;top: 110px;background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_tytcc_shu.png) no-repeat;} #div2_dyw581{height: 30px;width: 17px;position: absolute;left: -7px;top: 0px;background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_tytcc_down.png) no-repeat;} #div3_dyw581{height: 358px;width: 700px;position: absolute;top: 67px;left: 116px;overflow: hidden;} #div4_dyw581{position: absolute;top: 0px;left: 0px;font-family: "Microsoft YaHei";font-size: 14px;color: #666666;line-height: 26px;} #div4_dyw581 h2{font-family: "Microsoft YaHei";font-size: 18px;color: #666666;font-weight: 500;text-align: center;line-height: 70px;} #div4_dyw581 p{line-height: 30px;} /* myform */ #myform{ width: 460px; } select.mySelect01, input.mySelect01 { border: 0px solid rgba(0,0,0,0); width: 453px; height: 44px; line-height: 44px; background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_infor_input.jpg) no-repeat; background-size: 100%; font-size: 16px; font-family: '微软雅黑'; } .login_code { list-style: none; margin: 24px 0; } .login_code .dyw581_user_sx { margin-left: 125px !important; } .con_box2 .login_code input.code_input { background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_yzm.jpg) no-repeat; width: 208px; height: 44px; line-height: 44px; font-family: "Microsoft YaHei"; color: #838383; font-size: 16px; margin-right:28px; padding: 0 5px; border:0px solid rgba(0,0,0,0); } #myform .code_img { position: absolute; } .dyw581_user_sx { background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_sx.png) right no-repeat; margin-left: 138px !important; padding-right: 20px; position: relative; color: #236eb0; font: 14px 'SimSun'; } .con_box2 p{ line-height:0; } #myform .mobileCode{ width: 159px; font: 16px '微软雅黑'; text-align: center; line-height: 44px; background: #2b70e1; border: 0; color: #fff; border-radius: 2px; } #myform .pcMobileCode{ background: url(//www.12371.cn/yonghustyle/responsestyle/css/img/dyw581_user_yzm.jpg) no-repeat; width: 208px; height: 44px; line-height: 44px; font-family: "Microsoft YaHei"; color: #838383; font-size: 16px; margin-right:28px; padding: 0 5px; border:0px solid rgba(0,0,0,0); } #myform .sub_btn{ margin-top: 83px; } .dyw989_tck{ margin-top: 28px; } .dyw989_tck p{ text-align: center; font: 14px '微软雅黑'; line-height: 28px; } .dyw989_tck p a{ color: #236eb0; } /* 登录切换 */ .dyw989_passw{ text-align: center; } .dyw989_passw img{ margin-top: 23px; } .dyw989_passw a{ display: block; width: 98px; margin: 26px 0 0 178px; color: #2b70e1; text-align: right; font: 16px '微软雅黑'; background: url(//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_passw.jpg) no-repeat left center; line-height: 24px; } .dyw989_phone,#dyw989_passw{ display: none; } .code_img{ width: 102px; height: 44px; } @media only screen and (max-width: 768px) and (min-width: 240px){ /* 低通 */ .dyw989_bottom{ display: none; } } </style> <div id="page_login"> <form method="post" id="dyw989_passw" action="#" onsubmit="return false" name="myform"> <input type="hidden" value="https://jingda.12371.cn/zice//zhuanti/index/myzice" name="service" id="service" /> <input type="hidden" value="" name="username_" id="username_" /> <input type="hidden" value="" name="TongTou" id="TongTou" /> <ul> <li class="login_user" id="login_user"> <input type="text" placeholder="手机号" id="username" name="username" class="login_input" tabindex="1" maxlength="11" /> </li> <li class="login_pass" id="login_pass"> <input type="password" placeholder="密码" id="password" name="password" class="pass_input" style="ime-mode:disabled" tabindex="2" maxlength="20" autocomplete/> </li> <li class="login_code"> <input type="text" placeholder="验证码" name="loginCode" id="loginCode" class="code_input" tabindex="3" maxlength="4" onfocus="this.value=''"/> <img src="../loginAECode" width="102" height="44" class="code_img" id="page_user_img"/><a href="javascript:changeCode('page_user_img')" class="dyw581_user_sx">看不清</a> </li> <li class="login_e"> <span class="login_input_e"><!--<p id="div_mm">--><input type="checkbox" name="remember" id="remember" /><!--</p>-->&nbsp;记住我</span> <!--<span class="login_tip">为了您的登录安全,请勿在公用电脑上勾选此项</span>--> </li> <!-- 1229 --> <li class="dyw989_li"> <input type="button" value="登录" onclick="transform()" class="sub_btn" tabindex="4"/> <div class="vspace"></div><div class="vspace"></div> <a href="/resetpasswd/resetPasswd.jsp">忘记密码</a> <a href="/regist/regist.jsp" class="dyw581_zhuce">立即注册</a> </li> </ul> </form> <!-- 1229新增pc端手机登录 --> <form action="##" method="post" id="myform"> <input type="hidden" value="https://jingda.12371.cn/zice//zhuanti/index/myzice" name="service" /> <input type="hidden" value="" name="TongTou" /> <div class="con_box2"> <p> <span class="p_input"> <input type="text" name="phoneLogin" id ="phoneLogin" placeholder="手机号" class="mySelect01" maxlength="11"> </span> </p> <ul> <li class="login_code"> <input type="text" placeholder="验证码" name="loginCode" id="img_code" class="code_input" tabindex="3" maxlength="4" > <img src="../loginAECode" class="code_img" id="page_phone_img"><a href="javascript:changeCode('page_phone_img')" class="dyw581_user_sx">看不清</a> </li> </ul> <p> <span class="p_input"> <input type="text" name="mobilecode" id="pcMobileCode" class="pcMobileCode" maxlength="6" > </span> <input type="button" name="code" class="mobileCode" id="pc_mobile_code" value="获取验证码" maxlength="6" onclick="getMobileCode('phoneLogin','img_code','pc_mobile_code')"> </p> </div> <input type="button" value="登录/注册" class="sub_btn btnPos" onclick="pcPhoneSubmit()"> <div class="dyw989_tck"> <p>未注册手机验证后自动登录</p> <p>注册即代表同意<a href="#">《共产党员网用户须知》</a></p> </div> </form> <!-- 1229 --> <script> $('#myform input').on('focus',function(){ $('#myform input').removeClass('dyw989_pla') $(this).addClass('dyw989_pla') }) </script> <!-- 手机登录 --> <div class="dyw989_phone"> <img src="//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_04.jpg" alt=""> <a href="#">短信登录</a> </div> <!-- 密码登录 --> <div class="dyw989_passw"> <img src="//www.12371.cn/yonghustyle/web/responsestyle/images/dyw989_04.jpg" alt=""> <a href="#">密码登录</a> </div> <script> if(deviceWidth>750){ $('.dyw989_passw').on('click',function(e){ e.preventDefault() $('#dyw989_passw').show() $('.dyw989_phone').show() $(this).hide() $('#myform').hide() }) $('.dyw989_phone').on('click',function(e){ e.preventDefault() $('#myform').show() $('.dyw989_passw').show() $(this).hide() $('#dyw989_passw').hide() }) }else{ $('#ydmyform .dyw989_tck a').on('click',function(e){ e.preventDefault() window.location.href='/regist/zhucexuzhi.jsp?a=regist.jsp' }) } </script> </div> <!-- 注册弹出 --> <div class="dyw581_zhuce_tcc" style="display: none;"> <div class="top"> <a href="#" class="close"></a> </div> <div class="dyw581_zhuce_cont"> <div id="div1_dyw581"> <div id="div2_dyw581"></div> </div> <div id="div3_dyw581"> <div id="div4_dyw581"> <h2>共产党员网用户须知</h2> <p>共产党员网(以下称“网站”)为实名注册的用户提供上传信息等互动服务,为确保互动行为合法有序制定本须知,并与用户共同遵守。用户在注册过程中点击“同意”按钮,即表示同意遵守本须知的全部条款。</p> <p>一、关于用户实名注册</p> <p>1、网站依照中华人民共和国法律规定,实行用户实名注册。</p> <p>2、用户注册时,请提供真实身份信息。</p> <p>3、个人注册信息如有变化,请及时更新。</p> <p>二、关于用户账号安全</p> <p>1、用户注册成功后,应妥善保管自己的账号及密码,不得转借或转让他人使用,用户对以其账号上传信息等互动行为负责。</p> <p>2、网站对用户注册信息严格保密,并建立健全用户信息保护制度。</p> <p>3、用户如发现其账号遭他人非法使用或存在其它安全问题,应立即通知网站,网站应立即采取措施保护用户账号及信息安全。用户因保管疏忽导致账号遭他人非法使用,网站不承担任何责任。</p> <p>三、关于用户上传信息</p> <p>1、用户承诺遵守中华人民共和国法律,承担因自己上传信息不当直接或间接引起的法律责任。</p> <p>2、用户上传信息不得含有法律法规禁止的内容,不得违背公序良俗。否则,网站可视情处理用户上传的不当信息,封禁或删除用户账号。</p> <p>3、为维护网站的信息质量和互动秩序,网站对与主题无关、质量不高、重复上传等互动信息,可视情进行处理。</p> </div> </div> </div> <div class="bottom"><a href="javascript:;">同意</a></div> </div> <div class="tcz" style="display: none;"></div> <script> // 右上角×号 $('.dyw989_tck').on('click','a',function(e){ e.preventDefault() $('.dyw581_zhuce_tcc').show() $('.tcz').show() }) $('.dyw581_zhuce_tcc .top').on('click','a',function(e){ e.preventDefault() $('.dyw581_zhuce_tcc').hide() $('.tcz').hide() }) var deviceWidth1 = document.documentElement.clientWidth; if('null'=="null"||'null'==""){ fn1(); function fn1(){ // $('.dyw581_zhuce_tcc').show(); // $('.tcz').show(); } $('.dyw581_zhuce_tcc .bottom a').click(function(){ $('.dyw581_zhuce_tcc').hide(); $('.tcz').hide(); }); }else{ if(deviceWidth1>750){ alert('null'); }else{ $("#yd_fourse").html('null'); document.getElementById("yd_fourse").style.display='block'; } } // $('.dyw989_tck').on('click',function(e){ e.preventDefault() }) </script> <script> var cframes = document.getElementById('div3_dyw581'); var ccont =document.getElementById('div4_dyw581'); var sframes = document.getElementById('div1_dyw581'); var scrolls = document.getElementById('div2_dyw581'); scrolls.onmousedown = function(ev){ var ev = ev||event; var disY = ev.clientY - this.offsetTop; document.onmousemove = function(ev){ var ev = ev||event; var rolls = ev.clientY -disY; var mheight = sframes.offsetHeight - scrolls.offsetHeight; if(rolls<0){ rolls =0; }else if(rolls>mheight){ rolls = mheight; } var move = rolls/mheight; scrolls.style.top = rolls + "px"; ccont.style.top = move * (cframes.offsetHeight - ccont.offsetHeight) + 'px'; } document.onmouseup = function(){ document.onmouseup = document.onmousemove = null; } } </script> <!-- END --> <!-- 1229 低通 --> <div class="dyw989_bottom"> <ul class="one"> <li> <a href="//www.12371.cn/about/" target="_blank">关于我们</a> </li> <li> <a href="//www.12371.cn/gjgx/" target="_blank">联系我们</a> </li> <li> <a href="//www.12371.cn/map/" target="_blank">网站地图</a> </li> <li> <a href="//www.12371.cn/special/yhdc/" target="_blank">有奖调查</a> </li> </ul> <ul class="two"> <li>共产党员网 版权所有</li> <li><a href="//beian.miit.gov.cn/" target="_blank">京ICP备12024993号-1</a></li> </ul> </div> <!-- end --> </div> <script type="text/javascript"> function hasClass(ele,cls) {return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));} function addClass(ele,cls) {if (!this.hasClass(ele,cls)) ele.className += " "+cls;} function removeClass(ele,cls) {if (hasClass(ele,cls)) {var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');ele.className=ele.className.replace(reg,' ');}} </script> <script type="text/javascript"> var deviceWidth1 = document.documentElement.clientWidth; if(message!="null" && message!=""){ if(deviceWidth1>750){ alert(message); }else{ $("#yd_fourse").html(message); document.getElementById("yd_fourse").style.display='block'; } } if(!isBlank(autoLoginId)){ document.myform.username.value = autoLoginId; document.getElementById("remember").checked = true; } //隐藏通头的登陆框 var obj = document.getElementsByTagName("div");//先得到所有的div标记 for(var i=0;i<obj.length;i++){ if(obj[i].className == 'right_1'){ obj[i].style.display = "none"; } } </script> <script type="text/javascript"> var pagecode="I-001-000-000"; </script> <script> with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","v_id=&aplus&page_code="+pagecode,id="tb-beacon-aplus",src=(location>"https"?"//js":"//js")+".data.cctv.com/__aplus_plugin_cctv.js,aplus_plugin_aplus_u.js") </script> </body> </html>

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