-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (62 loc) · 2.97 KB
/
index.html
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dormitory_Management</title>
<link rel="icon" href="./favicon.ico" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="bookmark" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="public/bootstrap/css/bootstrap.css">
<script src="public/js/jquery.js"></script>
<script src="public/bootstrap/js/bootstrap.js"></script>
<script src="public/js/mock.js"></script>
<script src="public/js/vue.js"></script>
<link rel="stylesheet" href="style/index.css">
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</head>
<body>
<div id="app">
<div class="index-login-box">
<form action="" class="text-center index-login-form">
<h1>欢迎使用宿舍管理系统</h1>
<div class="form-group">
<input type="text" class="form-control" id="" v-model.trim="loginForm.username" placeholder="请输入账号" @keyup="keyup">
<input type="password" class="form-control" id="" v-model.trim="loginForm.password" placeholder="请输入密码" @keyup="keyup">
</div>
<div class="form-group index-login-form-radio">
<label class="radio-inline">
<input type="radio" name="Admin" v-model="loginForm.type" value="0"> 系统管理员
</label>
<label class="radio-inline">
<input type="radio" name="Admin" v-model="loginForm.type" value="1"> 宿舍管理员
</label>
<label class="radio-inline">
<input type="radio" name="Admin" v-model="loginForm.type" value="2"> 学生
</label>
</div>
<div class="form-group index-login-form-checkbox">
<div class="checkbox">
<label>
<input type="checkbox" v-model="loginForm.rem" id=""> 记住密码
</label>
</div>
</div>
<div class="form-group">
<button type="button" class="btn btn-primary btn-block" @click="login">登陆</button>
</div>
<div class="form-group index-btn-other">
<button type="button" class="btn btn-outline-primary">注册</button>
<button type="reset" class="btn btn-outline-primary">重置</button>
</div>
<hr>
<div class="form-group">
<span>Copyright © 2021 May-rain • Powered by Hz1</span>
</div>
</form>
</div>
</div>
</body>
<script type="module" src="controller/index.js"></script>
</html>