feat(admin): 替换alert为Swal弹窗并优化样式

refactor: 统一代码缩进和格式化
style: 优化CSS样式和代码可读性
This commit is contained in:
2025-07-12 13:50:38 +08:00
parent 84f52e05b3
commit 5b009b838b
12 changed files with 332 additions and 265 deletions

View File

@@ -6,10 +6,30 @@
<title>404 - 页面未找到</title>
<link href="/css/bootstrap.min.css" rel="stylesheet">
<style>
body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #f8f9fa; }
.error-container { text-align: center; padding: 2rem; background-color: white; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
h1 { font-size: 5rem; margin: 0; color: #6c757d; }
p { font-size: 1.2rem; margin: 1rem 0; }
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f8f9fa;
}
.error-container {
text-align: center;
padding: 2rem;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
font-size: 5rem;
margin: 0;
color: #6c757d;
}
p {
font-size: 1.2rem;
margin: 1rem 0;
}
</style>
</head>
<body>