Commit d21d666c by zhonghao

弹窗优化

parent e55b53d9
......@@ -41,8 +41,7 @@ class FacePage extends Component {
tip: '',
tipsModal: false,
faceType: 'wxpay',
// 屏保模式
sleep: true,
sleep: true, // 屏保模式
loadingModal: false,
qrCode: '',
goTipsModal: false,
......@@ -229,7 +228,9 @@ class FacePage extends Component {
console.log(e);
}
};
/**
* 按下按钮开门
*/
doorOpen = ({action, sense}) => {
if (action) this.action = action;
if (!this.sense && sense) this.sense = sense;
......@@ -744,7 +745,7 @@ class FacePage extends Component {
styles.footer = {...styles.footer, backgroundColor: '#1b7dc7'};
styles.onCall = {...styles.onCall, backgroundColor: '#1b7dc7'};
}
return sleep ? (
return sleep && !orderDetailMini ? (
<Screensaver onPress={this.wakeUp} />
) : (
<View style={styles.content}>
......
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