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 {
|
||||
Check as ActionCheck,
|
||||
Copy as ActionCopy,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import { writeClipboardText } from '../../helpers/clipboard';
|
||||
import TableEmpty from '../../components/common/table/TableEmpty';
|
||||
import TableToolbar from '../../components/common/table/TableToolbar';
|
||||
@@ -26,7 +30,7 @@ import {
|
||||
} from '../../components/console/ConsolePrimitives';
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Search, Copy, Check } from 'lucide-react';
|
||||
import { Search } from 'lucide-react';
|
||||
import {
|
||||
Table,
|
||||
Input,
|
||||
@@ -245,14 +249,14 @@ const AdminOrder = () => {
|
||||
{text}
|
||||
</span>
|
||||
<button
|
||||
className='flex-shrink-0 p-0.5 rounded hover:bg-gray-100 dark:hover:bg-neutral-700 cursor-pointer bg-transparent border-none'
|
||||
className='app-action-button flex-shrink-0 p-0.5 rounded hover:bg-gray-100 dark:hover:bg-neutral-700 cursor-pointer bg-transparent border-none'
|
||||
onClick={() => copyText(text, `trade-${record.id}`)}
|
||||
title={t('复制订单号')}
|
||||
>
|
||||
{copiedId === `trade-${record.id}` ? (
|
||||
<Check size={12} className='text-green-500' />
|
||||
<ActionCheck size={12} className='text-green-500' />
|
||||
) : (
|
||||
<Copy size={12} className='text-gray-400' />
|
||||
<ActionCopy size={12} className='text-gray-400' />
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user