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.

146 lines
4.2 KiB

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>错误 - AI期货分析系统</title>
<link href="https://cdn.jsdelivr.net/npm/antd@5.12.8/dist/reset.css" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-primary: #f0f2f5;
--bg-secondary: #ffffff;
--bg-tertiary: #f9fafb;
--text-primary: #333333;
--text-secondary: #666666;
--text-tertiary: #999999;
--border-color: #d9d9d9;
--header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
--card-hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
body.dark-theme {
--bg-primary: #1a1a1a;
--bg-secondary: #2d2d2d;
--bg-tertiary: #3d3d3d;
--text-primary: #e0e0e0;
--text-secondary: #b0b0b0;
--text-tertiary: #808080;
--border-color: #444444;
--header-bg: linear-gradient(135deg, #334155 0%, #1e293b 100%);
--card-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
--card-hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: var(--bg-primary);
color: var(--text-primary);
transition: all 0.3s ease;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
.error-card {
background: var(--bg-secondary);
border-radius: 12px;
padding: 40px;
box-shadow: var(--card-shadow);
text-align: center;
border: 1px solid var(--border-color);
}
.error-icon {
width: 80px;
height: 80px;
background-color: rgba(255, 77, 79, 0.1);
color: #ff4d4f;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
margin: 0 auto 24px;
border: 1px solid rgba(255, 77, 79, 0.3);
}
.error-title {
font-size: 24px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 16px;
}
.error-message {
font-size: 16px;
color: var(--text-secondary);
margin-bottom: 32px;
line-height: 1.5;
}
.back-button {
display: inline-block;
padding: 10px 24px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
text-decoration: none;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
transition: opacity 0.3s ease;
}
.back-button:hover {
opacity: 0.9;
}
@media (max-width: 768px) {
.container {
padding: 16px;
}
.error-card {
padding: 32px 24px;
}
.error-icon {
width: 64px;
height: 64px;
font-size: 32px;
}
.error-title {
font-size: 20px;
}
.error-message {
font-size: 14px;
}
}
</style>
</head>
<body class="dark-theme">
<div class="container">
<div class="error-card">
<div class="error-icon">⚠️</div>
<h1 class="error-title">发生错误</h1>
<p class="error-message">{{ message }}</p>
<a href="/" class="back-button">返回首页</a>
</div>
</div>
</body>
</html>