Files
ns2.0/templates/404.html

122 lines
3.4 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>404 - 页面未找到</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
background: #f5f5f7;
color: #1d1d1f;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.error-container {
text-align: center;
padding: 40px 20px;
max-width: 600px;
width: 100%;
}
.error-code {
font-size: 120px;
font-weight: 700;
color: #007AFF;
line-height: 1;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.error-title {
font-size: 24px;
color: #1d1d1f;
margin-bottom: 15px;
}
.error-message {
font-size: 16px;
color: #666;
margin-bottom: 30px;
}
.back-button {
display: inline-flex;
align-items: center;
gap: 8px;
background: #007AFF;
color: white;
text-decoration: none;
padding: 12px 24px;
border-radius: 8px;
font-size: 16px;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}
.back-button:hover {
background: #0056b3;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}
.error-icon {
font-size: 64px;
color: #007AFF;
margin-bottom: 20px;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
@media (max-width: 768px) {
.error-code {
font-size: 80px;
}
.error-title {
font-size: 20px;
}
.error-message {
font-size: 14px;
}
.error-icon {
font-size: 48px;
}
}
</style>
</head>
<body>
<div class="error-container">
<i class="fas fa-exclamation-circle error-icon"></i>
<div class="error-code">404</div>
<h1 class="error-title">页面未找到</h1>
<p class="error-message">抱歉,您访问的页面不存在或已被移除。</p>
<a href="/" class="back-button">
<i class="fas fa-home"></i>
返回首页
</a>
</div>
</body>
</html>