Commit a23440bd authored by XieZhiXiong's avatar XieZhiXiong

chore: 调整样式

parent e2baae95
@import '~antd/es/style/themes/default.less';
.card-box-title {
padding-left: @padding-xs;
line-height: @font-size-lg;
font-size: @font-size-lg;
font-weight: 500;
border-left: 2px solid @primary-color;
.register-info {
padding-top: @padding-xs;
background-color: #FFFFFF;
.card-box-title {
padding-left: @padding-xs;
line-height: @font-size-lg;
font-size: @font-size-lg;
font-weight: 500;
border-left: 2px solid @primary-color;
}
}
\ No newline at end of file
......@@ -53,28 +53,30 @@ const RegisterInfo: React.FC<IProps> = (props: IProps) => {
return (
<Spin spinning={loading}>
{registerInfo?.registerDetails.map((item) => (
<CustomizeColumn
key={item.groupName}
title={(
<div className={styles['card-box-title']}>{item.groupName}</div>
)}
data={(
item.elements.map((ele) => ({
title: ele.fieldLocalName,
value: (
ele.fieldType !== 'upload'
? ele.fieldValue
: (
<PicWrap
pics={[ele.fieldValue]}
/>
)
),
}))
)}
/>
))}
<div className={styles['register-info']}>
{registerInfo?.registerDetails.map((item) => (
<CustomizeColumn
key={item.groupName}
title={(
<div className={styles['card-box-title']}>{item.groupName}</div>
)}
data={(
item.elements.map((ele) => ({
title: ele.fieldLocalName,
value: (
ele.fieldType !== 'upload'
? ele.fieldValue
: (
<PicWrap
pics={[ele.fieldValue]}
/>
)
),
}))
)}
/>
))}
</div>
</Spin>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment