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

This commit is contained in:
zhanjunhao
2026-11-10 18:49:38 +08:00
parent ed9820e6a6
commit 4ffe9dadbf
106 changed files with 1417 additions and 1010 deletions
@@ -147,7 +147,7 @@ const ImageDetailModal = ({
footer={
// wrap 必须开:三个中文按钮(用作参考图/在此基础上微调/下载图片)合计 ~370px,
// 而 modalWidth 是 viewportWidth-48,390px 屏上扣掉 content 的 padding 只剩 ~294px。
// Space 默认 wrap:false + .ant-modal-content{overflow:hidden},
// Space 默认 wrap:false + .ant-modal-container{overflow:hidden},
// 溢出部分向左溢出并被裁掉 —— 「用作参考图」整个点不到。
<Space wrap style={{ justifyContent: 'flex-end', width: '100%' }}>
{onUseAsReference && task.imageUrl && (
@@ -926,10 +926,10 @@ const ImageTaskList = ({
<Image
src={previewImageUrl}
preview={{
visible: previewVisible,
open: previewVisible,
src: previewImageUrl,
onDownload: handlePreviewDownload,
onVisibleChange: (visible) => {
onOpenChange: (visible) => {
setPreviewVisible(visible);
if (!visible) {
setPreviewImageUrl('');
@@ -208,6 +208,6 @@
padding: 12px 16px;
}
.vip-advanced .ant-collapse-content-box {
.vip-advanced .ant-collapse-body {
padding: 4px 16px 16px;
}
@@ -53,7 +53,7 @@ const VideoModelPanel = ({
<Card
title={t('选择模型')}
style={{ marginBottom: '16px' }}
bodyStyle={{ padding: '12px' }}
styles={{ body: { padding: '12px' } }}
>
<ModelSelector
key={mode}
@@ -74,7 +74,7 @@ const VideoModelPanel = ({
<Card
title={t('模型信息')}
style={{ marginBottom: '16px' }}
bodyStyle={{ padding: '12px' }}
styles={{ body: { padding: '12px' } }}
>
<Space vertical spacing='medium' style={{ width: '100%' }}>
{/* 厂商 */}
@@ -125,7 +125,7 @@ const VideoModelPanel = ({
<span>{t('模型价格')}</span>
</div>
}
bodyStyle={{ padding: '12px' }}
styles={{ body: { padding: '12px' } }}
>
<div
style={{
@@ -889,12 +889,14 @@ const VideoPreviewPanel = ({
return (
<Card
style={{ height: '100%', display: 'flex', flexDirection: 'column' }}
bodyStyle={{
flex: 1,
display: 'flex',
flexDirection: 'column',
overflow: 'hidden',
padding: 0,
styles={{
body: {
flex: 1,
display: 'flex',
flexDirection: 'column',
overflow: 'hidden',
padding: 0,
},
}}
>
{/* 始终显示的顶部操作栏 */}