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
+153 -30
View File
@@ -33,8 +33,14 @@ export const IllustrationNoResult = ({ style = {} }) => (
<stop offset='100%' stopColor='var(--brand-gradient-via)' />
</linearGradient>
<linearGradient id='noResultGrad2' x1='0%' y1='0%' x2='100%' y2='100%'>
<stop offset='0%' stopColor='color-mix(in srgb, var(--brand-primary) 12%, #fff)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--brand-primary) 20%, #fff)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--brand-primary) 12%, #fff)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--brand-primary) 20%, #fff)'
/>
</linearGradient>
<filter id='noResultShadow' x='-20%' y='-20%' width='140%' height='140%'>
<feDropShadow
@@ -99,7 +105,13 @@ export const IllustrationNoResult = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='160' cy='50' r='3' fill='var(--brand-gradient-via)' opacity='0.5'>
<circle
cx='160'
cy='50'
r='3'
fill='var(--brand-gradient-via)'
opacity='0.5'
>
<animate
attributeName='opacity'
values='0.5;1;0.5'
@@ -107,7 +119,13 @@ export const IllustrationNoResult = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='155' cy='140' r='5' fill='var(--brand-gradient-to)' opacity='0.3'>
<circle
cx='155'
cy='140'
r='5'
fill='var(--brand-gradient-to)'
opacity='0.3'
>
<animate
attributeName='opacity'
values='0.3;0.7;0.3'
@@ -143,8 +161,14 @@ export const IllustrationNoResultDark = ({ style = {} }) => (
x2='100%'
y2='100%'
>
<stop offset='0%' stopColor='color-mix(in srgb, var(--brand-primary) 25%, #000)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--brand-gradient-via) 25%, #000)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--brand-primary) 25%, #000)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--brand-gradient-via) 25%, #000)'
/>
</linearGradient>
</defs>
<circle
@@ -200,7 +224,13 @@ export const IllustrationNoResultDark = ({ style = {} }) => (
strokeLinecap='round'
/>
</g>
<circle cx='45' cy='60' r='4' fill='var(--brand-gradient-from)' opacity='0.5'>
<circle
cx='45'
cy='60'
r='4'
fill='var(--brand-gradient-from)'
opacity='0.5'
>
<animate
attributeName='opacity'
values='0.5;1;0.5'
@@ -208,7 +238,13 @@ export const IllustrationNoResultDark = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='160' cy='50' r='3' fill='var(--brand-gradient-to)' opacity='0.6'>
<circle
cx='160'
cy='50'
r='3'
fill='var(--brand-gradient-to)'
opacity='0.6'
>
<animate
attributeName='opacity'
values='0.6;1;0.6'
@@ -216,7 +252,13 @@ export const IllustrationNoResultDark = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='155' cy='140' r='5' fill='var(--brand-primary-hover)' opacity='0.4'>
<circle
cx='155'
cy='140'
r='5'
fill='var(--brand-primary-hover)'
opacity='0.4'
>
<animate
attributeName='opacity'
values='0.4;0.8;0.4'
@@ -241,8 +283,14 @@ export const IllustrationNotFound = ({ style = {} }) => (
<stop offset='100%' stopColor='var(--ui-color-danger)' />
</linearGradient>
<linearGradient id='notFoundGrad2' x1='0%' y1='0%' x2='100%' y2='100%'>
<stop offset='0%' stopColor='color-mix(in srgb, var(--ui-color-warning) 15%, #fff)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--ui-color-danger) 25%, #fff)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--ui-color-warning) 15%, #fff)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--ui-color-danger) 25%, #fff)'
/>
</linearGradient>
</defs>
{/* 背景 */}
@@ -330,8 +378,14 @@ export const IllustrationNotFoundDark = ({ style = {} }) => (
x2='100%'
y2='100%'
>
<stop offset='0%' stopColor='color-mix(in srgb, var(--ui-color-warning) 30%, #000)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--ui-color-danger) 30%, #000)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--ui-color-warning) 30%, #000)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--ui-color-danger) 30%, #000)'
/>
</linearGradient>
</defs>
<circle
@@ -410,7 +464,10 @@ export const IllustrationNoAccess = ({ style = {} }) => (
</linearGradient>
<linearGradient id='noAccessGrad2' x1='0%' y1='0%' x2='100%' y2='100%'>
<stop offset='0%' stopColor='#fce7f3' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--brand-gradient-via) 10%, #fff)' />
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--brand-gradient-via) 10%, #fff)'
/>
</linearGradient>
</defs>
{/* 背景 */}
@@ -444,7 +501,13 @@ export const IllustrationNoAccess = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='160' cy='130' r='5' fill='var(--brand-gradient-via)' opacity='0.4'>
<circle
cx='160'
cy='130'
r='5'
fill='var(--brand-gradient-via)'
opacity='0.4'
>
<animate
attributeName='r'
values='5;7;5'
@@ -480,8 +543,14 @@ export const IllustrationNoAccessDark = ({ style = {} }) => (
x2='100%'
y2='100%'
>
<stop offset='0%' stopColor='color-mix(in srgb, var(--ui-color-danger) 30%, #000)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--brand-gradient-via) 25%, #000)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--ui-color-danger) 30%, #000)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--brand-gradient-via) 25%, #000)'
/>
</linearGradient>
</defs>
<circle
@@ -499,8 +568,20 @@ export const IllustrationNoAccessDark = ({ style = {} }) => (
rx='8'
fill='url(#noAccessGradDark1)'
/>
<circle cx='100' cy='112' r='8' fill='color-mix(in srgb, var(--brand-primary) 15%, #000)' />
<rect x='96' y='112' width='8' height='18' rx='2' fill='color-mix(in srgb, var(--brand-primary) 15%, #000)' />
<circle
cx='100'
cy='112'
r='8'
fill='color-mix(in srgb, var(--brand-primary) 15%, #000)'
/>
<rect
x='96'
y='112'
width='8'
height='18'
rx='2'
fill='color-mix(in srgb, var(--brand-primary) 15%, #000)'
/>
<path
d='M75 90 V70 C75 55 85 45 100 45 C115 45 125 55 125 70 V90'
stroke='url(#noAccessGradDark1)'
@@ -516,7 +597,13 @@ export const IllustrationNoAccessDark = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='160' cy='130' r='5' fill='var(--brand-gradient-to)' opacity='0.5'>
<circle
cx='160'
cy='130'
r='5'
fill='var(--brand-gradient-to)'
opacity='0.5'
>
<animate
attributeName='r'
values='5;7;5'
@@ -541,8 +628,14 @@ export const IllustrationConstruction = ({ style = {} }) => (
<stop offset='100%' stopColor='var(--accent-teal)' />
</linearGradient>
<linearGradient id='constructGrad2' x1='0%' y1='0%' x2='100%' y2='100%'>
<stop offset='0%' stopColor='color-mix(in srgb, var(--ui-color-success) 15%, #fff)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--accent-teal) 15%, #fff)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--ui-color-success) 15%, #fff)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--accent-teal) 15%, #fff)'
/>
</linearGradient>
</defs>
{/* 背景 */}
@@ -670,8 +763,14 @@ export const IllustrationConstructionDark = ({ style = {} }) => (
x2='100%'
y2='100%'
>
<stop offset='0%' stopColor='color-mix(in srgb, var(--ui-color-success) 25%, #000)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--accent-teal) 25%, #000)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--ui-color-success) 25%, #000)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--accent-teal) 25%, #000)'
/>
</linearGradient>
</defs>
<circle
@@ -783,8 +882,14 @@ export const IllustrationNoContent = ({ style = {} }) => (
<stop offset='100%' stopColor='var(--brand-gradient-via)' />
</linearGradient>
<linearGradient id='noContentGrad2' x1='0%' y1='0%' x2='100%' y2='100%'>
<stop offset='0%' stopColor='color-mix(in srgb, var(--accent-blue) 12%, #fff)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--brand-gradient-via) 10%, #fff)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--accent-blue) 12%, #fff)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--brand-gradient-via) 10%, #fff)'
/>
</linearGradient>
</defs>
{/* 背景 */}
@@ -846,7 +951,13 @@ export const IllustrationNoContent = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='40' cy='145' r='3' fill='var(--brand-gradient-via)' opacity='0.4'>
<circle
cx='40'
cy='145'
r='3'
fill='var(--brand-gradient-via)'
opacity='0.4'
>
<animate
attributeName='opacity'
values='0.4;0.8;0.4'
@@ -882,8 +993,14 @@ export const IllustrationNoContentDark = ({ style = {} }) => (
x2='100%'
y2='100%'
>
<stop offset='0%' stopColor='color-mix(in srgb, var(--accent-blue) 25%, #000)' />
<stop offset='100%' stopColor='color-mix(in srgb, var(--brand-gradient-via) 25%, #000)' />
<stop
offset='0%'
stopColor='color-mix(in srgb, var(--accent-blue) 25%, #000)'
/>
<stop
offset='100%'
stopColor='color-mix(in srgb, var(--brand-gradient-via) 25%, #000)'
/>
</linearGradient>
</defs>
<circle
@@ -941,7 +1058,13 @@ export const IllustrationNoContentDark = ({ style = {} }) => (
repeatCount='indefinite'
/>
</circle>
<circle cx='40' cy='145' r='3' fill='var(--brand-gradient-to)' opacity='0.5'>
<circle
cx='40'
cy='145'
r='3'
fill='var(--brand-gradient-to)'
opacity='0.5'
>
<animate
attributeName='opacity'
values='0.5;0.9;0.5'