feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题

This commit is contained in:
zhanjunhao
2026-11-10 14:08:10 +08:00
parent 28e924e371
commit 584728590b
202 changed files with 29195 additions and 12732 deletions
@@ -17,13 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import React, { useState } from 'react';
import {
Form,
Button,
Typography,
Space,
Divider,
} from '@/components/ui';
import { Form, Button, Typography, Space, Divider } from '@/components/ui';
import { API, showError, showSuccess } from '../../../helpers';
import { useTranslation } from 'react-i18next';
@@ -105,7 +99,9 @@ const SettingsPaymentAlipay = ({ options, refresh }) => {
href='https://open.alipay.com'
target='_blank'
rel='noopener noreferrer'
>{t('支付宝开放平台')}</a>{' '}
>
{t('支付宝开放平台')}
</a>{' '}
{t('获取相关配置信息。')}
</Text>
@@ -151,7 +147,9 @@ const SettingsPaymentAlipay = ({ options, refresh }) => {
placeholder={
options.AlipayPrivateKey === '***ALREADY_SET***'
? t('已设置(留空不修改,填写新内容则更新)')
: t('请粘贴完整的 RSA2 私钥内容(包含 -----BEGIN PRIVATE KEY----- 等)')
: t(
'请粘贴完整的 RSA2 私钥内容(包含 -----BEGIN PRIVATE KEY----- 等)',
)
}
rows={6}
extraText={
@@ -235,7 +233,9 @@ const SettingsPaymentAlipay = ({ options, refresh }) => {
/>
<Space style={{ marginTop: 20 }}>
<Button type='primary' htmlType='submit' loading={loading}>{t('保存配置')}</Button>
<Button type='primary' htmlType='submit' loading={loading}>
{t('保存配置')}
</Button>
</Space>
</Form>
</>