feat: 1.升级 Ant Design Ui 至 v6 2. 修复企业充值金额输入限制

This commit is contained in:
zhanjunhao
2026-11-10 18:49:38 +08:00
parent 6ea8a0f7c2
commit 7364edd68c
106 changed files with 1417 additions and 1010 deletions
+2 -2
View File
@@ -135,7 +135,7 @@ const NoticeModal = ({
if (loading) {
return (
<div className='nm-empty'>
<Spin tip={t('加载中...')}>
<Spin description={t('加载中...')}>
<div className='nm-spin-placeholder' />
</Spin>
</div>
@@ -213,7 +213,6 @@ const NoticeModal = ({
'--nm-tab-bg': token.colorBgLayout,
'--nm-primary': token.colorPrimary,
}}
maskClosable={true}
footer={
<div className='nm-footer'>
<Checkbox
@@ -230,6 +229,7 @@ const NoticeModal = ({
</Button>
</div>
}
mask={{ closable: true }}
>
<Segmented
block
@@ -203,7 +203,7 @@ const ActionButtons = ({
{/* Divider:原型仅在主操作与工具按钮之间保留一条竖线 */}
{hasPrimaryActions && hasUtilityActions && (
<Divider type='vertical' className='ui-header-actions-divider' />
<Divider orientation='vertical' className='ui-header-actions-divider' />
)}
{isActionVisible('newYear') && (
+1 -1
View File
@@ -147,7 +147,6 @@ const UserArea = ({
placement='bottomRight'
open={open}
onOpenChange={setOpen}
overlayClassName='ui-account-dropdown'
menu={{ items, onClick: () => setOpen(false) }}
popupRender={(menu) => (
<div className='ui-account-panel'>
@@ -168,6 +167,7 @@ const UserArea = ({
{menu}
</div>
)}
classNames={{ root: 'ui-account-dropdown' }}
>
<AntButton
type='text'
+2 -2
View File
@@ -7,7 +7,7 @@
padding-bottom: 24px;
color: var(--nm-text);
}
.notice-modal .ant-modal-content {
.notice-modal .ant-modal-container {
padding: 20px 24px;
background: var(--nm-surface);
border-radius: 12px;
@@ -175,7 +175,7 @@
.notice-modal.ant-modal {
top: 24px;
}
.notice-modal .ant-modal-content {
.notice-modal .ant-modal-container {
padding: 20px 16px;
}
.nm-notice-scroll,