diff --git a/Web/README.md b/Web/README.md index 26d86eb..8b4b972 100644 --- a/Web/README.md +++ b/Web/README.md @@ -16,5 +16,6 @@ ├── test2 # 实验2 ├── test3 # 实验3 ├── test4 # 实验4 -└── test5 # 实验5 +├── test5 # 实验5 +└── test6 # 实验6 ``` diff --git a/Web/images/bg1.jpg b/Web/images/bg1.jpg new file mode 100644 index 0000000..de201d6 Binary files /dev/null and b/Web/images/bg1.jpg differ diff --git a/Web/test6/login.css b/Web/test6/login.css new file mode 100644 index 0000000..6f5df41 --- /dev/null +++ b/Web/test6/login.css @@ -0,0 +1,67 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + height: 100vh; + background-image: url("../images/bg1.jpg"); + background-size: 100% 100%; + background-repeat: no-repeat; + position: relative; +} + +.form-container { + width: 400px; + background-color: rgba(255, 255, 255, 0.6); + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + padding: 20px; + border: 1px solid #892be231; + border-radius: 5px; +} + +h2 { + text-align: center; + margin-bottom: 20px; +} + +.form div { + margin-bottom: 15px; +} + +input[type="text"], +input[type="password"], +input[type="password-2"] { + width: 100%; + padding: 10px; + border: 1px solid #ccc; + border-radius: 3px; +} + +.user-type-label { + margin-right: 5px; +} + +button { + width: 100%; + padding: 10px; + background-color: #007bff; + color: white; + border: none; + border-radius: 3px; + cursor: pointer; +} + +button:hover { + background-color: #0056b3; +} + +a { + text-decoration: none; + color: inherit; + font-size: inherit; +} diff --git a/Web/test6/login.html b/Web/test6/login.html new file mode 100644 index 0000000..702f4bf --- /dev/null +++ b/Web/test6/login.html @@ -0,0 +1,39 @@ + + + + + + + + 登录 + + + +
+

欢迎登录

+
+
+ + +
+
+ + +
+
+ + + + + +
+
+ + +
+ +
+
+ + + \ No newline at end of file diff --git a/Web/test6/register.html b/Web/test6/register.html new file mode 100644 index 0000000..ccc863b --- /dev/null +++ b/Web/test6/register.html @@ -0,0 +1,43 @@ + + + + + + + + 注册 + + + +
+

注册界面

+
+
+ + +
+
+ + +
+
+ + +
+
+ + + + + +
+
+ + +
+ +
+
+ + + \ No newline at end of file