react_hsbc_teller 1.5.0 → 1.5.1
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/demo/demo.js +1 -1
- package/packages/pages/video/video.jsx +15 -12
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -4140,10 +4140,10 @@ class Video extends Component {
|
|
|
4140
4140
|
let x = 0
|
|
4141
4141
|
let y = 0
|
|
4142
4142
|
// if(os.isTablet){
|
|
4143
|
-
width = ((right - left)* window.screen.width / document.body.clientWidth) -
|
|
4144
|
-
height = ((bottom - top)* window.screen.width / document.body.clientWidth) -
|
|
4145
|
-
x = left * window.screen.width / document.body.clientWidth
|
|
4146
|
-
y = top* window.screen.width / document.body.clientWidth
|
|
4143
|
+
width = ((right - left)* window.screen.width / document.body.clientWidth) - 13
|
|
4144
|
+
height = ((bottom - top)* window.screen.width / document.body.clientWidth) - 20
|
|
4145
|
+
x = (left * window.screen.width / document.body.clientWidth)
|
|
4146
|
+
y = (top* window.screen.width / document.body.clientWidth) + 8
|
|
4147
4147
|
// }
|
|
4148
4148
|
// if(os.isPc) {
|
|
4149
4149
|
// width = right - left
|
|
@@ -4439,14 +4439,17 @@ class Video extends Component {
|
|
|
4439
4439
|
sendNotification = () =>{
|
|
4440
4440
|
console.log(this.props.shareMask,this.state.shareMaskState)
|
|
4441
4441
|
this.state.shareMaskState = this.props.shareMask
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4442
|
+
setTimeout(() => {
|
|
4443
|
+
callNimIM('sendCustomCmdMsg', {
|
|
4444
|
+
customId: this.state.imRoomId,
|
|
4445
|
+
content: JSON.stringify({
|
|
4446
|
+
'typeId': 1230,
|
|
4447
|
+
'sessionId': this.state.sessionId,
|
|
4448
|
+
'type': this.state.shareMaskState ? 1 : 2
|
|
4449
|
+
})
|
|
4450
|
+
});
|
|
4451
|
+
},100)
|
|
4452
|
+
|
|
4450
4453
|
}
|
|
4451
4454
|
componentDidUpdate(prevProps){
|
|
4452
4455
|
console.log('componentDidUpdate',prevProps,prevProps.shareMask,this.props.shareMask)
|