react_hsbc_teller 1.9.11 → 1.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/assets/img/jietu.png +0 -0
- package/packages/assets/img/jietu_face.png +0 -0
- package/packages/pages/components/step/step.jsx +32 -0
- package/packages/pages/components/step/step.less +0 -0
- package/packages/pages/foot/foot.jsx +1 -1
- package/packages/pages/video/video.jsx +168 -91
- package/packages/pages/video/video.less +7 -2
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import Steps from "antd/lib/steps";
|
|
3
|
+
import 'antd/lib/steps/style'
|
|
4
|
+
const { Step } = Steps;
|
|
5
|
+
|
|
6
|
+
export default class step extends Component {
|
|
7
|
+
render() {
|
|
8
|
+
let current = this.props.current;
|
|
9
|
+
return (
|
|
10
|
+
<div style={{...this.props.style}}>
|
|
11
|
+
<div style={{marginBottom: '10px'}}>客户身份验证</div>
|
|
12
|
+
<Steps current={current} direction={this.props.direction} size="small" style={{width:'150px', height: '200px'}}>
|
|
13
|
+
{/* step1 */}
|
|
14
|
+
<Step status={current==0? '':'wait'} title="选择客户" />
|
|
15
|
+
|
|
16
|
+
{/* step2 */}
|
|
17
|
+
<Step status={current==1? '':'wait'} title="确认客户证件类型&客户授权" />
|
|
18
|
+
|
|
19
|
+
{/* step3 */}
|
|
20
|
+
<Step status={current==2? '':'wait'} title="证件信息核查" />
|
|
21
|
+
|
|
22
|
+
{/* step4 */}
|
|
23
|
+
{ current==3 && <Step title="人脸识别" />}
|
|
24
|
+
</Steps>
|
|
25
|
+
</div>
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
step.defaultProps = {
|
|
30
|
+
current: 0,
|
|
31
|
+
direction: 'vertical',
|
|
32
|
+
}
|
|
File without changes
|
|
@@ -142,7 +142,7 @@ export default class foot extends Component {
|
|
|
142
142
|
<div className="one" onClick={this.ocrClick.bind(this)}>
|
|
143
143
|
<img className="imgClass" src={require("../../assets/img/icon_ocr.png").default} alt="" />
|
|
144
144
|
<div className="text">
|
|
145
|
-
|
|
145
|
+
证件识别
|
|
146
146
|
</div>
|
|
147
147
|
</div>
|
|
148
148
|
// </Popover>
|