react_hsbc_teller 2.0.53 → 2.0.54
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/pages/video/video.jsx +29 -16
package/package.json
CHANGED
|
@@ -63,7 +63,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
|
|
|
63
63
|
import axios from 'axios';
|
|
64
64
|
import CryptoJS from "crypto-js";
|
|
65
65
|
|
|
66
|
-
const SDK_VERISON = '2.0.
|
|
66
|
+
const SDK_VERISON = '2.0.54'
|
|
67
67
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
68
68
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
69
69
|
const { Option } = Select;
|
|
@@ -708,30 +708,43 @@ class Video extends Component {
|
|
|
708
708
|
// height: 180 * SCALE
|
|
709
709
|
// }
|
|
710
710
|
]
|
|
711
|
+
// 变更需求:之前是从接口获取ios不同屏幕的布局适配
|
|
712
|
+
// 现在由于原生有竖屏投屏,跟客户沟通可改成正方形区域,宽高自适应
|
|
711
713
|
Array.isArray(res) ?
|
|
712
714
|
res.map((item) => {
|
|
713
715
|
list.push({
|
|
714
716
|
tag: item.tag,
|
|
715
|
-
xPosition:
|
|
716
|
-
yPosition:
|
|
717
|
-
width: (
|
|
718
|
-
height: (
|
|
717
|
+
xPosition: 860 * SCALE,
|
|
718
|
+
yPosition: 235 * SCALE,
|
|
719
|
+
width: (420 * SCALE),
|
|
720
|
+
height: (420 * SCALE)
|
|
719
721
|
})
|
|
720
722
|
}) :
|
|
721
723
|
list.push({
|
|
722
724
|
tag: 'VIDEO_SOURCE_SCREEN',
|
|
723
|
-
xPosition:
|
|
724
|
-
yPosition:
|
|
725
|
-
width:
|
|
726
|
-
height:
|
|
725
|
+
xPosition: 860 * SCALE,
|
|
726
|
+
yPosition: 235 * SCALE,
|
|
727
|
+
width: (420 * SCALE),
|
|
728
|
+
height: (420 * SCALE)
|
|
727
729
|
})
|
|
728
|
-
//
|
|
729
|
-
//
|
|
730
|
-
//
|
|
731
|
-
//
|
|
732
|
-
//
|
|
733
|
-
//
|
|
734
|
-
//
|
|
730
|
+
// Array.isArray(res) ?
|
|
731
|
+
// res.map((item) => {
|
|
732
|
+
// list.push({
|
|
733
|
+
// tag: item.tag,
|
|
734
|
+
// xPosition: (item.xaxis * SCALE),
|
|
735
|
+
// yPosition: (item.yaxis * SCALE),
|
|
736
|
+
// width: (item.width * SCALE),
|
|
737
|
+
// height: (item.height * SCALE)
|
|
738
|
+
// })
|
|
739
|
+
// }) :
|
|
740
|
+
// list.push({
|
|
741
|
+
// tag: 'VIDEO_SOURCE_SCREEN',
|
|
742
|
+
// xPosition: 960 * SCALE,
|
|
743
|
+
// yPosition: 535 * SCALE,
|
|
744
|
+
// width: 320 * SCALE,
|
|
745
|
+
// height: 180 * SCALE
|
|
746
|
+
// })
|
|
747
|
+
|
|
735
748
|
const filePath = 'recordId_' + new Date().valueOf();
|
|
736
749
|
const recordParam = {};
|
|
737
750
|
recordParam.width = 1280 * SCALE;
|