feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -29,7 +29,7 @@ import {
|
||||
Col,
|
||||
Space,
|
||||
Typography,
|
||||
} from '@douyinfe/semi-ui';
|
||||
} from '@/components/ui';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { UserContext } from '../../context/User';
|
||||
import { API, showError, showSuccess, renderQuota } from '../../helpers';
|
||||
@@ -255,7 +255,7 @@ const RechargeV2 = () => {
|
||||
<div
|
||||
className='discount-info'
|
||||
style={{
|
||||
color: 'var(--semi-color-success)',
|
||||
color: 'var(--ui-color-success)',
|
||||
marginTop: 5,
|
||||
}}
|
||||
>
|
||||
@@ -300,7 +300,7 @@ const RechargeV2 = () => {
|
||||
<div>
|
||||
<Text type='secondary'>{t('实付:')}</Text>
|
||||
<Text
|
||||
style={{ fontSize: 24, color: 'var(--semi-color-danger)' }}
|
||||
style={{ fontSize: 24, color: 'var(--ui-color-danger)' }}
|
||||
strong
|
||||
>
|
||||
¥{payInfo.pay_money.toFixed(2)}
|
||||
@@ -313,7 +313,7 @@ const RechargeV2 = () => {
|
||||
{payInfo.save_money > 0 && (
|
||||
<div>
|
||||
<Text type='secondary'>{t('节省:')}</Text>
|
||||
<Text style={{ color: 'var(--semi-color-success)' }}>
|
||||
<Text style={{ color: 'var(--ui-color-success)' }}>
|
||||
¥{payInfo.save_money.toFixed(2)}
|
||||
</Text>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user