index.axml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <import-sjs from='../../../utils/util.sjs' name='utils'>
  3. </import-sjs>
  4. <view class='page'>
  5. <view class='top'>
  6. <image class='room-detail-bg' src='/static/img/room-detail-bg.png' mode="aspectFill">
  7. </image>
  8. </view>
  9. <view >
  10. <!--<van-icon name='arrow-left' onTap='goBack' ref='saveChildRef1'></van-icon> -->
  11. <view class='basics-msg'>
  12. <view class='basics-msg-tit'>
  13. {{itemData.meetingName}}
  14. </view>
  15. <view class='basics-msg-position'>
  16. <van-icon name='location' ref='saveChildRef2'>
  17. </van-icon>
  18. <text class="over-text">
  19. {{itemData.meetingAddress}}
  20. </text>
  21. </view>
  22. <view class='basics-msg-position'>
  23. <van-icon name='clock' ref='saveChildRef3'>
  24. </van-icon>
  25. <text class="over-text">
  26. {{itemData.canAppointmentStartTime}}~{{itemData.canAppointmentEndTime}}内可预约
  27. </text>
  28. </view>
  29. <view class='basics-msg-position'>
  30. <van-icon name='map-marked' ref='saveChildRef4'>
  31. </van-icon>
  32. <text class="over-text">
  33. 共有{{itemData.seatNum}}个座位
  34. </text>
  35. </view>
  36. <view a:if="{{!statusItem}}" class='tips'>
  37. <van-icon name='info' ref='saveChildRef5'>
  38. </van-icon>
  39. <text class="over-text">
  40. 最长可提前{{itemData.meetingLargestDayNum}}天进行预约
  41. </text>
  42. </view>
  43. </view>
  44. </view>
  45. <view class='contnt'>
  46. <view a:if="{{!statusItem}}" class='service border-radius-20'>
  47. <view>
  48. <van-icon name='setting' class='m-r-16' ref='saveChildRef6'>
  49. </van-icon>
  50. <text>
  51. 会议室预约可配置
  52. </text>
  53. </view>
  54. <view class='service-item'>
  55. <text
  56. a:for='{{itemData.meetingBeforeServiceNameList}}'
  57. class='letter'
  58. a:key='{{index}}'
  59. ref-numbers='{{itemData.meetingBeforeServiceNameList}}'
  60. >
  61. {{item}} {{itemData.meetingBeforeServiceNameList.length>index+1?'/':''}}
  62. </text>
  63. </view>
  64. <view>
  65. <van-icon name='like' class='m-r-16' ref='saveChildRef7'>
  66. </van-icon>
  67. <text>
  68. 会议中可提供服务
  69. </text>
  70. </view>
  71. <view class='service-item'>
  72. <text
  73. a:for='{{itemData.meetingInServiceList}}'
  74. class='letter'
  75. a:key='{{index}}'
  76. ref-numbers='{{itemData.meetingInServiceList}}'
  77. >
  78. {{item}} {{itemData.meetingInServiceList.length>index+1?'/':''}}
  79. </text>
  80. </view>
  81. </view>
  82. <view a:if="{{itemData.imgList &&itemData.imgList.length>0 &&!statusItem}}">
  83. <view class="picture-tit">
  84. 会议室实景图
  85. </view>
  86. <view class="picture-box" onTap="preview" data-src="{{itemData.imgList}}">
  87. <image
  88. a:for="{{itemData.imgList}}"
  89. class="picture-img"
  90. a:key="index"
  91. src="{{item}}"
  92. mode="aspectFill"
  93. />
  94. </view>
  95. </view>
  96. <view class='contnt-box'>
  97. <view class='tit'>
  98. 已预约的会议
  99. </view>
  100. <view class='flex'>
  101. <view
  102. a:for='{{subscribeList}}'
  103. class="date-item border-radius-20 {{chooseId==item.id?'choose-bg':''}}"
  104. a:key='{{index}}'
  105. data-item='{{item}}'
  106. ref-numbers='{{subscribeList}}'
  107. onTap='antmoveAction'
  108. data-antmove-tap='clickDate'
  109. >
  110. <view class="{{chooseId==item.id?'choose-two':'two'}}">
  111. {{item.month}}
  112. </view>
  113. <view a:if="{{!statusItem}}" class="{{chooseId==item.id?'choose-three':'three'}}">
  114. 可预约
  115. </view>
  116. <view a:else class="{{chooseId==item.id?'choose-three':'three'}}">
  117. {{item.num}}场
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. <view class='m-b'>
  123. <view
  124. a:for='{{appointmentList}}'
  125. class='meeting-item border-radius-20'
  126. a:key='{{index}}'
  127. data-item='{{item}}'
  128. data-type='meeting-detail'
  129. ref-numbers='{{appointmentList}}'
  130. onTap='antmoveAction'
  131. data-antmove-tap='goDetail'
  132. >
  133. <view class='flex'>
  134. <view>
  135. <image
  136. class='m-b-icon'
  137. src='/static/img/meeting-detail-icon.png'
  138. mode="scaleToFill"
  139. >
  140. </image>
  141. {{item.appointmentStartTime}}~{{item.appointmentEndTime}}
  142. </view>
  143. <view class='color appointmentdetail-detail-color'>
  144. <van-icon name='friends' ref='saveChildRef8'>
  145. </van-icon>
  146. <text>
  147. 参会{{item.meetingNum}}人
  148. </text>
  149. </view>
  150. </view>
  151. <view
  152. a:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备会标') && item.meetingMonogram}}"
  153. class='over'
  154. >
  155. <van-icon name='label' class='icon' ref='saveChildRef9'>
  156. </van-icon>
  157. <text>
  158. {{item.meetingMonogram}}
  159. </text>
  160. </view>
  161. <view class='subscribe-user'>
  162. <text>
  163. 预约人:{{item.name}}
  164. </text>
  165. </view>
  166. </view>
  167. </view>
  168. </view>
  169. <view a:if='{{userInfo.appointmentAuth&&!statusItem}}' class='btn-area'>
  170. <btn data-id='1' onTap='antmoveAction' data-antmove-tap='goto'>
  171. 去预约
  172. </btn>
  173. </view>
  174. </view>
  175. </view>