someone-oa/pc/500.html
2025-12-11 18:08:46 +08:00

139 lines
4.4 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>服务器错误 - OA系统</title>
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
background: #f0f2f5;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.error-container {
text-align: center;
padding: 40px;
max-width: 600px;
}
.error-icon {
font-size: 80px;
margin-bottom: 24px;
}
.error-code {
font-size: 48px;
font-weight: bold;
color: #ff4d4f;
margin-bottom: 16px;
}
.error-title {
font-size: 24px;
font-weight: 500;
color: #303133;
margin-bottom: 12px;
}
.error-desc {
font-size: 14px;
color: #909399;
line-height: 1.8;
margin-bottom: 32px;
}
.error-info {
background: #fff1f0;
border: 1px solid #ffccc7;
border-radius: 8px;
padding: 20px;
margin-bottom: 32px;
text-align: left;
}
.error-info-title {
font-size: 16px;
font-weight: 500;
color: #ff4d4f;
margin-bottom: 12px;
}
.error-info-item {
font-size: 14px;
color: #666;
margin-bottom: 8px;
}
.error-actions {
display: flex;
gap: 12px;
justify-content: center;
}
.btn {
padding: 10px 24px;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
transition: all 0.3s;
}
.btn-primary {
background: #409EFF;
color: white;
}
.btn-primary:hover {
background: #66b1ff;
}
.btn-default {
background: white;
color: #333;
border: 1px solid #dcdfe6;
}
.btn-default:hover {
border-color: #409EFF;
color: #409EFF;
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-icon">⚠️</div>
<div class="error-code">500</div>
<div class="error-title">服务器错误</div>
<div class="error-desc">
抱歉,服务器出现了错误,我们正在努力修复中
</div>
<div class="error-info">
<div class="error-info-title">错误信息:</div>
<div class="error-info-item">• 错误类型:服务器内部错误</div>
<div class="error-info-item">• 发生时间2025-01-20 14:30:25</div>
<div class="error-info-item">• 错误代码ERR_500_INTERNAL</div>
<div class="error-info-item">• 建议操作:请稍后重试,或联系系统管理员</div>
</div>
<div class="error-actions">
<button class="btn btn-primary" onclick="window.location.reload()">刷新页面</button>
<button class="btn btn-default" onclick="window.location.href='dashboard.html'">返回首页</button>
<button class="btn btn-default" onclick="contactSupport()">联系支持</button>
</div>
</div>
<script src="common.js"></script>
<script>
function contactSupport() {
CommonUtils.createModal('联系支持', `
<div style="margin-bottom: 16px;">
<div style="font-size: 14px; color: #606266; margin-bottom: 12px;">
<strong>技术支持联系方式:</strong>
</div>
<div style="font-size: 14px; color: #606266; line-height: 1.8;">
电话400-XXX-XXXX<br>
邮箱support@example.com<br>
工作时间:周一至周五 9:00-18:00
</div>
</div>
`, () => true);
}
</script>
</body>
</html>