|
@@ -32,10 +32,14 @@ Page({ |
|
@@ -32,10 +32,14 @@ Page({ |
|
32
|
if(!options.firstShowMsg){
|
32
|
if(!options.firstShowMsg){
|
|
33
|
this.hasGetSellerDetail=true
|
33
|
this.hasGetSellerDetail=true
|
|
34
|
}
|
34
|
}
|
|
35
|
- this.setData({
|
35
|
+ let obj={
|
|
36
|
firstShowMsg:options.firstShowMsg,
|
36
|
firstShowMsg:options.firstShowMsg,
|
|
37
|
hasSubscribeFail:options.hasSubscribeFail,
|
37
|
hasSubscribeFail:options.hasSubscribeFail,
|
|
38
|
- })
|
38
|
+ }
|
|
|
|
39
|
+ if(options.firstShowMsg){//从提交预订页进入
|
|
|
|
40
|
+ obj.reserveSubmitInfo='预定提交成功,等待餐厅确认'
|
|
|
|
41
|
+ }
|
|
|
|
42
|
+ this.setData(obj)
|
|
39
|
PubSub.on('detailPub',(res)=>{
|
43
|
PubSub.on('detailPub',(res)=>{
|
|
40
|
console.log(res)
|
44
|
console.log(res)
|
|
41
|
if(res.type=='cancel'){
|
45
|
if(res.type=='cancel'){
|
|
@@ -132,6 +136,8 @@ Page({ |
|
@@ -132,6 +136,8 @@ Page({ |
|
132
|
}
|
136
|
}
|
|
133
|
//this.GetBalance()//余额
|
137
|
//this.GetBalance()//余额
|
|
134
|
this.GetCheckout()//账单
|
138
|
this.GetCheckout()//账单
|
|
|
|
139
|
+ //清理预订消息
|
|
|
|
140
|
+ setTimeout(()=>{this.setData({reserveSubmitInfo:''})},3000)
|
|
135
|
})
|
141
|
})
|
|
136
|
},
|
142
|
},
|
|
137
|
formatDatail(detail) {
|
143
|
formatDatail(detail) {
|