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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -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.53'
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: (item.xaxis * SCALE),
716
- yPosition: (item.yaxis * SCALE),
717
- width: (item.width * SCALE),
718
- height: (item.height * SCALE)
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: 960 * SCALE,
724
- yPosition: 535 * SCALE,
725
- width: 320 * SCALE,
726
- height: 180 * SCALE
725
+ xPosition: 860 * SCALE,
726
+ yPosition: 235 * SCALE,
727
+ width: (420 * SCALE),
728
+ height: (420 * SCALE)
727
729
  })
728
- // list.push({
729
- // tag: 'VIDEO_SOURCE_SCREEN_19_9',
730
- // xPosition: 960,
731
- // yPosition: 573,
732
- // width: 304,
733
- // height: 144
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;