|
|
|
<view class="room-list flex-rs">
|
|
|
|
<block wx:for="{{roomlist}}" wx:key="{{index}}">
|
|
|
|
<block wx:if="{{item.status==1}}">
|
|
|
|
<view class="room-item black-font {{(item.isFull && item.isFull==1) || (item.isorderFull && item.isorderFull==1) ? 'border-gray bg-gray' : 'border-yellow bg-yellow'}} flex-vl" style="justify-content:center;" data-id="{{item.id}}" data-index="{{index}}" data-selectnum="{{item.selectnum ? item.selectnum : 0}}" data-fid="{{item.fid ? item.fid : null}}" catchtap="selectroom">
|
|
|
|
<view class="room-item black-font {{((item.isFull && item.isFull==1) || (item.isorderFull && item.isorderFull==1)) && false ? 'border-gray bg-gray' : 'border-yellow bg-yellow'}} flex-vl" style="justify-content:center;" data-id="{{item.id}}" data-index="{{index}}" data-selectnum="{{item.selectnum ? item.selectnum : 0}}" data-fid="{{item.fid ? item.fid : null}}" catchtap="selectroom">
|
|
|
|
<view class="font30r font-bold" style="width:100%;padding-right:62rpx;box-sizing:border-box; block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{item.name}}</view>
|
|
|
|
<block wx:if="{{item.max && item.max!=0}}">
|
|
|
|
<view class="font24r room-more">最多可坐{{item.max}}人</view>
|
|
...
|
...
|
@@ -20,12 +20,18 @@ |
|
|
|
<view class="room-full black-font font24r">订满</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<block wx:elif="{{false}}">
|
|
|
|
<block wx:if="{{(item.isFull && item.isFull==1) || (item.isorderFull && item.isorderFull==1)}}">
|
|
|
|
<view class="room-full black-font font24r">订满</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<block wx:else="">
|
|
|
|
<block wx:if="{{(item.isFull && item.isFull==1) || (item.isorderFull && item.isorderFull==1)}}">
|
|
|
|
<view class="room-full-qiang"></view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</view> |
|
|
\ No newline at end of file |
|
|
|
</view>
|
|
|
|
<qiang id="qiang"></qiang> |
|
|
\ No newline at end of file |
...
|
...
|
|