-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
42 lines (39 loc) · 1.24 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
<!DOCTYPE html>
<html lang="zh"><head>
<!-- CSS only -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<!-- JavaScript Bundle with Popper -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.1.3/js/bootstrap.min.js" crossorigin="anonymous"></script>
<title>回声分洞自助机</title>
<style type="text/css">
.card-center{
text-align: center;
border-radius: 20px;
width: 500px;
height: 300px;
margin: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
<script>function random_page(param) {
var a;
a = Math.floor(Math.random() * 1816);
window.location.href = "html/"+a + ".html";
}
</script>
</head>
<body>
<div class="card-center">
<center>
<h1 class="text-secondary">这里是非官方回声洞</h1>
</center><br><br>
<button class="btn btn-primary " style="width: 60%; height: 25%" type="button" onclick="random_page(this)">
<p class="fs-3">随机一个洞</p>
</button>
</div>
</body>
</html>