feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
+11
-11
@@ -26,8 +26,8 @@ import {
|
||||
Progress,
|
||||
Spin,
|
||||
Empty,
|
||||
} from '@douyinfe/semi-ui';
|
||||
import { Iconbolt, IconActivity } from '@douyinfe/semi-icons';
|
||||
} from '@/components/ui';
|
||||
import { Iconbolt, IconActivity } from '@/components/ui/icons';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API, showError } from '../../helpers';
|
||||
|
||||
@@ -79,7 +79,7 @@ const Status = () => {
|
||||
? 'red'
|
||||
: color === 'warning'
|
||||
? 'orange'
|
||||
: 'var(--semi-color-success)'
|
||||
: 'var(--ui-color-success)'
|
||||
}
|
||||
size='small'
|
||||
style={{ height: 8 }}
|
||||
@@ -108,14 +108,14 @@ const Status = () => {
|
||||
height: 8,
|
||||
borderRadius: '50%',
|
||||
backgroundColor:
|
||||
status === 1 ? 'var(--semi-color-success)' : status === 2 ? 'var(--semi-color-warning)' : 'var(--semi-color-danger)',
|
||||
boxShadow: `0 0 4px ${status === 1 ? 'var(--semi-color-success)' : status === 2 ? 'var(--semi-color-warning)' : 'var(--semi-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(--semi-color-success)' : status === 2 ? 'var(--semi-color-warning)' : 'var(--semi-color-danger)',
|
||||
status === 1 ? 'var(--ui-color-success)' : status === 2 ? 'var(--ui-color-warning)' : 'var(--ui-color-danger)',
|
||||
}}
|
||||
>
|
||||
{text}
|
||||
@@ -133,7 +133,7 @@ const Status = () => {
|
||||
|
||||
return (
|
||||
<Layout
|
||||
style={{ minHeight: '100vh', background: 'var(--semi-color-bg-0)' }}
|
||||
style={{ minHeight: '100vh', background: 'var(--ui-color-bg-0)' }}
|
||||
>
|
||||
<Content style={{ padding: '24px' }}>
|
||||
<div style={{ maxWidth: 1200, margin: '0 auto' }}>
|
||||
@@ -161,7 +161,7 @@ const Status = () => {
|
||||
<Empty
|
||||
image={
|
||||
<IconActivity
|
||||
style={{ fontSize: 48, color: 'var(--semi-color-text-2)' }}
|
||||
style={{ fontSize: 48, color: 'var(--ui-color-text-2)' }}
|
||||
/>
|
||||
}
|
||||
description={t('No data available')}
|
||||
@@ -177,7 +177,7 @@ const Status = () => {
|
||||
boxShadow: '0 4px 12px rgba(0,0,0,0.05)',
|
||||
}}
|
||||
headerStyle={{
|
||||
borderBottom: '1px solid var(--semi-color-border)',
|
||||
borderBottom: '1px solid var(--ui-color-border)',
|
||||
}}
|
||||
bodyStyle={{ padding: '20px' }}
|
||||
>
|
||||
@@ -187,9 +187,9 @@ const Status = () => {
|
||||
<div
|
||||
style={{
|
||||
padding: 16,
|
||||
border: '1px solid var(--semi-color-border)',
|
||||
border: '1px solid var(--ui-color-border)',
|
||||
borderRadius: 8,
|
||||
background: 'var(--semi-color-bg-1)',
|
||||
background: 'var(--ui-color-bg-1)',
|
||||
transition: 'all 0.3s',
|
||||
height: '100%',
|
||||
':hover': {
|
||||
|
||||
Reference in New Issue
Block a user