Commit a8ee8c7c authored by XieZhiXiong's avatar XieZhiXiong

fix: 修改 form label样式问题

parent aa0675c7
......@@ -362,3 +362,8 @@ a {
.mega-layout-container-content {
overflow: hidden;
}
.ant-form-item-label > label {
font-size: 12px !important;
color: #909399 !important;
}
......@@ -121,6 +121,7 @@ const UploadVoucher: React.FC<UploadVoucherProps> = ({
actions={uploadVoucherFormActions}
schema={uploadVoucherModalSchema}
onSubmit={handleUploadVoucherSubmit}
colon
/>
<div style={{ marginTop: 20, textAlign: 'center' }}>
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-01-06 15:04:20
* @LastEditTime: 2021-01-07 13:57:30
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -23,17 +23,17 @@ export const uploadVoucherModalSchema: ISchema = {
properties: {
name: {
type: 'string',
title: '账户名称 : ',
title: '账户名称',
'x-component': 'Text',
},
bankAccount: {
type: 'string',
title: '银行账号 : ',
title: '银行账号',
'x-component': 'Text',
},
bankDeposit: {
type: 'string',
title: '开户行 : ',
title: '开户行',
'x-component': 'Text',
},
fileList: {
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-06 09:54:04
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-14 18:09:45
* @LastEditTime: 2021-01-07 13:57:03
* @Description: 退货地址信息
*/
import React from 'react';
......@@ -190,6 +190,7 @@ const ReturnAddressInfo: React.FC<ReturnAddressInfo> = ({
actions={modalFormActions}
schema={schema}
onSubmit={handleSubmit}
colon
/>
</MellowCard>
);
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-09 15:56:35
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-04 18:02:43
* @LastEditTime: 2021-01-07 13:50:54
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -15,8 +15,7 @@ export const schema: ISchema = {
type: 'object',
'x-component': 'mega-layout',
'x-component-props': {
labelCol: 8,
wrapperCol: 16,
wrapperCol: 18,
labelAlign: 'left',
},
properties: {
......
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