Commit e5034a7ca89e4534654f77081f998d22ad94d3e9

Authored by vking
1 parent 8e0a9f93

reserveSubmitInfo

... ... @@ -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) {
... ...
... ... @@ -58,7 +58,7 @@
<view class="icon">
<icon type="waiting" size="47" color="#C8B16D"/>
</view>
<view class="title Medium">{{firstShowMsg.length>10?'餐厅处理中':'餐厅休息中'}}</view>
<view class="title Medium">{{reserveSubmitInfo?reserveSubmitInfo:(firstShowMsg.length>10?'餐厅处理中':'餐厅休息中')}}</view>
<view class="info flex-vc" wx:if="{{firstShowMsg}}">
<block wx:if="{{firstShowMsg.length>10}}">
<view>预计10分钟左右餐厅将告知您结果</view>
... ...