CINXE.COM
登录页
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="renderer" content="webkit"> <meta charset="utf-8"/> <title>登录页</title> <link rel="stylesheet" type="text/css" href="/css/loginSelectStyle.css" media="all"> <style type="text/css"> *{margin: 0;padding: 0;font-family: "PingFang SC Heavy","microsoft yahei";} html{ width: 100%;height: 100%; background:linear-gradient(rgba(196,102,0,0.2),rgba(155,89,182,0.2)),url(/img/background/warping.png) no-repeat top center;; background-size: cover; min-height: 600px; position: relative; } @media only screen and (max-width:768px){ .login{ width:80% } .login img{ width:80vw; height:auto; margin-top:10vh; } .loginXuanze{ width: 80%; height: 55vh; top: 32vh; display: flex; flex-direction: column; justify-content: space-between; } .loginXuanze input{ width: 50vw; height: 46px; margin-bottom: 2vh; font-size: 22px; line-height: 46px; } #form1{ text-align:center; } } </style> <script src="/js/lib/jquery-1.11.1.js"> </script> </head> <body> <div class="login"> <img src="/img/ilogo_list.png" class="mt20" onclick="javascript:window.location.href ='/common/index.aspx'"/> <div class="loginXuanze"> <form method="post" action="./login.aspx" id="form1"> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNDUyMjc2MzE3ZGRvrjsjtSv2ADvagu9LPkirbYq9Uja0oOtJGVNa2MekAw==" /> </div> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CDA0A0A2" /> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAJx9jc+vkgXfFw8tdI3clH/Pg7OFIB4GEdtdtqCThEQ2HjLm2byBGp/GF9HjtcsbdJJgLChEWg2E9Y8SNkvoI+3" /> </div> <input type="button" value="校内师生登录" class="hand fl mr40" onclick="checkSubmitForm('form1','jy_xs');"/> <input type="button" value="已毕业学生登录" class="hand fl mr40" onclick="checkSubmitForm('form1','jy_bys');"/> <input type="hidden" name="currentUrl" id="currentUrl" /> </form> <div class="clear"></div> <div style="padding-top:25px;color:rgb(155, 32, 51);font-weight:bold;"> <p>登录指南:</p> <p>1、本校教师、在校生请使用“校内师生登录”入口进行登录。</p> <p>2、毕业离校后的学生,使用“毕业生登录”入口进行登录。用户名:学号;初始密码:ecnu@本人身份证号后6位(号码中“X”需大写)</p> </div> </div><!-- loginBox --> </div><!-- login --> </body> <script type="text/javascript"> // 登录验证 function checkSubmitForm(formid, userType) { var objForm = document.getElementById(formid); if ('jy_xs' == userType) { objForm.action = '/common/ssologin.aspx?CurrentUrl=' + $('#currentUrl').val(); } else if ('jy_bys' == userType) { objForm.action = '/commonpage/loginBys.aspx'; } objForm.submit(); } </script> </html>