react_hsbc_teller 0.6.8 → 0.6.9
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
|
@@ -51,7 +51,7 @@ export default class foot extends Component {
|
|
|
51
51
|
this.props.inspection()
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
const {clickedOcr,clickedFacial,isTranscribing,img,cameraImg,screenName,suspendName,customerList,menus} = this.props
|
|
54
|
+
const {clickedOcr,clickedFacial,isTranscribing,img,cameraImg,screenName,suspendName,customerList,menus,voiceName} = this.props
|
|
55
55
|
const content = (
|
|
56
56
|
<div>
|
|
57
57
|
{customerList.map((item,index)=>{
|
|
@@ -137,7 +137,7 @@ export default class foot extends Component {
|
|
|
137
137
|
<div className="one">
|
|
138
138
|
<img className="imgClass" src={img} alt="" />
|
|
139
139
|
<div className="text">
|
|
140
|
-
|
|
140
|
+
{voiceName}
|
|
141
141
|
</div>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
@@ -53,6 +53,7 @@ class Video extends Component {
|
|
|
53
53
|
cameraImg: cameraImgOpen,
|
|
54
54
|
voiceStatue: false,
|
|
55
55
|
voiceImg: voiceImgOpen,
|
|
56
|
+
voiceName: '静音',
|
|
56
57
|
isCustomer: false,
|
|
57
58
|
publishDevic: 1,
|
|
58
59
|
isSharedScreen: false,
|
|
@@ -2200,7 +2201,8 @@ class Video extends Component {
|
|
|
2200
2201
|
// 静音本地
|
|
2201
2202
|
this.setState({
|
|
2202
2203
|
voiceStatue: true,
|
|
2203
|
-
voiceImg: voiceImgCloe
|
|
2204
|
+
voiceImg: voiceImgCloe,
|
|
2205
|
+
voiceName: '解除静音'
|
|
2204
2206
|
});
|
|
2205
2207
|
let sid = document.getElementById('publish_video1').name;
|
|
2206
2208
|
if (!sid) {
|
|
@@ -2226,7 +2228,8 @@ class Video extends Component {
|
|
|
2226
2228
|
// 打开本地
|
|
2227
2229
|
this.setState({
|
|
2228
2230
|
voiceStatue: false,
|
|
2229
|
-
voiceImg: voiceImgOpen
|
|
2231
|
+
voiceImg: voiceImgOpen,
|
|
2232
|
+
voiceName: '静音'
|
|
2230
2233
|
});
|
|
2231
2234
|
let sid = document.getElementById('publish_video1').name;
|
|
2232
2235
|
if (!sid) {
|
|
@@ -2386,7 +2389,8 @@ class Video extends Component {
|
|
|
2386
2389
|
if (this.state.voiceStatue) {
|
|
2387
2390
|
// 当前是音频
|
|
2388
2391
|
this.setState({
|
|
2389
|
-
voiceImg: voiceImgCloe
|
|
2392
|
+
voiceImg: voiceImgCloe,
|
|
2393
|
+
voiceName: '解除静音'
|
|
2390
2394
|
});
|
|
2391
2395
|
let sid = document.getElementById('publish_video1').name;
|
|
2392
2396
|
if (!sid) {
|
|
@@ -2398,7 +2402,8 @@ class Video extends Component {
|
|
|
2398
2402
|
// 当前是
|
|
2399
2403
|
this.test_controller.SetLocalAudioEnable(1, parseInt(sid, 10));
|
|
2400
2404
|
this.setState({
|
|
2401
|
-
voiceImg: voiceImgOpen
|
|
2405
|
+
voiceImg: voiceImgOpen,
|
|
2406
|
+
voiceName: '静音'
|
|
2402
2407
|
})
|
|
2403
2408
|
}
|
|
2404
2409
|
callNimIM('sendCustomCmdMsg', {
|
|
@@ -3346,6 +3351,7 @@ class Video extends Component {
|
|
|
3346
3351
|
</div>
|
|
3347
3352
|
</div>
|
|
3348
3353
|
<Foot
|
|
3354
|
+
voiceName={this.state.voiceName}
|
|
3349
3355
|
img={this.state.voiceImg}
|
|
3350
3356
|
screenName={this.state.screenName}
|
|
3351
3357
|
suspendName={this.state.suspendName}
|