feat: 全站 PageShell 设计系统与专业 UI 统一
- 新增 PageShell/PageTabs/ContentPanel/PageLoading/PageEmpty 页面骨架 - index.css 设计令牌文档化,布局令牌与纯色主按钮(去除渐变粉彩) - 全站路由页接入 PageShell,云账单三 Tab 为标杆 - 主题体系:跟随系统 + 主流/开发者分组,新增 Dracula/Tokyo Night,One Dark 暖灰差异化 - 登录页/侧栏/顶栏去渐变光球,企业克制风 - 修复 AIAlertAnalyzer JSX 与构建依赖导入问题
This commit is contained in:
1 parent
1acb0c49af
commit
e363ded445
213 files changed
+7148
-6818
No files matched your search
@@ -65,7 +65,7 @@ export class ErrorBoundary extends Component<Props, State> {
|
||||
<div className="dg-card max-w-lg w-full p-8 text-center space-y-6">
|
||||
{/* Error Icon */}
|
||||
<div className="mx-auto w-16 h-16 rounded-2xl bg-red-500/10 flex items-center justify-center">
|
||||
<AlertTriangle className="h-8 w-8 text-red-400" />
|
||||
<AlertTriangle className="h-8 w-8 dg-text-red" />
|
||||
</div>
|
||||
|
||||
{/* Title */}
|
||||
@@ -87,7 +87,7 @@ export class ErrorBoundary extends Component<Props, State> {
|
||||
查看错误详情
|
||||
</summary>
|
||||
<div className="mt-2 p-3 rounded-lg bg-[var(--dg-bg-tertiary)] border border-[var(--dg-border)] overflow-auto max-h-48">
|
||||
<code className="text-xs text-red-400 font-mono block whitespace-pre-wrap">
|
||||
<code className="text-xs dg-text-red font-mono block whitespace-pre-wrap">
|
||||
{this.state.error.name}: {this.state.error.message}
|
||||
</code>
|
||||
{this.state.errorInfo && (
|
||||
|
||||
Reference in new issue
Block a user