|
...
|
...
|
@@ -30,7 +30,6 @@ Page({ |
|
|
|
*/
|
|
|
|
onShow: function () {
|
|
|
|
this.GetCheckout()
|
|
|
|
this.GetOrderInfoRun()
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -74,6 +73,11 @@ Page({ |
|
|
|
this.setData({
|
|
|
|
checkout:checkout
|
|
|
|
})
|
|
|
|
if(checkout.status>1){
|
|
|
|
this.GetOrderInfoStop()
|
|
|
|
}else{
|
|
|
|
this.GetOrderInfoRun()
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
is_wine:0,
|
|
...
|
...
|
@@ -123,7 +127,7 @@ Page({ |
|
|
|
if(!this.GetOrderInfoInterval){
|
|
|
|
setInterval(()=>{
|
|
|
|
this.GetCheckout()
|
|
|
|
},15000)
|
|
|
|
},8000)
|
|
|
|
}
|
|
|
|
},
|
|
|
|
GetOrderInfoStop(){
|
|
...
|
...
|
@@ -137,5 +141,6 @@ Page({ |
|
|
|
header: '温馨提示',
|
|
|
|
body: '已为您催促商家,请耐心等待'
|
|
|
|
}).show();
|
|
|
|
App.PushMsg.SendUrgeMsg({rid:this.data.checkout.rid})
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|