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

This commit is contained in:
zhanjunhao
2026-11-10 17:27:36 +08:00
parent 5463a0c772
commit ed9820e6a6
195 changed files with 3546 additions and 1984 deletions
+11 -3
View File
@@ -17,9 +17,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import {
Copy as ActionCopy,
ChevronUp as ActionChevronUp,
ChevronDown as ActionChevronDown,
} from '@/components/common/icons/ActionIcons';
import React, { useState, useMemo, useCallback } from 'react';
import { Button, Tooltip, Toast } from '@/components/ui';
import { Copy, ChevronDown, ChevronUp } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { copy } from '../../helpers';
@@ -256,7 +260,7 @@ const CodeViewer = ({ content, title, language = 'json' }) => {
>
<Tooltip content={copied ? t('已复制') : t('复制代码')}>
<Button
icon={<Copy size={14} />}
icon={<ActionCopy size={14} />}
onClick={handleCopy}
size='small'
theme='borderless'
@@ -319,7 +323,11 @@ const CodeViewer = ({ content, title, language = 'json' }) => {
<Tooltip content={isExpanded ? t('收起内容') : t('显示完整内容')}>
<Button
icon={
isExpanded ? <ChevronUp size={14} /> : <ChevronDown size={14} />
isExpanded ? (
<ActionChevronUp size={14} />
) : (
<ActionChevronDown size={14} />
)
}
onClick={handleToggleExpand}
size='small'