feat: 管理界面报刊风统一改造 — 移除独立暗色主题,预测/回测/监控/配置页增强

This commit is contained in:
shangfangjian
2026-09-18 10:42:14 +08:00
parent 91e406f5ee
commit cf0751d1ff
15 changed files with 1275 additions and 828 deletions
+6 -6
View File
@@ -30,16 +30,16 @@ export class ErrorBoundary extends Component<Props, State> {
return this.props.fallback
}
return (
<div className="min-h-screen flex items-center justify-center bg-gray-50 p-6">
<div className="bg-white rounded-lg border border-red-200 p-6 max-w-md text-center space-y-3">
<div className="text-4xl"></div>
<h2 className="text-lg font-semibold text-gray-800"></h2>
<p className="text-sm text-gray-500">
<div className="flex min-h-screen items-center justify-center bg-paper-50 p-6">
<div className="max-w-md space-y-3 border border-ink-900 bg-paper-50 p-6 text-center">
<p className="text-2xs tracking-[0.3em] text-ink-400">EXCEPTION</p>
<h2 className="font-serif text-lg font-bold text-ink-900"></h2>
<p className="text-sm leading-relaxed text-ink-500">
{this.state.error?.message || '未知错误'}
</p>
<button
onClick={() => this.setState({ hasError: false, error: null })}
className="bg-blue-600 text-white text-sm px-4 py-2 rounded hover:bg-blue-700"
className="btn btn-sm"
>
</button>