index.wxml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <wxs src="../../utils/util.wxs" module="utils" />
  2. <view class="layout">
  3. <view class="top basics bor {{projection?'bgc':''}} " bindtap="largeScreenFun" data-type="1" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'预约大屏/投影')}}">
  4. <image class="img" src="/static/img/layout-icon.png" mode="" wx:if="{{!projection}}" />
  5. <van-icon wx:if="{{projection}}" class="live" name="live" />大屏/投影
  6. </view>
  7. <view class="content flex">
  8. <view class="left">
  9. <view class="item" wx:for="{{leftList}}" wx:key="index">
  10. <view class="item-top over basics bor1 {{item.monogram?'bgc':''}}" bindtap="getMonogram" data-type="left" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备桌签')}}">{{item.monogram||'桌签'}}</view>
  11. <view class="flex">
  12. <van-icon name="clear" class="clear-icon" bindtap="cleaeTea" data-index="{{index}}" data-type="left" wx:if="{{item.teaWater&& !isDisable}}"/>
  13. <picker disabled="{{isDisable}}" class="picker" range="{{itemData.meetingBeforeTeaList}}" bindchange="getWater" data-type="left" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备茶水')}}">
  14. <view class="wid item-bottom basics bor1 {{item.teaWater?'bgc':''}}">
  15. {{item.teaWater || '茶水'}}
  16. </view>
  17. </picker>
  18. <view wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'允许点心')}}" class="wid item-bottom basics bor1 m-l {{item.snack?'bgc':''}}" bindtap="getSnack" data-type="left" data-index="{{index}}">点心</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="center basics" bindtap="largeScreenFun" data-type="2" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'开空调')}}">
  23. <view class="basics bor {{aircondition?'bgc':''}}">
  24. <image class="air img" src="/static/img/layout-icon.png" mode="" wx:if="{{!aircondition}}" />
  25. <image class="air img" src="/static/img/air.png" mode="" wx:if="{{aircondition}}" />
  26. <view>
  27. 空调
  28. </view>
  29. </view>
  30. </view>
  31. <view class="right">
  32. <view class="item" wx:for="{{rightList}}" wx:key="index">
  33. <view class="item-top over basics bor1 {{item.monogram?'bgc':''}}" bindtap="getMonogram" data-type="right" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备桌签')}}">{{item.monogram||'桌签'}}</view>
  34. <view class="flex">
  35. <van-icon name="clear" class="clear-icon" bindtap="cleaeTea" data-index="{{index}}" data-type="right" wx:if="{{item.teaWater && !isDisable}}"/>
  36. <picker disabled="{{isDisable}}" class="picker" range="{{itemData.meetingBeforeTeaList}}" bindchange="getWater" data-type="right" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备茶水')}}">
  37. <view class="wid item-bottom basics bor1 {{item.teaWater?'bgc':''}}">{{item.teaWater || '茶水'}}</view>
  38. </picker>
  39. <view wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'允许点心')}}" class="wid item-bottom basics bor1 m-l {{item.snack?'bgc':''}}" bindtap="getSnack" data-type="right" data-index="{{index}}">点心</view>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>