feat: 1.升级 Ant Design Ui 至 v6 2. 修复企业充值金额输入限制
This commit is contained in:
@@ -40,7 +40,7 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
|
||||
return (
|
||||
<div className='flex flex-col gap-4'>
|
||||
<Card className='shadow-sm' bodyStyle={{ padding: '16px 20px' }}>
|
||||
<Card className='shadow-sm' styles={{ body: { padding: '16px 20px' } }}>
|
||||
<div className='flex flex-col md:flex-row md:items-center md:justify-between gap-3'>
|
||||
<div className='min-w-0'>
|
||||
<div className='text-xs font-semibold tracking-wider text-brand mb-1'>
|
||||
|
||||
@@ -40,7 +40,7 @@ export const SectionCard = ({
|
||||
{extra}
|
||||
</div>
|
||||
}
|
||||
bodyStyle={{ padding: '16px', ...bodyStyle }}
|
||||
styles={{ body: { padding: '16px', ...bodyStyle } }}
|
||||
>
|
||||
{children}
|
||||
</Card>
|
||||
@@ -106,11 +106,11 @@ export const KpiCard = ({
|
||||
}) => (
|
||||
<Card
|
||||
className={`shadow-sm border-none transition-shadow ${onClick ? 'cursor-pointer hover:shadow-md' : ''}`}
|
||||
bodyStyle={{ padding: '14px 16px' }}
|
||||
onClick={onClick}
|
||||
style={{
|
||||
borderLeft: `3px solid ${accent || 'var(--ui-color-primary)'}`,
|
||||
}}
|
||||
styles={{ body: { padding: '14px 16px' } }}
|
||||
>
|
||||
<div className='flex items-center gap-1 text-xs text-gray-500 dark:text-gray-400 mb-1'>
|
||||
<span className='truncate'>{title}</span>
|
||||
|
||||
Reference in New Issue
Block a user