react_hsbc_teller 2.0.47 → 2.0.49
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/mp3/ipad_media_close.mp3 +0 -0
- package/packages/assets/mp3/share_stop_audio.mp3 +0 -0
- package/packages/demo/demo.js +1 -0
- package/packages/pages/foot/foot.jsx +3 -2
- package/packages/pages/video/video.jsx +281 -32
- package/packages/utils/asrController.js +13 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/packages/demo/demo.js
CHANGED
|
@@ -208,6 +208,7 @@ userExit =(val)=>{
|
|
|
208
208
|
whetherDetectFace={true}
|
|
209
209
|
whetherDetectLight={true}
|
|
210
210
|
whetherNeedAsr={true}
|
|
211
|
+
screenSharedInterval={6}
|
|
211
212
|
prohibitPrompt={this.state.prohibitPrompt}
|
|
212
213
|
voiceColor={this.state.voiceColor}
|
|
213
214
|
titleBackground={this.state.titleBackground}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import './foot.less'
|
|
3
|
+
import { debounce } from '../../utils/utils';
|
|
3
4
|
import Popover from "antd/lib/popover";
|
|
4
5
|
import 'antd/lib/popover/style'
|
|
5
6
|
export default class foot extends Component {
|
|
@@ -115,7 +116,7 @@ export default class foot extends Component {
|
|
|
115
116
|
</div>
|
|
116
117
|
}
|
|
117
118
|
{
|
|
118
|
-
item == 'BOARD'&&<div className='footHover' onClick={this.switchExternal.bind(this)}>
|
|
119
|
+
item == 'BOARD'&&<div className='footHover' onClick={debounce(this.switchExternal.bind(this), 300)}>
|
|
119
120
|
<div className="one">
|
|
120
121
|
<img className="imgClass" src={require("../../assets/img/switchExternal.png").default} alt="" />
|
|
121
122
|
<div className="text">
|
|
@@ -125,7 +126,7 @@ export default class foot extends Component {
|
|
|
125
126
|
</div>
|
|
126
127
|
}
|
|
127
128
|
{
|
|
128
|
-
item == 'SHARE' && <div className="one" onClick={this.sharedScreen.bind(this)}>
|
|
129
|
+
item == 'SHARE' && <div className="one" onClick={debounce(this.sharedScreen.bind(this), 300)}>
|
|
129
130
|
<img className="imgClass" src={require("../../assets/img/Projection_screen.png").default} alt="" />
|
|
130
131
|
<div className="text">
|
|
131
132
|
{screenName}
|