Commit 4312e8ae1cd08e200eac12981c1b8b80d260e444

Authored by vking
1 parent 856e109e

online

... ... @@ -129,6 +129,11 @@ Page({
}
},
reserve(){
if(this.data.hasOnlineReserve){
return this.setData({
activeTab:'reserve'
})
}
let seller_tel=this.data.seller.seller_tel
if(seller_tel.length<1) return util.toast('商家电话错误','none')
if(seller_tel.length==1){//只有一个电话
... ...
... ... @@ -183,7 +183,7 @@
</view>
<view class="reserve">
<formids class="flex-vc" bindclick="reserve" id="reserve-button">
<view class="text">电话预订</view>
<view class="text">{{hasOnlineReserve?'包间预订':'联系餐厅'}}</view>
</formids>
</view>
... ...