|
...
|
...
|
@@ -32,10 +32,14 @@ Page({ |
|
|
|
if(!options.firstShowMsg){
|
|
|
|
this.hasGetSellerDetail=true
|
|
|
|
}
|
|
|
|
this.setData({
|
|
|
|
let obj={
|
|
|
|
firstShowMsg:options.firstShowMsg,
|
|
|
|
hasSubscribeFail:options.hasSubscribeFail,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
if(options.firstShowMsg){//从提交预订页进入
|
|
|
|
obj.reserveSubmitInfo='预定提交成功,等待餐厅确认'
|
|
|
|
}
|
|
|
|
this.setData(obj)
|
|
|
|
PubSub.on('detailPub',(res)=>{
|
|
|
|
console.log(res)
|
|
|
|
if(res.type=='cancel'){
|
|
...
|
...
|
@@ -132,6 +136,8 @@ Page({ |
|
|
|
}
|
|
|
|
//this.GetBalance()//余额
|
|
|
|
this.GetCheckout()//账单
|
|
|
|
//清理预订消息
|
|
|
|
setTimeout(()=>{this.setData({reserveSubmitInfo:''})},3000)
|
|
|
|
})
|
|
|
|
},
|
|
|
|
formatDatail(detail) {
|
...
|
...
|
|