This commit is contained in:
2026-02-12 22:27:40 +08:00
parent 4bba4786cc
commit 78ff3d41c7
8 changed files with 36 additions and 9 deletions

View File

@@ -173,7 +173,7 @@ const CreateTopicModal = ({ visible, onClose, onSuccess, initialValues, isEditMo
open={visible}
onCancel={onClose}
footer={null}
destroyOnClose
destroyOnHidden
width={1000}
centered
maskClosable={false}

View File

@@ -64,7 +64,7 @@ const LoginModal = ({ visible, onClose, onLoginSuccess }) => {
open={visible}
onCancel={onClose}
footer={null}
destroyOnClose
destroyOnHidden
centered
>
<Form

View File

@@ -36,7 +36,8 @@ const AIServices = () => {
if (loading) {
return (
<div style={{ textAlign: 'center', padding: '100px 0' }}>
<Spin size="large" tip="Loading services..." />
<Spin size="large" />
<div style={{ marginTop: 20 }}>Loading services...</div>
</div>
);
}

View File

@@ -111,7 +111,7 @@ const Payment = () => {
}
};
if (loading) return <div style={{ padding: 50, textAlign: 'center' }}><Spin size="large" tip="正在加载订单信息..." /></div>;
if (loading) return <div style={{ padding: 50, textAlign: 'center' }}><Spin size="large" /><div style={{ marginTop: 20 }}>正在加载订单信息...</div></div>;
if (paySuccess) {
return (
@@ -180,8 +180,9 @@ const Payment = () => {
<p style={{ color: '#666', fontSize: 14 }}>支付完成后将自动跳转</p>
</>
) : (
<div style={{ padding: '40px 0' }}>
<Spin tip="正在生成支付二维码..." />
<div style={{ padding: '40px 0', textAlign: 'center' }}>
<Spin />
<div style={{ marginTop: 10 }}>正在生成支付二维码...</div>
</div>
)}
</div>

View File

@@ -64,7 +64,8 @@ const ServiceDetail = () => {
if (loading) {
return (
<div style={{ textAlign: 'center', padding: '100px 0' }}>
<Spin size="large" tip="Loading..." />
<Spin size="large" />
<div style={{ marginTop: 20 }}>Loading...</div>
</div>
);
}

View File

@@ -61,7 +61,8 @@ const VCCourseDetail = () => {
if (loading) {
return (
<div style={{ textAlign: 'center', padding: '100px 0' }}>
<Spin size="large" tip="Loading..." />
<Spin size="large" />
<div style={{ marginTop: 20 }}>Loading...</div>
</div>
);
}