Commit fd971ae521647a17f3d2a117dbf454d2e7d3d88c

Authored by vking
1 parent f9a98ccb

online

... ... @@ -279,6 +279,7 @@ Page({
this.setData({
hasFullHouse:true,
})
return;
}
this.reserve.time=e.detail.time;
if(e.detail.action=='click'){
... ... @@ -294,7 +295,8 @@ Page({
console.log(e);
this.reserve.date=e.detail.date;
this.setData({
reserveDate:e.detail.date
reserveDate:e.detail.date,
hasFullHouse:false,
})
}
})
\ No newline at end of file
... ...
... ... @@ -197,9 +197,9 @@
<view hidden="{{activeTab!='reserve'}}" wx:if="{{seller.id}}">
<view class="olreserve">
<calendar seller="{{seller}}" bindselectdate="selectdate"></calendar>
<people seller="{{seller}}" bindselectpeople="selectpeople" hidden="{{!hasFullHouse}}"></people>
<people seller="{{seller}}" bindselectpeople="selectpeople" wx:if="{{!hasFullHouse}}"></people>
<view class="reserve-time Semibold">可订时间</view>
<dur seller="{{seller}}" hidden="{{!hasFullHouse}}"
<dur seller="{{seller}}" wx:if="{{!hasFullHouse}}"
date="{{reserveDate}}" bindselecttime="selecttime"></dur>
<view class="hasFullHouse Semibold flex-vc" wx:if="{{hasFullHouse}}">今日所有包间已订满</view>
</view>
... ...