You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
6.0 KiB
79 lines
6.0 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>rollname</title>
|
|
<link rel="stylesheet" href="styles.css">
|
|
<style>
|
|
/* 其他样式保持不变 */
|
|
.login-button {
|
|
cursor: pointer; /* 将鼠标指针设置为点击状态 */
|
|
}
|
|
.sign-up-link {
|
|
cursor: pointer;
|
|
color: black;
|
|
font-size: 20px;
|
|
font-family: Inter;
|
|
font-weight: 500;
|
|
text-decoration: none; /* 去掉超链接的下划线 */
|
|
}
|
|
</style>
|
|
<script>
|
|
function redirectToRoll() {
|
|
window.location.href = 'question.html'; // 点击后跳转到提问
|
|
}
|
|
function redirectToPage() {
|
|
window.location.href = 'page.html'; //
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div style="width: 100vw; height: auto; position: relative; background: #FAFAF9">
|
|
<img style="width: 100vw; height: auto; top: 105px; position: absolute" src="E:\softwareengineer\work2\frontend\assets\d3.png" />
|
|
<div style="width: 100vw; height: 105px; left: 0px; top: 0px; position: absolute; background: #006FFF"></div>
|
|
<div style="width: 481px; height: 93px; left: 5%; top: -9px; position: absolute; color: white; font-size: 96px; font-family: Alfa Slab One; font-weight: 400; word-wrap: break-word">FUClass</div>
|
|
<div style="width: 182px; height: 182px; left: 27%; top: 234px; position: absolute" class="login-button" onclick="redirectToimport()">
|
|
<div style="width: 182px; height: 182px; left: 0px; top: 0px; position: absolute; background: #FFB812; border-radius: 40px; border: 2px black dotted"></div>
|
|
<div style="width: 104px; height: 106px; left: 39px; top: 22px; position: absolute; border-radius: 40px; overflow: hidden">
|
|
<img style="width: 69.33px; height: 83.92px; left: 17.33px; top: 8.83px; position: absolute" src="E:\softwareengineer\work2\frontend\emoji\download1.png" />
|
|
</div>
|
|
<div style="width: 80px; height: 28px; left: 51px; top: 128px; position: absolute; color: black; font-size: 20px; font-family: Inter; font-weight: 400; word-wrap: break-word">导入名单</div>
|
|
</div>
|
|
<div style="width: 182px; height: 182px; left: 27%; top: 554px; position: absolute" class="login-button" onclick="redirectToexport()">
|
|
<div style="width: 182px; height: 182px; left: 0px; top: 0px; position: absolute; background: #FFB812; border-radius: 40px; border: 2px black dotted"></div>
|
|
<div style="width: 80px; height: 28px; left: 51px; top: 131px; position: absolute; color: black; font-size: 20px; font-family: Inter; font-weight: 400; word-wrap: break-word">导出名单</div>
|
|
<div style="width: 104px; height: 106px; left: 39px; top: 25px; position: absolute">
|
|
<img style="width: 69.33px; height: 83.92px; left: 17.33px; top: 8.83px; position: absolute" src="E:\softwareengineer\work2\frontend\emoji\export1.png" />
|
|
</div>
|
|
</div>
|
|
<div style="width: 182px; height: 182px; left: 60%; top: 234px; position: absolute" class="login-button" onclick="redirectTorollname()">
|
|
<div style="width: 182px; height: 182px; left: 0px; top: 0px; position: absolute; background: #FFB812; border-radius: 40px; border: 2px black dotted"></div>
|
|
<div style="width: 80px; height: 28px; left: 51px; top: 128px; position: absolute; color: black; font-size: 20px; font-family: Inter; font-weight: 400; word-wrap: break-word">随机点名</div>
|
|
<div style="width: 104px; height: 106px; left: 39px; top: 22px; position: absolute">
|
|
<img style="width: 60.67px; height: 88.33px; left: 21.67px; top: 8.83px; position: absolute" src="E:\softwareengineer\work2\frontend\emoji\rollname1.png" />
|
|
</div>
|
|
</div>
|
|
<div style="width: 182px; height: 182px; left: 60%; top: 554px; position: absolute" class="login-button" onclick="redirectTocrazy()">
|
|
<div style="width: 182px; height: 182px; left: 0px; top: 0px; position: absolute; background: #FFB812; border-radius: 40px; border: 2px black dotted"></div>
|
|
<div style="width: 80px; height: 28px; left: 52px; top: 131px; position: absolute; color: black; font-size: 20px; font-family: Inter; font-weight: 400; word-wrap: break-word">疯狂模式</div>
|
|
<div style="width: 104px; height: 106px; left: 39px; top: 25px; position: absolute">
|
|
<img style="width: 78px; height: 79.50px; left: 13px; top: 13.25px; position: absolute" src="E:\softwareengineer\work2\frontend\emoji\crazy1.png" />
|
|
</div>
|
|
</div>
|
|
<div style="width: 100%; height: 1000px; left: 0px; top: 105px; position: absolute; opacity: 0.80; background: #D9D9D9" class="login-button" onclick="redirectToPage()"></div>
|
|
<div style="left: 35%; top: 279px; position: absolute; color: black; font-size: 48px; font-family: Inter; font-weight: 500; word-wrap: break-word">即将开始随机点名</div>
|
|
<a href="log_in.html" style="width: 83px; height: 29px; left: 90%; top: 67px; position: absolute; color: white; font-size: 24px; font-family: Inter; font-style: italic; font-weight: 400; word-wrap: break-word; text-decoration: none;">log out</a>
|
|
<button id="triggerButton" class="login-button" style="width: 248px; height: 93px; left: 40%; top: 501px; position: absolute; border-radius: 30px;" onclick="redirectToRoll()">
|
|
<div style="width: 248px; height: 93px; left: 0px; top: 0px; position: absolute; background: #006FFF; border-radius: 30px"></div>
|
|
<div style="width: 130.63px; left: 60.50px; top: 5px; position: absolute; color: #FAFAF9; font-size: 64px; font-family: Inter; font-weight: 500; word-wrap: break-word">开始</div>
|
|
</button>
|
|
</div>
|
|
<script>
|
|
document.getElementById('triggerButton').addEventListener('click', function() {
|
|
fetch('/api/hello')
|
|
.then(response => response.text());
|
|
})
|
|
</script>
|
|
</body>
|
|
</html> |