-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (98 loc) · 4.17 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
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
108
109
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,user-scalable=no" name="viewport">
<title>Welcome!</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
<link rel="stylesheet" href="./argon.min.css" type="text/css">
</head>
<body>
<div class="main-content" id="panel">
<div class="header bg-pink pb-6">
<div class="container-fluid">
<div class="header-body">
<div class="row align-items-center py-4">
<div class="col-lg-6 col-7">
<h6 class="h2 text-white d-inline-block mb-0">新春解密活动</h6>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid mt--6">
<div class="row">
<div class="col-xl-8 center">
<div class="card">
<div class="card-header" style="text-align:center">
<h2 class="mb-0">游玩须知</h2>
</div>
<div class="card-body">
<form>
<h5><p class="card-text mb-4">
1.本活动建议使用电脑游玩。<br> 2.本活动所有答案皆为可以读通顺的中文句子,长短不限。
<br> 3.如需输入答案,请确保您所输入的为中文逗号(,)且句子结尾没有中文句号(。)
<br> 4.所有关卡的线索无法跨关使用。
<br> 5.认真阅读TOS(用户协议)
<br> 6.祝玩的开心!
<br>
</h5>
</form>
</div>
</div>
<!-- 此处编写登录逻辑 -->
<div class="card">
<div class="card-header" style="text-align:center">
<h3 class="mb-0">登录账号,开始游戏!</h3>
</div>
<div class="card-body" style="text-align:center">
<form>
<input type="text" id="email" placeholder="登录邮箱"></h5><br><br>
<input type="password" id="pwd" placeholder="密码"></h5><br><br>
<input type="button" name="submit" value="开始游玩!" class="col-auto btn btn-sm btn-success"
onclick="tj()"><br>
<br><a href="register.html">没有账号?点击注册。</a>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="./jquery.min.js"></script>
<script src="./bootstrap.bundle.min.js"></script>
<script type="text/javascript">
function tj() {
if (document.getElementById("email").value == "") {
alert("请输入邮箱地址");
} else {
if (document.getElementById("pwd").value == "") {
alert("请输入密码");
} else {
$.ajax({
url: "login.php",
type: "post",
data: { email: document.getElementById("email").value, password: document.getElementById("pwd").value },
success: function (result) {
eval(result);
},
datatype: "text",
})
}
}
}
</script>
</body>
<footer>
<div class="card">
<div class="card-header" style="text-align:center">
联系我们:[email protected]
<br> 官方鹅群:542645899
<br>本游戏策划团队版权所有,遵循AGPL开源协议。游戏所有源码将于结束后开源,可关注B站@Seimo 或加入官方鹅群获取详情
</div>
</div>
</footer>
</html>