Commit 6bcb1f25 by 黄日华

延长开门离店弹窗时间至25秒

呼叫客服按钮未响应修复
parent e1b7fe30
...@@ -597,7 +597,7 @@ const CounterMixins = ComposeComponent => { ...@@ -597,7 +597,7 @@ const CounterMixins = ComposeComponent => {
clearTimeout(this.leaveModalTimeout); clearTimeout(this.leaveModalTimeout);
this.leaveModalTimeout = setTimeout(() => { this.leaveModalTimeout = setTimeout(() => {
this.setState({cloudFinishModal: false}); this.setState({cloudFinishModal: false});
}, 20000); }, 25000);
} }
}; };
......
...@@ -360,22 +360,13 @@ class VerticalPage extends Component { ...@@ -360,22 +360,13 @@ class VerticalPage extends Component {
}); });
Speech.speak('正在接通中请稍候'); Speech.speak('正在接通中请稍候');
this.talkCall(); this.talkCall();
// clearInterval(this.noTalkCall);
// this.noTalkCall = setInterval(() => this.talkCall(), 10000);
// clearInterval(this.callTimeout);
// this.callTimeout = setTimeout(() => {
// clearInterval(this.noTalkCall);
// this.setState({
// talkCall: 2,
// });
// }, 30000);
} }
this.setState({ this.setState({
hintVisible: true, hintVisible: true,
}); });
clearTimeout(this.callModalTimeout); clearTimeout(this.callModalTimeout);
this.callModalTimeout = setTimeout(() => { this.callModalTimeout = setTimeout(() => {
this.setState({hintVisible: false}); this.closeHint();
}, 60000); }, 60000);
}; };
...@@ -392,6 +383,7 @@ class VerticalPage extends Component { ...@@ -392,6 +383,7 @@ class VerticalPage extends Component {
}; };
talkCall = () => { talkCall = () => {
console.warn('talkCall:' + this.state.talkCall);
this.props.dispatch({ this.props.dispatch({
type: 'agora/talkCall', type: 'agora/talkCall',
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment