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 {
|
||||
Zap as ActionZap,
|
||||
UserPlus as ActionUserPlus,
|
||||
Copy as ActionCopy,
|
||||
Link as ActionLink,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useState, useEffect, useContext, useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import {
|
||||
@@ -31,12 +37,10 @@ import {
|
||||
Tag,
|
||||
} from '@/components/ui';
|
||||
import {
|
||||
Copy,
|
||||
Users,
|
||||
BarChart2,
|
||||
TrendingUp,
|
||||
Gift,
|
||||
Zap,
|
||||
CreditCard,
|
||||
DollarSign,
|
||||
UserPlus,
|
||||
@@ -365,7 +369,7 @@ const Invite = () => {
|
||||
setTransferAmount(stats.current_aff_quota || 0);
|
||||
setOpenTransfer(true);
|
||||
}}
|
||||
icon={<Zap size={15} />}
|
||||
icon={<ActionZap size={15} />}
|
||||
className='!rounded-full !border-0 !bg-gradient-to-r !from-rose-500 !to-orange-400 !px-4 !shadow-lg !shadow-rose-500/20'
|
||||
>
|
||||
{t('\u5212\u8f6c\u5230\u4f59\u989d')}
|
||||
@@ -375,7 +379,7 @@ const Invite = () => {
|
||||
<Button
|
||||
theme='light'
|
||||
type='primary'
|
||||
icon={<UserPlus size={15} />}
|
||||
icon={<ActionUserPlus size={15} />}
|
||||
onClick={() => setOpenBindInviter(true)}
|
||||
className='!rounded-full !border !border-sky-200 !bg-sky-50/80 !px-4 !text-sky-700 dark:!border-sky-400/20 dark:!bg-sky-400/[0.08] dark:!text-sky-300'
|
||||
>
|
||||
@@ -458,7 +462,7 @@ const Invite = () => {
|
||||
theme='solid'
|
||||
size='large'
|
||||
onClick={handleCopyLink}
|
||||
icon={<Copy size={16} />}
|
||||
icon={<ActionCopy size={16} />}
|
||||
className='!rounded-full !border-0 !bg-gradient-to-r !from-rose-500 !to-orange-400 !px-6 !shadow-lg !shadow-rose-500/20'
|
||||
>
|
||||
{t('\u590d\u5236')}
|
||||
@@ -537,7 +541,7 @@ const Invite = () => {
|
||||
type='primary'
|
||||
theme='solid'
|
||||
onClick={() => setOpenBindInviter(true)}
|
||||
icon={<Link size={16} />}
|
||||
icon={<ActionLink size={16} />}
|
||||
className='!rounded-full !border-0 !bg-gradient-to-r !from-sky-500 !to-cyan-400 !px-5'
|
||||
>
|
||||
{t('\u7ed1\u5b9a')}
|
||||
|
||||
Reference in New Issue
Block a user