提交 02138eb2 作者: 翁进城

fix: 【通用分类、作业、设备、飞手培训、产品商城】复选框、分类名称、描述、时间、操作按钮的布局居中显示

上级 c95fb804
...@@ -20,8 +20,9 @@ ...@@ -20,8 +20,9 @@
.table-option-wrap { .table-option-wrap {
display: flex; display: flex;
justify-content: flex-end; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center;
} }
.share-code { .share-code {
text-align: center; text-align: center;
......
...@@ -54,7 +54,7 @@ const Category: FC = (props: any) => { ...@@ -54,7 +54,7 @@ const Category: FC = (props: any) => {
title: '分类名称', title: '分类名称',
dataIndex: 'classifyName', dataIndex: 'classifyName',
key: 'classifyName', key: 'classifyName',
// align: "center", align: 'center',
width: '12%', width: '12%',
editable: true, editable: true,
ellipsis: true, ellipsis: true,
...@@ -89,7 +89,7 @@ const Category: FC = (props: any) => { ...@@ -89,7 +89,7 @@ const Category: FC = (props: any) => {
return record.icon ? ( return record.icon ? (
<img <img
src={record.icon} src={record.icon}
style={{ width: '50px', height: '50px' }} style={{ width: '25px', height: '25px' }}
onClick={() => imgClick(record.icon)} onClick={() => imgClick(record.icon)}
/> />
) : ( ) : (
...@@ -684,7 +684,7 @@ const Category: FC = (props: any) => { ...@@ -684,7 +684,7 @@ const Category: FC = (props: any) => {
> >
<Form form={form} component={false}> <Form form={form} component={false}>
<Table <Table
size='small' size='large'
columns={mergedColumns} columns={mergedColumns}
dataSource={categoryList} dataSource={categoryList}
rowSelection={rowSelection} rowSelection={rowSelection}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论