Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
02138eb2
提交
02138eb2
authored
6月 12, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 【通用分类、作业、设备、飞手培训、产品商城】复选框、分类名称、描述、时间、操作按钮的布局居中显示
上级
c95fb804
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
4 行删除
+5
-4
index.scss
src/pages/categoryManage/category/index.scss
+2
-1
index.tsx
src/pages/categoryManage/category/index.tsx
+3
-3
没有找到文件。
src/pages/categoryManage/category/index.scss
浏览文件 @
02138eb2
...
@@ -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
;
...
...
src/pages/categoryManage/category/index.tsx
浏览文件 @
02138eb2
...
@@ -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
:
'50
px'
}
}
style=
{
{
width
:
'
25px'
,
height
:
'25
px'
}
}
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论