-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathsetup.html
107 lines (97 loc) · 1.99 KB
/
setup.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Set up</title>
<link rel="stylesheet" href="dist/index.css">
<style>
.form {
width: 500px;
height: 400px;
margin: 0 auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.icon i {
transition: all 4s;
}
.icon i:hover {
transform: rotate(1440deg);
}
.info {
margin: 10px;
font-size: 12px;
height: 20px;
}
.input:hover {
color: #3aa373;
}
p {
color: #7f8c8d;
height: 50px;
text-align: center;
transition: all 0.4s;
}
p input {
transition: all 0.4s;
width: 200px;
padding: 8px;
border-bottom: 1px solid #42b983;
}
p input:focus {
width: 210px;
}
button {
transition: all 0.4s;
color: #7f8c8d;
border: 1px solid #3aa373;
border-radius: 4px;
width: 60px;
height: 30px;
cursor: pointer;
}
button:hover {
background-color: #3aa373;
color: #FFF;
}
</style>
</head>
<body>
<div id="setup">
<div class="form">
<p class="icon">
<i class="fa fa-fire fa-2x"></i>
</p>
<p>
SETUP
</p>
<p class="input">
<i class="fa fa-user fa-fw"></i>
<input type="text"
placeholder="输入用户名"
v-model.trim="name">
</p>
<p class="input">
<i class="fa fa-key fa-fw"></i>
<input type="password"
placeholder="输入密码"
v-model.trim="pwd">
</p>
<p class="input">
<i class="fa fa-key fa-fw"></i>
<input type="password"
placeholder="确认输入"
v-model.trim="pwdRepeat">
</p>
<p class="info">{{info}}</p>
<p>
<button @click="submit()">提交</button>
</p>
</div>
</div>
<script src="/dist/setup.js"></script>
</body>
</html>