From 5f011502d1a1fe141f44c639bfa7e80d9f09be50 Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Mon, 14 Jul 2025 19:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=8Estyle(button):=20Optimize=20the=20c?= =?UTF-8?q?olors=20of=20all=20buttons=20to=20reduce=20visual=20fatigue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/table/ChannelsTable.js | 213 ++++++++----------- web/src/components/table/LogsTable.js | 29 +-- web/src/components/table/MjLogsTable.js | 23 +- web/src/components/table/RedemptionsTable.js | 16 +- web/src/components/table/TaskLogsTable.js | 23 +- web/src/components/table/TokensTable.js | 29 +-- web/src/components/table/UsersTable.js | 11 +- web/src/helpers/render.js | 8 +- web/src/index.css | 6 + 9 files changed, 134 insertions(+), 224 deletions(-) diff --git a/web/src/components/table/ChannelsTable.js b/web/src/components/table/ChannelsTable.js index 22491e5d..2582b950 100644 --- a/web/src/components/table/ChannelsTable.js +++ b/web/src/components/table/ChannelsTable.js @@ -563,7 +563,7 @@ const ChannelsTable = () => { { node: 'item', name: t('复制'), - type: 'primary', + type: 'tertiary', onClick: () => { Modal.confirm({ title: t('确定是否要复制此渠道?'), @@ -581,15 +581,15 @@ const ChannelsTable = () => { aria-label={t('测试单个渠道操作项目组')} > ) : ( ) : ( - - @@ -1605,7 +1584,6 @@ const ChannelsTable = () => { + + + - - - } > @@ -1721,8 +1693,7 @@ const ChannelsTable = () => { - - - ) } @@ -2097,15 +2011,13 @@ const ChannelsTable = () => {
{isBatchTesting ? ( ) : ( )} + + +
{ const isTesting = testingModels.has(record.model); return ( - - @@ -1222,7 +1213,7 @@ const LogsTable = () => { style={{ fontWeight: 500, boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)', - padding: 15, + padding: 13, }} className='!rounded-lg' > @@ -1233,7 +1224,7 @@ const LogsTable = () => { style={{ fontWeight: 500, boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)', - padding: 15, + padding: 13, }} className='!rounded-lg' > @@ -1245,7 +1236,7 @@ const LogsTable = () => { border: 'none', boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)', fontWeight: 500, - padding: 15, + padding: 13, }} className='!rounded-lg' > @@ -1254,8 +1245,7 @@ const LogsTable = () => { - - @@ -831,8 +822,7 @@ const LogsTable = () => { )} - - @@ -667,8 +658,7 @@ const LogsTable = () => { {t('任务记录')} @@ -407,7 +402,6 @@ const TokensTable = () => {