-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatus.html
More file actions
57 lines (51 loc) · 1.45 KB
/
status.html
File metadata and controls
57 lines (51 loc) · 1.45 KB
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>系统状态1</title>
<style>
body {
background-color: #000000;
color: #00FF00;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
font-family: 'Arial', sans-serif;
}
.status-message {
font-size: 4em;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
text-shadow: 0 0 10px #00FF00, 0 0 20px #00FF00;
}
.time-display {
font-size: 2em;
text-align: center;
}
</style>
</head>
<body>
<div class="status-message">系统运行正常</div>
<div class="time-display" id="currentTime"></div>
<script>
function updateTime() {
const now = new Date();
const timeString = now.toLocaleString('zh-CN', {
year: 'numeric',
month: 'long',
day: 'numeric',
hour: '2-digit',
minute: '2-digit',
second: '2-digit'
});
document.getElementById('currentTime').textContent = timeString;
}
updateTime();
setInterval(updateTime, 1000);
</script>
</body>
</html>