feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,6 +17,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
X as ActionX,
|
||||
ChevronRight as ActionChevronRight,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useState, useEffect, useContext } from 'react';
|
||||
import { Modal, RadioGroup, Radio, Button, Typography } from '@/components/ui';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@@ -28,15 +32,7 @@ import {
|
||||
showError,
|
||||
showWarning,
|
||||
} from '../../../helpers';
|
||||
import {
|
||||
Sparkles,
|
||||
Briefcase,
|
||||
Cpu,
|
||||
ChevronRight,
|
||||
UserCircle,
|
||||
X,
|
||||
LogOut,
|
||||
} from 'lucide-react';
|
||||
import { Sparkles, Briefcase, Cpu, UserCircle, LogOut } from 'lucide-react';
|
||||
import { UserContext } from '../../../context/User';
|
||||
|
||||
const { Title, Text } = Typography;
|
||||
@@ -148,10 +144,10 @@ const UserSurveyModal = ({ visible, onClose, onSuccess }) => {
|
||||
{/* 关闭按钮 */}
|
||||
<button
|
||||
onClick={handleCloseClick}
|
||||
className='absolute top-4 right-4 z-10 p-2 rounded-full bg-gray-100 hover:bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-600 transition-colors duration-200 group'
|
||||
className='app-action-button absolute top-4 right-4 z-10 p-2 rounded-full bg-gray-100 hover:bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-600 transition-colors duration-200 group'
|
||||
title={t('暂不填写')}
|
||||
>
|
||||
<X
|
||||
<ActionX
|
||||
size={18}
|
||||
className='text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200'
|
||||
/>
|
||||
@@ -326,7 +322,7 @@ const UserSurveyModal = ({ visible, onClose, onSuccess }) => {
|
||||
>
|
||||
<span className='flex items-center justify-center gap-2'>
|
||||
{t('开始使用')}
|
||||
<ChevronRight size={18} />
|
||||
<ActionChevronRight size={18} />
|
||||
</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user