feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -31,7 +31,7 @@ import {
|
||||
Typography,
|
||||
Empty,
|
||||
Spin,
|
||||
} from '@douyinfe/semi-ui';
|
||||
} from '@/components/ui';
|
||||
import {
|
||||
Receipt,
|
||||
Plus,
|
||||
@@ -39,6 +39,7 @@ import {
|
||||
Eye,
|
||||
X,
|
||||
} from 'lucide-react';
|
||||
import UserCenterPageHeader from '../../components/common/UserCenterPageHeader';
|
||||
import { API, showError, showSuccess } from '../../helpers';
|
||||
import {
|
||||
INVOICE_STATUS,
|
||||
@@ -400,13 +401,8 @@ const Invoice = () => {
|
||||
|
||||
if (!nuonuoEnabled) {
|
||||
return (
|
||||
<div className='p-4 sm:p-6'>
|
||||
<div className='flex items-center gap-2 mb-4'>
|
||||
<Receipt size={22} className='text-amber-500' />
|
||||
<h1 className='text-xl font-bold text-gray-900 dark:text-white'>
|
||||
{t('发票管理')}
|
||||
</h1>
|
||||
</div>
|
||||
<div className='uc-page'>
|
||||
<UserCenterPageHeader title={t('发票管理')} />
|
||||
<Empty
|
||||
image={<Receipt size={64} className='text-gray-300' />}
|
||||
title={t('发票功能暂未开放')}
|
||||
@@ -417,13 +413,8 @@ const Invoice = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='p-4 sm:p-6'>
|
||||
<div className='flex items-center gap-2 mb-4'>
|
||||
<Receipt size={22} className='text-amber-500' />
|
||||
<h1 className='text-xl font-bold text-gray-900 dark:text-white'>
|
||||
{t('发票管理')}
|
||||
</h1>
|
||||
</div>
|
||||
<div className='uc-page'>
|
||||
<UserCenterPageHeader title={t('发票管理')} />
|
||||
|
||||
<Tabs type='line'>
|
||||
<TabPane tab={t('申请开票')} itemKey='apply'>
|
||||
|
||||
Reference in New Issue
Block a user