55 lines
2.4 KiB
Plaintext
55 lines
2.4 KiB
Plaintext
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8"/>
|
||
|
|
<title>登录页面</title>
|
||
|
|
</head>
|
||
|
|
<link href="bns/css/login.css" rel="stylesheet">
|
||
|
|
<link href="bns/js/layui/css/layui.css" rel="stylesheet">
|
||
|
|
<script src="bns/js/layui/layui.js"></script>
|
||
|
|
<script src="bns/js/public/jquery-3.6.0.js" type="text/javascript"></script>
|
||
|
|
<script src="bns/js/public/aes.js" type="text/javascript"></script>
|
||
|
|
<script src="bns/js/login/public.js" type="text/javascript"></script>
|
||
|
|
<script src="bns/js/login/login.js" type="text/javascript"></script>
|
||
|
|
<body>
|
||
|
|
<div id="wdiv">
|
||
|
|
<div class="fdiv">安 全 质 量 智 慧 决 策 中 心</div>
|
||
|
|
<div class="mdiv">
|
||
|
|
<div style="border-bottom:1px solid #FFFFFF;width: 60%;margin-left: 18%;top: 72px;height: 40px;position: absolute">
|
||
|
|
<IMG src="bns/img/login/user.png">
|
||
|
|
<input TYPE="text" id="userName" placeholder="请输入用户名"
|
||
|
|
style="background-color:transparent;border: 0;outline: none;color: white"/>
|
||
|
|
</div>
|
||
|
|
<div style="border-bottom:1px solid #FFFFFF;width: 60%;margin-left: 18%;top: 150px;height: 40px;position: absolute ">
|
||
|
|
<IMG src="bns/img/login/pwd.png">
|
||
|
|
<input TYPE="password" id="password" placeholder="请输入密码"
|
||
|
|
style="background-color:transparent;border: 0;outline: none;color: white"/>
|
||
|
|
</div>
|
||
|
|
<div style="width: 60%;margin-left: 58%;top: 195px;height: 20px;position: absolute;font-size: 7px ">
|
||
|
|
<input type="checkbox"
|
||
|
|
style="background-color: transparent;border: solid 1px #FFFFFF;background-color: #4f5050"> <span
|
||
|
|
style="color: white">记 住 密 码</span>
|
||
|
|
</div>
|
||
|
|
<div style="width: 60%;margin-left: 18%;top: 230px;height: 40px;position: absolute;width: 100%">
|
||
|
|
<button id="login" onclick="login()"
|
||
|
|
style="background-color:#2F82FB;width: 60%;border:none;color: white;height: 36px;border-radius: 2px ">
|
||
|
|
登 录
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
<script>
|
||
|
|
|
||
|
|
document.onkeydown = function (e) { // 回车提交表单
|
||
|
|
// 兼容FF和IE和Opera
|
||
|
|
var theEvent = window.event || e;
|
||
|
|
var code = theEvent.keyCode || theEvent.which || theEvent.charCode;
|
||
|
|
if (code == 13) {
|
||
|
|
login();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
</script>
|
||
|
|
</html>
|