Files
mayi-grade/public/offline.html
T
2026-10-04 14:41:13 +08:00

27 lines
1.4 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#1677ff">
<title>网络不可用</title>
<style>
:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { align-items: center; background: #f5f7fa; color: #1f2937; display: flex; justify-content: center; margin: 0; min-height: 100vh; padding: 24px; box-sizing: border-box; }
main { background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(31, 41, 55, .12); max-width: 420px; padding: 36px 30px; text-align: center; }
.mark { align-items: center; background: #1677ff; border-radius: 18px; color: #fff; display: inline-flex; font-size: 30px; font-weight: 700; height: 64px; justify-content: center; margin-bottom: 18px; width: 64px; }
h1 { font-size: 22px; margin: 0 0 12px; }
p { color: #6b7280; line-height: 1.65; margin: 0 0 24px; }
button { background: #1677ff; border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-size: 15px; padding: 10px 22px; }
</style>
</head>
<body>
<main>
<div class="mark" aria-hidden="true">分</div>
<h1>当前网络不可用</h1>
<p>成绩、学生信息和提交操作需要联网后才能继续使用。请检查网络连接后重试。</p>
<button type="button" onclick="location.reload()">重新连接</button>
</main>
</body>
</html>