-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.php
36 lines (34 loc) · 1.27 KB
/
login.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="./layui/css/layui.css">
</head>
<body>
<div class="layui-container">
<div style="height: 180px;"></div>
<div class="layui-row">
<div class="layui-col-md4" style="height: 150px;"></div>
<div class="layui-col-md4" style="height: 150px;">
<h2 style="display:flex; justify-content: center;">登陆界面</h2>
<form method="post" action="login_check.php" style="line-height: 35px;">
姓名:<input type="text" name="username" class="layui-input">
密码:<input type="text" name="password" class="layui-input">
<div style="height: 15px;"></div>
<input type="submit" value="登陆" class="layui-btn layui-btn-normal layui-btn-fluid"/>
</form>
<a href="add.php">无账号点此注册</a>
</div>
</div>
</div>
</body>
</html>
<script src="./layui/layui.js"></script>
<script>
layui.use(['layer', 'form'], function(){
var layer = layui.layer
,form = layui.form;
// layer.msg('Hello World');
});
</script>