| | |
| | | '': '', |
| | | 'map.settings.sub.copy.rule': 'Copy Rule', |
| | | 'map.settings.sub.copy.dire': 'Direction', |
| | | 'map.settings.sub.copy.count': 'Count', |
| | | 'map.settings.sub.copy.gap': 'Gap', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | |
| | | > |
| | | <Row gutter={[24, 16]}> |
| | | |
| | | {/* */} |
| | | <Col span={24}> |
| | | <Row gutter={24}> |
| | | <Col span={18}> |
| | |
| | | if (curSprite && props) { |
| | | form.setFieldsValue({ |
| | | ...props.values.data, |
| | | copyDire: props.values.copyDire |
| | | copyGap: 0 |
| | | }); |
| | | } |
| | | }, [form, props]); |
| | |
| | | <> |
| | | <Drawer |
| | | title={intl.formatMessage({ id: 'map.settings.sub.copy.rule', defaultMessage: '复制规则' })} |
| | | width={320} |
| | | width={350} |
| | | closable={false} |
| | | open={props.open} |
| | | getContainer={props.refCurr} |
| | |
| | | maxWidth: 300, |
| | | }} |
| | | size='default' |
| | | variant='borderless' |
| | | variant='filled' |
| | | labelWrap |
| | | disabled={false} |
| | | layout='horizontal' |
| | | > |
| | | <Row gutter={[24, 16]}> |
| | | |
| | | <Row gutter={[16, 0]}> |
| | | |
| | | <Col span={24}> |
| | | <Row gutter={24}> |
| | | <Col span={24}> |
| | | <Form.Item |
| | | name='copyDire' |
| | | label={intl.formatMessage({ id: 'map.settings.sub.copy.dire', defaultMessage: '方向' })} |
| | | labelCol={{ span: 8 }} |
| | | > |
| | | <span>{props?.values?.copyDire}</span> |
| | | </Form.Item> |
| | | </Col> |
| | | </Row> |
| | | <Form.Item |
| | | label={intl.formatMessage({ id: 'map.settings.sub.copy.dire', defaultMessage: '方向' })} |
| | | labelCol={{ span: 8 }} |
| | | > |
| | | <span>{props?.values?.copyDire}</span> |
| | | </Form.Item> |
| | | </Col> |
| | | |
| | | <Col span={24}> |
| | | <Form.Item |
| | | label={intl.formatMessage({ id: 'map.settings.sub.copy.count', defaultMessage: '数量' })} |
| | | labelCol={{ span: 8 }} |
| | | > |
| | | <span>{props?.values?.copyCount}</span> |
| | | </Form.Item> |
| | | </Col> |
| | | |
| | | <Col span={24}> |
| | | <Form.Item |
| | | name='copyGap' |
| | | label={intl.formatMessage({ id: 'map.settings.sub.copy.gap', defaultMessage: '间距' })} |
| | | labelCol={{ span: 8 }} |
| | | > |
| | | <InputNumber |
| | | style={{ |
| | | width: '60%', |
| | | }} |
| | | min={0} |
| | | /> |
| | | </Form.Item> |
| | | </Col> |
| | | |
| | | </Row> |
| | | </Form> |