parent
f0abf1459e
commit
9645e03943
@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<audio src="background_music.mp3" autoplay loop ></audio>
|
||||
<title>点名系统 - 主页</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>点名系统</h1>
|
||||
<div class="button-container">
|
||||
<button onclick="window.location.href='normalMode.html'">进入普通模式</button>
|
||||
<button onclick="window.location.href='advancedMode.html'">进入进阶模式</button>
|
||||
<button id="exitButton">退出网页</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.getElementById('exitButton').addEventListener('click', () => {
|
||||
window.close(); // 关闭网页
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue