|
@@ -0,0 +1,163 @@
|
|
1
|
+import React from "react";
|
|
2
|
+import { Divider, Card, Steps, Button, Radio, Form, Input, Row, Col, Select } from "antd";
|
|
3
|
+import UploadFile from "@/components/Upload/UploadFile";
|
|
4
|
+import { useTranslation } from 'react-i18next';
|
|
5
|
+import "../style.less";
|
|
6
|
+
|
|
7
|
+export default (props) => {
|
|
8
|
+ const { index, setIndex } = props;
|
|
9
|
+ const [form] = Form.useForm();
|
|
10
|
+ const { t } = useTranslation();
|
|
11
|
+
|
|
12
|
+ const onFinish = () => {
|
|
13
|
+
|
|
14
|
+ };
|
|
15
|
+
|
|
16
|
+ const onNext = () => {
|
|
17
|
+ setIndex(index + 1)
|
|
18
|
+ }
|
|
19
|
+
|
|
20
|
+ return (
|
|
21
|
+ <>
|
|
22
|
+ <div style={{ fontSize: '24px', fontWeight: '400' }}>{t('authentication.titleRight')}</div>
|
|
23
|
+ <Card bordered={false} style={{ width: '900px', marginBottom: '24px' }}>
|
|
24
|
+ <div style={{ color: 'red', fontWeight: '600' }}>{t('authentication.rightTopSubTitle')}</div>
|
|
25
|
+ <div style={{ color: '#bfbfbf' }}>{t('authentication.rightTopText')}</div>
|
|
26
|
+ </Card>
|
|
27
|
+ <Form
|
|
28
|
+ form={form}
|
|
29
|
+ layout="vertical"
|
|
30
|
+ onFinish={onFinish}
|
|
31
|
+ >
|
|
32
|
+ <Card bordered={false} style={{ width: '900px', marginBottom: '24px' }}>
|
|
33
|
+ <Form.Item>
|
|
34
|
+ <div style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.subTitleRight')}</div>
|
|
35
|
+ <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle1')}</div>
|
|
36
|
+ <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
|
37
|
+ <div className="authentication-right-upload-box">
|
|
38
|
+ <UploadFile />
|
|
39
|
+ </div>
|
|
40
|
+ <div style={{ flex: 1.2 }}>
|
|
41
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText1')}</div>
|
|
42
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText2')}</div>
|
|
43
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText3')}</div>
|
|
44
|
+ <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
|
45
|
+ </div>
|
|
46
|
+ </div>
|
|
47
|
+ </Form.Item>
|
|
48
|
+ <Form.Item>
|
|
49
|
+ <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle2')}</div>
|
|
50
|
+ <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
|
51
|
+ <div className="authentication-right-upload-box">
|
|
52
|
+ <UploadFile />
|
|
53
|
+ </div>
|
|
54
|
+ <div style={{ flex: 1.2 }}>
|
|
55
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText1')}</div>
|
|
56
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText2')}</div>
|
|
57
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText3')}</div>
|
|
58
|
+ <div style={{ padding: '0 15px', fontWeight: '600' }}>4.{t('authentication.uploadPromptTextII4')}</div>
|
|
59
|
+ <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
|
60
|
+ </div>
|
|
61
|
+ </div>
|
|
62
|
+ </Form.Item>
|
|
63
|
+ <Form.Item>
|
|
64
|
+ <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle3')}</div>
|
|
65
|
+ <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
|
66
|
+ <div className="authentication-right-upload-box">
|
|
67
|
+ <UploadFile />
|
|
68
|
+ </div>
|
|
69
|
+ <div style={{ flex: 1.2 }}>
|
|
70
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText1')}</div>
|
|
71
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText2')}</div>
|
|
72
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText3')}</div>
|
|
73
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptTextIII4')}</div>
|
|
74
|
+ <div style={{ padding: '0 15px', fontWeight: '600' }}>5.{t('authentication.uploadPromptTextII4')}</div>
|
|
75
|
+ <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
|
76
|
+ </div>
|
|
77
|
+ </div>
|
|
78
|
+ </Form.Item>
|
|
79
|
+ <Form.Item>
|
|
80
|
+ <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle4')}</div>
|
|
81
|
+ <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
|
82
|
+ <div className="authentication-right-upload-box">
|
|
83
|
+ <UploadFile />
|
|
84
|
+ </div>
|
|
85
|
+ <div style={{ flex: 1.2 }}>
|
|
86
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText1')}</div>
|
|
87
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText2')}</div>
|
|
88
|
+ <div style={{ padding: '0 15px' }}>{t('authentication.uploadPromptText3')}</div>
|
|
89
|
+ <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
|
90
|
+ </div>
|
|
91
|
+ </div>
|
|
92
|
+ </Form.Item>
|
|
93
|
+ </Card>
|
|
94
|
+ <Card bordered={false} style={{ width: '900px', marginBottom: '24px' }}>
|
|
95
|
+ <Form.Item label={t('authentication.formRightLabel1')}>
|
|
96
|
+ <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio1')}</Radio>
|
|
97
|
+ <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio2')}</Radio>
|
|
98
|
+ <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio3')}</Radio>
|
|
99
|
+ <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio4')}</Radio>
|
|
100
|
+ </Form.Item>
|
|
101
|
+ <Form.Item label={t('authentication.formRightLabel2')}>
|
|
102
|
+ <Input.Group>
|
|
103
|
+ <Row>
|
|
104
|
+ <Col span={8}>
|
|
105
|
+ <Input placeholder="12345678" size="large" />
|
|
106
|
+ </Col>
|
|
107
|
+ <Col span={4}><Input placeholder="000" size="large" /></Col>
|
|
108
|
+ </Row>
|
|
109
|
+ </Input.Group>
|
|
110
|
+ </Form.Item>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+ <Form.Item label={t('authentication.formRightLabel3')} wrapperCol={{ span: 8 }}>
|
|
114
|
+ <Select defaultValue={t('authentication.formRightSelect1')}>
|
|
115
|
+ </Select>
|
|
116
|
+ </Form.Item>
|
|
117
|
+
|
|
118
|
+ <Form.Item>
|
|
119
|
+ <Select placeholder={t('authentication.formRightSelectPlaceholder1')}>
|
|
120
|
+ </Select>
|
|
121
|
+ </Form.Item>
|
|
122
|
+ <Form.Item>
|
|
123
|
+ <Input placeholder={t('authentication.formRightInputPlaceholder2')} />
|
|
124
|
+ </Form.Item>
|
|
125
|
+ <Form.Item>
|
|
126
|
+ <Input placeholder={t('authentication.formRightInputPlaceholder3')} />
|
|
127
|
+ </Form.Item>
|
|
128
|
+ <Form.Item>
|
|
129
|
+ <Input placeholder={t('authentication.formRightInputPlaceholder4')} />
|
|
130
|
+ </Form.Item>
|
|
131
|
+ <Form.Item label={t('authentication.formRightLabel4')} wrapperCol={{ span: 8 }}>
|
|
132
|
+ <Select defaultValue={t('authentication.formRightSelectPlaceholderII1')}>
|
|
133
|
+ </Select>
|
|
134
|
+ </Form.Item>
|
|
135
|
+
|
|
136
|
+ <Form.Item>
|
|
137
|
+ <Select placeholder={t('authentication.formRightSelectPlaceholder1')}>
|
|
138
|
+ </Select>
|
|
139
|
+ </Form.Item>
|
|
140
|
+ <Form.Item>
|
|
141
|
+ <Input placeholder={t('authentication.formRightInputPlaceholder2')} />
|
|
142
|
+ </Form.Item>
|
|
143
|
+ <Form.Item>
|
|
144
|
+ <Input placeholder={t('authentication.formRightInputPlaceholder3')} />
|
|
145
|
+ </Form.Item>
|
|
146
|
+ <Form.Item>
|
|
147
|
+ <Input placeholder={t('authentication.formRightInputPlaceholder4')} />
|
|
148
|
+ </Form.Item>
|
|
149
|
+
|
|
150
|
+ <Form.Item label={t('authentication.formRightLabel5')}>
|
|
151
|
+ <Select placeholder={t('authentication.formRightInputPlaceholder5')}>
|
|
152
|
+ </Select>
|
|
153
|
+ </Form.Item>
|
|
154
|
+ <Form.Item label={t('authentication.formRightLabel6')}>
|
|
155
|
+ <Select placeholder={t('authentication.formRightInputPlaceholder6')}>
|
|
156
|
+ </Select>
|
|
157
|
+ </Form.Item>
|
|
158
|
+ <Button type="primary" onClick={onNext} >{t('authentication.foundationInfoNextBtn')}</Button>
|
|
159
|
+ </Card>
|
|
160
|
+ </Form>
|
|
161
|
+ </>
|
|
162
|
+ )
|
|
163
|
+}
|