Browse Source

Fix account select width

pull/148/head
afc163 9 years ago
parent
commit
d8ea7d6102
  1. 4
      src/routes/Forms/StepForm/Step1.js

4
src/routes/Forms/StepForm/Step1.js

@ -39,7 +39,7 @@ export default ({ formItemLayout, form, dispatch }) => {
label="收款账户" label="收款账户"
> >
<Input.Group compact> <Input.Group compact>
<Select defaultValue="alipay" style={{ width: 80 }}> <Select defaultValue="alipay" style={{ width: 100 }}>
<Option value="alipay">支付宝</Option> <Option value="alipay">支付宝</Option>
<Option value="bank">银行账户</Option> <Option value="bank">银行账户</Option>
</Select> </Select>
@ -50,7 +50,7 @@ export default ({ formItemLayout, form, dispatch }) => {
{ type: 'email', message: '账户名应为邮箱格式' }, { type: 'email', message: '账户名应为邮箱格式' },
], ],
})( })(
<Input style={{ width: 'calc(100% - 80px)' }} placeholder="test@example.com" /> <Input style={{ width: 'calc(100% - 100px)' }} placeholder="test@example.com" />
)} )}
</Input.Group> </Input.Group>
</Form.Item> </Form.Item>

Loading…
Cancel
Save