162 lines
4.5 KiB
HTML
162 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>页面未找到 - 图书管理系统</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
background-color: #fff5f7;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.error-container {
|
|
text-align: center;
|
|
max-width: 650px;
|
|
padding: 40px;
|
|
border-radius: 20px;
|
|
background: #ffffff;
|
|
box-shadow: 0 10px 30px rgba(252, 162, 193, 0.2);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.error-container::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 6px;
|
|
background: linear-gradient(to right, #ff8ab3, #f17ab3, #f56eb8);
|
|
}
|
|
|
|
.error-code {
|
|
font-size: 120px;
|
|
font-weight: bold;
|
|
background: linear-gradient(to right, #ff8ab3, #f17ab3, #f56eb8);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin: 0 0 20px 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.error-title {
|
|
font-size: 28px;
|
|
color: #ff8ab3;
|
|
margin-bottom: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.error-message {
|
|
font-size: 18px;
|
|
color: #7a7a7a;
|
|
margin-bottom: 30px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.back-button {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
background: linear-gradient(to right, #ff8ab3, #f17ab3);
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 50px;
|
|
font-weight: 500;
|
|
letter-spacing: 1px;
|
|
box-shadow: 0 5px 15px rgba(241, 122, 179, 0.4);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.back-button:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 20px rgba(241, 122, 179, 0.6);
|
|
}
|
|
|
|
.decoration {
|
|
position: absolute;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 138, 179, 0.1);
|
|
}
|
|
|
|
.decoration-1 {
|
|
top: -20px;
|
|
left: -20px;
|
|
width: 120px;
|
|
height: 120px;
|
|
}
|
|
|
|
.decoration-2 {
|
|
bottom: -30px;
|
|
right: -30px;
|
|
width: 150px;
|
|
height: 150px;
|
|
}
|
|
|
|
.decoration-3 {
|
|
top: 60%;
|
|
left: -40px;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.book-icon {
|
|
margin-bottom: 20px;
|
|
width: 80px;
|
|
height: 80px;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.book-icon svg {
|
|
fill: #ff8ab3;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.error-code {
|
|
font-size: 100px;
|
|
}
|
|
.error-title {
|
|
font-size: 24px;
|
|
}
|
|
.error-container {
|
|
margin: 0 20px;
|
|
padding: 30px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error-container">
|
|
<div class="decoration decoration-1"></div>
|
|
<div class="decoration decoration-2"></div>
|
|
<div class="decoration decoration-3"></div>
|
|
|
|
<div class="book-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<path d="M19 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 18H6V4h13v16z"/>
|
|
<path d="M9 5h7v2H9zM9 8h7v2H9zM9 11h7v2H9zM9 14h7v2H9z"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="error-code">404</div>
|
|
<div class="error-title">噢!页面不见了~</div>
|
|
<div class="error-message">
|
|
<p>抱歉,您要找的页面似乎藏起来了,或者从未存在过。</p>
|
|
<p>请检查您输入的网址是否正确,或者回到首页继续浏览吧!</p>
|
|
</div>
|
|
<a href="{{ url_for('index') }}" class="back-button">返回首页</a>
|
|
</div>
|
|
</body>
|
|
</html>
|