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
+9 -5
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 {
RotateCcw as ActionRotateCcw,
X as ActionX,
} from '@/components/common/icons/ActionIcons';
import React, { useRef, useState } from 'react';
import { Spin, Tooltip } from '@/components/ui';
import { ImagePlus, RotateCcw, X } from 'lucide-react';
import { ImagePlus } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import './creation-params.css';
@@ -204,13 +208,13 @@ const ImageSlot = ({
{onRetry ? (
<button
type='button'
className='cp-slot-action'
className='app-action-button cp-slot-action'
onClick={(e) => {
e.stopPropagation();
onRetry();
}}
>
<RotateCcw size={14} aria-hidden='true' />
<ActionRotateCcw size={14} aria-hidden='true' />
<span>{t('重试')}</span>
</button>
) : null}
@@ -224,7 +228,7 @@ const ImageSlot = ({
{status !== 'empty' && onRemove && !disabled ? (
<button
type='button'
className='cp-slot-remove'
className='app-action-button cp-slot-remove'
aria-label={t('移除{{label}}', { label: labelText })}
title={t('移除')}
onClick={(e) => {
@@ -232,7 +236,7 @@ const ImageSlot = ({
onRemove();
}}
>
<X size={14} aria-hidden='true' />
<ActionX size={14} aria-hidden='true' />
</button>
) : null}