Commit a8ee8c7c authored by XieZhiXiong's avatar XieZhiXiong

fix: 修改 form label样式问题

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