feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -16,18 +16,14 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
import {
|
||||
X as ActionX,
|
||||
ArrowRight as ActionArrowRight,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import { Modal, Button, Typography } from '@/components/ui';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import {
|
||||
Gift,
|
||||
ArrowRight,
|
||||
Sparkles,
|
||||
X,
|
||||
Wallet,
|
||||
KeyRound,
|
||||
Star,
|
||||
} from 'lucide-react';
|
||||
import { Gift, Sparkles, Wallet, KeyRound, Star } from 'lucide-react';
|
||||
import { renderQuota } from '../../../helpers';
|
||||
|
||||
const { Text } = Typography;
|
||||
@@ -65,10 +61,10 @@ const NewUserGiftModal = ({ visible, onClose, quota }) => {
|
||||
{/* 关闭按钮 */}
|
||||
<button
|
||||
onClick={onClose}
|
||||
className='absolute top-3.5 right-3.5 z-20 w-7 h-7 rounded-full bg-white/20 hover:bg-white/35 flex items-center justify-center transition-colors duration-150'
|
||||
className='app-action-button absolute top-3.5 right-3.5 z-20 w-7 h-7 rounded-full bg-white/20 hover:bg-white/35 flex items-center justify-center transition-colors duration-150'
|
||||
aria-label={t('关闭')}
|
||||
>
|
||||
<X size={14} className='text-white' />
|
||||
<ActionX size={14} className='text-white' />
|
||||
</button>
|
||||
|
||||
{/* 头部 */}
|
||||
@@ -158,7 +154,7 @@ const NewUserGiftModal = ({ visible, onClose, quota }) => {
|
||||
>
|
||||
<span className='flex items-center justify-center gap-2 text-white'>
|
||||
{t('马上试一试')}
|
||||
<ArrowRight size={16} />
|
||||
<ActionArrowRight size={16} />
|
||||
</span>
|
||||
</Button>
|
||||
<p className='text-gray-400 dark:text-gray-500 text-xs text-center mt-2.5 leading-relaxed'>
|
||||
|
||||
Reference in New Issue
Block a user