Browse Source

style: 调整样式

pull/220/head
cp3hnu 9 months ago
parent
commit
b6f0ffbfe1
4 changed files with 11 additions and 6 deletions
  1. +1
    -1
      react-ui/src/pages/ActiveLearn/components/ActiveLearnBasic/index.tsx
  2. +3
    -3
      react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx
  3. +4
    -0
      react-ui/src/pages/Dataset/components/ResourceInfo/index.less
  4. +3
    -2
      react-ui/src/pages/Mirror/Info/index.tsx

+ 1
- 1
react-ui/src/pages/ActiveLearn/components/ActiveLearnBasic/index.tsx View File

@@ -154,7 +154,7 @@ function BasicInfo({
value: info.dataset_py, value: info.dataset_py,
}, },
{ {
label: '数据集类名',
label: '数据集处理类名',
value: info.dataset_class_name, value: info.dataset_class_name,
}, },
{ {


+ 3
- 3
react-ui/src/pages/ActiveLearn/components/CreateForm/ExecuteConfig.tsx View File

@@ -101,16 +101,16 @@ function ExecuteConfig() {
<Row gutter={8}> <Row gutter={8}>
<Col span={10}> <Col span={10}>
<Form.Item <Form.Item
label="数据集类名"
label="数据集处理类名"
name="dataset_class_name" name="dataset_class_name"
rules={[ rules={[
{ {
required: true, required: true,
message: '请输入数据集类名',
message: '请输入数据集处理类名',
}, },
]} ]}
> >
<Input placeholder="请输入数据集类名" maxLength={64} showCount allowClear />
<Input placeholder="请输入数据集处理类名" maxLength={64} showCount allowClear />
</Form.Item> </Form.Item>
</Col> </Col>
</Row> </Row>


+ 4
- 0
react-ui/src/pages/Dataset/components/ResourceInfo/index.less View File

@@ -42,6 +42,10 @@
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;


&:hover {
border-color: .addAlpha(@primary-color, 0.5) [];
}

&--praised { &--praised {
color: @primary-color; color: @primary-color;
} }


+ 3
- 2
react-ui/src/pages/Mirror/Info/index.tsx View File

@@ -164,20 +164,21 @@ function MirrorInfo() {
title: '镜像版本', title: '镜像版本',
dataIndex: 'tag_name', dataIndex: 'tag_name',
key: 'tag_name', key: 'tag_name',
width: '25%',
width: '30%',
render: tableCellRender(), render: tableCellRender(),
}, },
{ {
title: '镜像地址', title: '镜像地址',
dataIndex: 'url', dataIndex: 'url',
key: 'url', key: 'url',
width: '25%',
width: '40%',
render: tableCellRender('auto', TableCellValueType.Text, { copyable: true }), render: tableCellRender('auto', TableCellValueType.Text, { copyable: true }),
}, },
{ {
title: '版本描述', title: '版本描述',
dataIndex: 'description', dataIndex: 'description',
key: 'description', key: 'description',
width: '30%',
render: tableCellRender(true), render: tableCellRender(true),
}, },
{ {


Loading…
Cancel
Save