index.axml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <import-sjs from='../../utils/util.sjs' name='utils'>
  2. </import-sjs>
  3. <view class='layout' ref='saveChildRef0'>
  4. <view
  5. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'预约大屏/投影')}}"
  6. class=" basics bor top1 {{projection?'bgc':''}} "
  7. data-type='1'
  8. onTap='antmoveAction'
  9. data-antmove-tap='largeScreenFun'
  10. >
  11. <image
  12. a:if='{{!projection}}'
  13. class='img1'
  14. src='/static/img/layout-icon.png'
  15. mode="aspectFit"
  16. >
  17. </image>
  18. <van-icon a:if='{{projection}}' class='live' name='live' ref='saveChildRef1'>
  19. </van-icon>
  20. 大屏/投影
  21. </view>
  22. <view class='meeting-flex'>
  23. <view class='left meeting-left '>
  24. <view a:for='{{leftList}}' class='left1-item' a:key='{{index}}' ref-numbers='{{leftList}}'>
  25. <view
  26. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备桌签')}}"
  27. class="item-top over basics bor1 {{item.monogram?'bgc':''}}"
  28. data-type='left'
  29. data-index='{{index}}'
  30. onTap='antmoveAction'
  31. data-antmove-tap='getMonogram'
  32. >
  33. {{item.monogram||'桌签'}}
  34. </view>
  35. <view class='flex meetinglayout-flex'>
  36. <picker
  37. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备茶水')}}"
  38. disabled='{{isDisable}}'
  39. class='picker'
  40. range='{{itemData.meetingBeforeTeaList}}'
  41. data-type='left'
  42. data-index='{{index}}'
  43. onChange='getWater'
  44. >
  45. <view class=" item-bottom basics bor1 {{item.teaWater?'bgc':''}}">
  46. {{item.teaWater || '茶水'}}
  47. <view
  48. a:if="{{item.teaWater&& !isDisable}}"
  49. class="clear-icon clear-icon1"
  50. catchTap="cleaeTea"
  51. data-index="{{index}}"
  52. data-type="left"
  53. style="width: 25rpx; height: 25rpx; border-radius: 50%; background-color: #9494B2; display: flex; align-items: center; justify-content: center;"
  54. >
  55. <text style="color: #fff; font-size: 23rpx;" class="meetinglayout-text">×</text>
  56. </view>
  57. </view>
  58. </picker>
  59. <view
  60. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'允许点心')}}"
  61. class=" item-bottom basics bor1 m-l {{item.snack?'bgc':''}}"
  62. data-type='left'
  63. data-index='{{index}}'
  64. onTap='antmoveAction'
  65. data-antmove-tap='getSnack'
  66. >
  67. 点心
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <view
  73. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'开空调')}}"
  74. class='center basics'
  75. data-type='2'
  76. onTap='antmoveAction'
  77. data-antmove-tap='largeScreenFun'
  78. >
  79. <view class="basics bor {{aircondition?'bgc':''}}">
  80. <image
  81. a:if='{{!aircondition}}'
  82. class='air img'
  83. src='/static/img/layout-icon.png'
  84. mode=" "
  85. >
  86. </image>
  87. <image
  88. a:if='{{aircondition}}'
  89. class='air img'
  90. src='/static/img/air.png'
  91. mode=" "
  92. >
  93. </image>
  94. <view>
  95. 空调
  96. </view>
  97. </view>
  98. </view>
  99. <view class='right meeting-left'>
  100. <view a:for='{{rightList}}' class='left1-item' a:key='{{index}}' ref-numbers='{{rightList}}'>
  101. <view
  102. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备桌签')}}"
  103. class="item-top over basics bor1 {{item.monogram?'bgc':''}}"
  104. data-type='right'
  105. data-index='{{index}}'
  106. onTap='antmoveAction'
  107. data-antmove-tap='getMonogram'
  108. >
  109. {{item.monogram||'桌签'}}
  110. </view>
  111. <view class='flex meetinglayout-flex'>
  112. <picker
  113. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备茶水')}}"
  114. disabled='{{isDisable}}'
  115. class='picker'
  116. range='{{itemData.meetingBeforeTeaList}}'
  117. data-type='right'
  118. data-index='{{index}}'
  119. onChange='getWater'
  120. >
  121. <view class=" item-bottom basics bor1 {{item.teaWater?'bgc':''}}">
  122. {{item.teaWater || '茶水'}}
  123. <view
  124. a:if="{{item.teaWater&& !isDisable}}"
  125. class="clear-icon clear-icon1"
  126. catchTap="cleaeTea"
  127. data-index="{{index}}"
  128. data-type="right"
  129. style="width: 25rpx; height: 25rpx; border-radius: 50%; background-color: #9494B2; display: flex; align-items: center; justify-content: center;"
  130. >
  131. <text style="color: #fff; font-size: 23rpx;" class="meetinglayout-text">×</text>
  132. </view>
  133. </view>
  134. </picker>
  135. <view
  136. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'允许点心')}}"
  137. class=" item-bottom basics bor1 m-l {{item.snack?'bgc':''}}"
  138. data-type='right'
  139. data-index='{{index}}'
  140. onTap='antmoveAction'
  141. data-antmove-tap='getSnack'
  142. >
  143. 点心
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. </view>