You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.8 KiB
85 lines
2.8 KiB
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<title>登录</title>
|
|
<!-- 样 式 文 件 -->
|
|
<link href="./layui/css/layui.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="../component/pear/css/pear.css" />
|
|
<link rel="stylesheet" href="../admin/css/other/login.css" />
|
|
<style>
|
|
.title1 {
|
|
font-size: 30px !important;
|
|
font-weight: 550 !important;
|
|
color: #5FB878 !important;
|
|
position: absolute !important;
|
|
margin-top: -30px;
|
|
width: 500px;
|
|
}
|
|
|
|
.desc1 {
|
|
font-size: 24px !important;
|
|
font-weight: 550 !important;
|
|
width: 100% !important;
|
|
text-align: center !important;
|
|
color: #5FB878 !important;
|
|
padding-top: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body background="../admin/images/background.svg" style="background-size: cover;">
|
|
<form class="layui-form">
|
|
<div class="layui-form-item">
|
|
<div class="title1">郑州市第一〇三高级中学</div>
|
|
<div class="desc1">
|
|
高一新生信息完善
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<input placeholder="准考证号(非省准考证号)" name="zkz" lay-verify="required" hover class="layui-input" />
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<input placeholder="姓 名" name="xm" lay-verify="required" hover class="layui-input" />
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<button type="button" class="pear-btn pear-btn-success login" lay-submit lay-filter="login">
|
|
进 入
|
|
</button>
|
|
</div>
|
|
</form>
|
|
<!-- 资 源 引 入 -->
|
|
<script src="./layui/layui.js"></script>
|
|
<script>
|
|
layui.use(['form','jquery'], function () {
|
|
var form = layui.form;
|
|
|
|
var $ = layui.jquery;
|
|
|
|
form.on('submit(login)', function (data) {
|
|
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "/FengHuang/yp/login",
|
|
data: data.field,
|
|
success: function (res) {
|
|
if (res.success) {
|
|
window.location = "./info.html";
|
|
} else {
|
|
layer.msg(res.message, {
|
|
icon: 2,
|
|
time: 3000
|
|
});
|
|
}
|
|
}
|
|
});
|
|
return false;
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |