From b6f0ffbfe1af25227e0b9eaf09bd08acf622de42 Mon Sep 17 00:00:00 2001 From: cp3hnu Date: Thu, 15 May 2025 10:12:24 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/ActiveLearn/components/ActiveLearnBasic/index.tsx | 2 +- .../ActiveLearn/components/CreateForm/ExecuteConfig.tsx | 6 +++--- .../src/pages/Dataset/components/ResourceInfo/index.less | 4 ++++ react-ui/src/pages/Mirror/Info/index.tsx | 5 +++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/react-ui/src/pages/ActiveLearn/components/ActiveLearnBasic/index.tsx b/react-ui/src/pages/ActiveLearn/components/ActiveLearnBasic/index.tsx index 3c75eb61..79ab1698 100644 --- a/react-ui/src/pages/ActiveLearn/components/ActiveLearnBasic/index.tsx +++ b/react-ui/src/pages/ActiveLearn/components/ActiveLearnBasic/index.tsx @@ -154,7 +154,7 @@ function BasicInfo({ value: info.dataset_py, }, { - label: '数据集类名', + label: '数据集处理类名', value: info.dataset_class_name, }, { diff --git a/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx b/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx index addb402c..c510dc3b 100644 --- a/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx +++ b/react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx @@ -101,16 +101,16 @@ function ExecuteConfig() { - + diff --git a/react-ui/src/pages/Dataset/components/ResourceInfo/index.less b/react-ui/src/pages/Dataset/components/ResourceInfo/index.less index 288b498d..5bd8b25e 100644 --- a/react-ui/src/pages/Dataset/components/ResourceInfo/index.less +++ b/react-ui/src/pages/Dataset/components/ResourceInfo/index.less @@ -42,6 +42,10 @@ border-radius: 4px; cursor: pointer; + &:hover { + border-color: .addAlpha(@primary-color, 0.5) []; + } + &--praised { color: @primary-color; } diff --git a/react-ui/src/pages/Mirror/Info/index.tsx b/react-ui/src/pages/Mirror/Info/index.tsx index 09d88372..9b7cf22a 100644 --- a/react-ui/src/pages/Mirror/Info/index.tsx +++ b/react-ui/src/pages/Mirror/Info/index.tsx @@ -164,20 +164,21 @@ function MirrorInfo() { title: '镜像版本', dataIndex: 'tag_name', key: 'tag_name', - width: '25%', + width: '30%', render: tableCellRender(), }, { title: '镜像地址', dataIndex: 'url', key: 'url', - width: '25%', + width: '40%', render: tableCellRender('auto', TableCellValueType.Text, { copyable: true }), }, { title: '版本描述', dataIndex: 'description', key: 'description', + width: '30%', render: tableCellRender(true), }, {