效果:
代码:
<Form.Item label="分辨率" style={{ marginBottom: 0 }} >
<Form.Item name="resolutionsMW" style={{ display: 'inline-block', width:
'calc(50% - 12px)' }}
rules={[{ required: true, message: '' }]}>
<Input placeholder="宽" autoComplete="off" />
</Form.Item>
<span
style={{ display: 'inline-block', width: '24px', lineHeight: '32px', textAlign:
'center' }}
>
X
</span>
<Form.Item name="resolutionsMH" style={{ display: 'inline-block', width:
'calc(50% - 12px)' }}
rules={[{ required: true, message: '' }]}>
<Input placeholder="高" autoComplete="off" />
</Form.Item>
</Form.Item>