feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等

This commit is contained in:
zhanjunhao
2026-11-10 17:27:36 +08:00
parent 23824dad32
commit 425077f94b
195 changed files with 3546 additions and 1984 deletions
+12 -6
View File
@@ -16,6 +16,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import {
Eye as ActionEye,
X as ActionX,
Download as ActionDownload,
Plus as ActionPlus,
} from '@/components/common/icons/ActionIcons';
import React, { useState, useEffect, useCallback, useContext } from 'react';
import { useTranslation } from 'react-i18next';
import {
@@ -32,7 +38,7 @@ import {
Empty,
Spin,
} from '@/components/ui';
import { Receipt, Plus, Download, Eye, X } from 'lucide-react';
import { Receipt } from 'lucide-react';
import UserCenterPageHeader from '../../components/common/UserCenterPageHeader';
import { API, showError, showSuccess } from '../../helpers';
import {
@@ -360,7 +366,7 @@ const Invoice = () => {
<Button
size='small'
theme='borderless'
icon={<Eye size={14} />}
icon={<ActionEye size={14} />}
onClick={() => handleViewDetail(record.id)}
>
{t('详情')}
@@ -370,7 +376,7 @@ const Invoice = () => {
size='small'
theme='borderless'
type='danger'
icon={<X size={14} />}
icon={<ActionX size={14} />}
onClick={() => handleCancel(record.id)}
>
{t('取消')}
@@ -380,7 +386,7 @@ const Invoice = () => {
<Button
size='small'
theme='borderless'
icon={<Download size={14} />}
icon={<ActionDownload size={14} />}
onClick={() =>
window.open(`/api/user/invoice/download/${record.id}`, '_blank')
}
@@ -500,7 +506,7 @@ const Invoice = () => {
<Button
theme='solid'
type='primary'
icon={<Plus size={16} />}
icon={<ActionPlus size={16} />}
loading={submitting}
onClick={handleSubmit}
disabled={selectedTopupIds.length === 0}
@@ -632,7 +638,7 @@ const Invoice = () => {
<Button
theme='solid'
type='primary'
icon={<Download size={16} />}
icon={<ActionDownload size={16} />}
block
onClick={() =>
window.open(