feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题

This commit is contained in:
zhanjunhao
2026-11-10 14:08:10 +08:00
parent 28e924e371
commit 584728590b
202 changed files with 29195 additions and 12732 deletions
+11 -5
View File
@@ -108,14 +108,22 @@ const Status = () => {
height: 8,
borderRadius: '50%',
backgroundColor:
status === 1 ? 'var(--ui-color-success)' : status === 2 ? 'var(--ui-color-warning)' : 'var(--ui-color-danger)',
status === 1
? 'var(--ui-color-success)'
: status === 2
? 'var(--ui-color-warning)'
: 'var(--ui-color-danger)',
boxShadow: `0 0 4px ${status === 1 ? 'var(--ui-color-success)' : status === 2 ? 'var(--ui-color-warning)' : 'var(--ui-color-danger)'}`,
}}
/>
<Text
style={{
color:
status === 1 ? 'var(--ui-color-success)' : status === 2 ? 'var(--ui-color-warning)' : 'var(--ui-color-danger)',
status === 1
? 'var(--ui-color-success)'
: status === 2
? 'var(--ui-color-warning)'
: 'var(--ui-color-danger)',
}}
>
{text}
@@ -132,9 +140,7 @@ const Status = () => {
};
return (
<Layout
style={{ minHeight: '100vh', background: 'var(--ui-color-bg-0)' }}
>
<Layout style={{ minHeight: '100vh', background: 'var(--ui-color-bg-0)' }}>
<Content style={{ padding: '24px' }}>
<div style={{ maxWidth: 1200, margin: '0 auto' }}>
<div style={{ marginBottom: 24, textAlign: 'center' }}>