feat: 修改样式
This commit is contained in:
parent
1caab83b17
commit
20e03d2992
@ -28,22 +28,22 @@ const Table: React.FC<{}> = () => {
|
||||
<ul className='grid grid-cols-4 gap-3 *:flex *:flex-col'>
|
||||
<li className='font-semibold'>
|
||||
<span className='font-normal text-[#225BA9]'>{t('createdAt')}</span>
|
||||
<time className={'text-base'}>{formatDate(item.created_at)}</time>
|
||||
<time className={''}>{formatDate(item.created_at)}</time>
|
||||
</li>
|
||||
<li className='font-semibold'>
|
||||
<span className='font-normal text-[#225BA9]'>{t('type.0')}</span>
|
||||
<span className={'text-base'}>{t(`type.${item.type}`)}</span>
|
||||
<span className={''}>{t(`type.${item.type}`)}</span>
|
||||
</li>
|
||||
<li className='font-semibold'>
|
||||
<span className='font-normal text-[#225BA9]'>{t('amount')}</span>
|
||||
<span className={'text-base'}>
|
||||
<span className={''}>
|
||||
<Display type='currency' value={item.amount} />
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<li className='font-semibold'>
|
||||
<span className='font-normal text-[#225BA9]'>{t('balance')}</span>
|
||||
<span className={'text-base'}>
|
||||
<span className={''}>
|
||||
<Display type='currency' value={item.balance} />
|
||||
</span>
|
||||
</li>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user