update
This commit is contained in:
47
web/addPeople.html
Normal file
47
web/addPeople.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Old People Home - 老人注册</title>
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon.png">
|
||||
<link rel="stylesheet" href="addPeople_style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="box1">
|
||||
<span class="upper">O</span>
|
||||
<span class="lower">ld</span>
|
||||
<span class="upper">P</span>
|
||||
<span class="lower">eople</span>
|
||||
<span class="upper">H</span>
|
||||
<span class="lower">ome</span>
|
||||
</div>
|
||||
<div class="register_1">
|
||||
<h3>老人注册</h3>
|
||||
<form action="">
|
||||
<input type="text" placeholder="账号"><br>
|
||||
<input type="password" placeholder="密码"><br>
|
||||
<input type="button" value="next" id="next">
|
||||
</form>
|
||||
</div>
|
||||
<div class="register_2">
|
||||
<h3>老人注册</h3>
|
||||
<!-- action先空着 -->
|
||||
<form action="">
|
||||
<input type="text" placeholder="姓名"><br>
|
||||
<input type="text" placeholder="身份证号"><br>
|
||||
<div class="gender">
|
||||
<input type="radio" value="mele">
|
||||
<span>男</span>
|
||||
<input type="radio" value="female">
|
||||
<span>女</span><br>
|
||||
</div>
|
||||
<span id="birthday">生日:</span>
|
||||
<input type="date" id="date"><br>
|
||||
<input type="text" placeholder="入住房间"><br>
|
||||
<input type="submit" value="OK" id="submit">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
156
web/addPeople_style.css
Normal file
156
web/addPeople_style.css
Normal file
@@ -0,0 +1,156 @@
|
||||
body {
|
||||
background-color: papayawhip;
|
||||
margin: 0px;
|
||||
background-image: url("images/老人1.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
/* LOGO */
|
||||
.box1 {
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
left: 10px;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.upper {
|
||||
color: rgb(255, 115, 0);
|
||||
font-weight: bolder;
|
||||
font-family: sans-serif;
|
||||
font-size: 45px;
|
||||
letter-spacing: -10px;
|
||||
}
|
||||
.lower {
|
||||
color: rgb(255, 183, 124);
|
||||
font-family: sans-serif;
|
||||
font-size: 45px;
|
||||
letter-spacing: -5px;
|
||||
}
|
||||
|
||||
/* 注册界面1 */
|
||||
.register_1 {
|
||||
width: 400px;
|
||||
height: 500px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
left: 850px;
|
||||
/* 用js写个隐藏跳转 */
|
||||
display: none;
|
||||
}
|
||||
.register_1 h3 {
|
||||
padding: 0 0 0 30px;
|
||||
color: rgb(255, 115, 0);
|
||||
}
|
||||
.register_1 form input{
|
||||
width: 220px;
|
||||
height: 35px;
|
||||
position: relative;
|
||||
top: 10px;
|
||||
left: 90px;
|
||||
text-align: center;
|
||||
border-radius: 25px;
|
||||
border: 0.5px solid rgb(170, 170, 170);
|
||||
font-size: 15px;
|
||||
margin: 50px 0 30px 0;
|
||||
outline: none;
|
||||
}
|
||||
.register_1 form input#next {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: none;
|
||||
background-color: rgb(255, 115, 0);
|
||||
color: white;
|
||||
position: relative;
|
||||
top: 100px;
|
||||
left: 340px;
|
||||
}
|
||||
.register_1 form input#next:hover {
|
||||
transform: translate(0,-1px);
|
||||
-ms-transform: translate(0,-1px);
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
|
||||
}
|
||||
.register_1 form input#next:active {
|
||||
background-color: rgba(255, 115, 0, 0.3);
|
||||
}
|
||||
|
||||
/* 注册界面2 */
|
||||
.register_2 {
|
||||
width: 400px;
|
||||
height: 500px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
left: 850px;
|
||||
/* display: none; */
|
||||
}
|
||||
.register_2 h3 {
|
||||
padding: 0 0 0 30px;
|
||||
color: rgb(255, 115, 0);
|
||||
}
|
||||
.register_2 form input {
|
||||
width: 220px;
|
||||
height: 35px;
|
||||
position: relative;
|
||||
top: 10px;
|
||||
left: 90px;
|
||||
text-align: center;
|
||||
border-radius: 25px;
|
||||
border: 0.5px solid rgb(170, 170, 170);
|
||||
font-size: 15px;
|
||||
margin: 20px 0 0 0;
|
||||
outline: none;
|
||||
}
|
||||
.register_2 form .gender input{
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
position: relative;
|
||||
left: 110px;
|
||||
margin-right: 120px;
|
||||
}
|
||||
.register_2 form .gender span {
|
||||
position: relative;
|
||||
left: -10px;
|
||||
top: 10px;
|
||||
color: gray;
|
||||
}
|
||||
.register_2 form span#birthday {
|
||||
color: gray;
|
||||
position: relative;
|
||||
top: 10px;
|
||||
left: 110px;
|
||||
}
|
||||
.register_2 form input#date {
|
||||
width: auto;
|
||||
height: auto;
|
||||
position: relative;
|
||||
left: 110px;
|
||||
}
|
||||
.register_2 form input#submit {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: none;
|
||||
background-color: rgb(255, 115, 0);
|
||||
color: white;
|
||||
position: relative;
|
||||
top: 100px;
|
||||
left: 340px;
|
||||
}
|
||||
.register_2 form input#submit:hover {
|
||||
transform: translate(0,-1px);
|
||||
-ms-transform: translate(0,-1px);
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
|
||||
}
|
||||
.register_2 form input#submit:active {
|
||||
background-color: rgba(255, 115, 0, 0.3);
|
||||
}
|
||||
@@ -64,7 +64,7 @@
|
||||
<div class="guide">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#">老人注册</a><br>
|
||||
<a href="addPeople.html">老人注册</a><br>
|
||||
</li>
|
||||
<li id="delete">
|
||||
<a href="#">老人注销</a>
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
body {
|
||||
background-color: papayawhip;
|
||||
margin: 0px;
|
||||
background-image: url("images/天空2.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
/* LOGO */
|
||||
|
||||
BIN
web/images/天空1.jpg
Normal file
BIN
web/images/天空1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 MiB |
BIN
web/images/天空2.jpg
Normal file
BIN
web/images/天空2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 MiB |
BIN
web/images/老人1.jpg
Normal file
BIN
web/images/老人1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
BIN
web/images/老人2.jpg
Normal file
BIN
web/images/老人2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 307 KiB |
@@ -220,6 +220,7 @@ ul {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
color: white;
|
||||
background-color: rgb(255, 115, 0);
|
||||
border: none;
|
||||
}
|
||||
.modify form input#submit:hover {
|
||||
@@ -231,5 +232,5 @@ ul {
|
||||
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
|
||||
}
|
||||
.modify form input#submit:active {
|
||||
background-color: rgb(235, 235, 235);
|
||||
background-color: rgba(255, 115, 0, 0.3);
|
||||
}
|
||||
Reference in New Issue
Block a user