feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -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 {
|
||||
Copy as ActionCopy,
|
||||
ReceiptText as ActionReceiptText,
|
||||
ChevronRight as ActionChevronRight,
|
||||
Pencil as ActionPencil,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import {
|
||||
Badge,
|
||||
@@ -32,13 +38,10 @@ import {
|
||||
Typography,
|
||||
} from '@/components/ui';
|
||||
import {
|
||||
ChevronRight,
|
||||
Copy,
|
||||
CreditCard,
|
||||
Info,
|
||||
Megaphone,
|
||||
Network,
|
||||
Pencil,
|
||||
ReceiptText,
|
||||
Users,
|
||||
Wallet,
|
||||
@@ -163,11 +166,11 @@ const PartnerCodeChip = ({ code, t }) => (
|
||||
if (await copy(code)) showSuccess(t('伙伴编号已复制'));
|
||||
else showError(t('复制失败,请手动复制'));
|
||||
}}
|
||||
className='flex items-center gap-1.5 px-2.5 py-1 rounded-md bg-brand/10 text-brand-deep hover:bg-brand/20 transition-colors text-xs font-mono font-semibold cursor-pointer border-none'
|
||||
className='app-action-button flex items-center gap-1.5 px-2.5 py-1 rounded-md bg-brand/10 text-brand-deep hover:bg-brand/20 transition-colors text-xs font-mono font-semibold cursor-pointer border-none'
|
||||
title={t('点击复制')}
|
||||
>
|
||||
{code}
|
||||
<Copy size={12} />
|
||||
<ActionCopy size={12} />
|
||||
</button>
|
||||
);
|
||||
|
||||
@@ -340,17 +343,17 @@ function Overview({ dashboard, t, onGoto }) {
|
||||
<button
|
||||
type='button'
|
||||
onClick={() => onGoto?.('bills')}
|
||||
className='w-full flex items-center justify-between gap-2 rounded-lg bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-800 px-4 py-3 mt-4 cursor-pointer hover:bg-orange-100 dark:hover:bg-orange-900/30 transition-colors'
|
||||
className='app-action-button w-full flex items-center justify-between gap-2 rounded-lg bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-800 px-4 py-3 mt-4 cursor-pointer hover:bg-orange-100 dark:hover:bg-orange-900/30 transition-colors'
|
||||
>
|
||||
<span className='flex items-center gap-2 text-sm text-orange-700 dark:text-orange-300'>
|
||||
<ReceiptText size={15} className='flex-shrink-0' />
|
||||
<ActionReceiptText size={15} className='flex-shrink-0' />
|
||||
{t('您有 {{n}} 张账单待确认,请尽快核对——确认后才会进入打款流程', {
|
||||
n: pendingBills,
|
||||
})}
|
||||
</span>
|
||||
<span className='flex items-center gap-0.5 text-sm font-medium text-orange-700 dark:text-orange-300 flex-shrink-0'>
|
||||
{t('去确认')}
|
||||
<ChevronRight size={15} />
|
||||
<ActionChevronRight size={15} />
|
||||
</span>
|
||||
</button>
|
||||
)}
|
||||
@@ -1157,7 +1160,7 @@ function PayoutAccount({ t, readOnly }) {
|
||||
</div>
|
||||
{!readOnly && (
|
||||
<Button
|
||||
icon={<Pencil size={14} />}
|
||||
icon={<ActionPencil size={14} />}
|
||||
size='small'
|
||||
onClick={() => setEditing(true)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user