index.wxml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!-- 顶部 -->
  2. <wxs src="../../../utils/util.wxs" module="utils" />
  3. <view class="basics-msg">
  4. <image class="room-detail-bg" src="/static/img/room-detail-bg.png" mode="" />
  5. <!-- 胶囊按钮区 -->
  6. <view style="box-sizing: border-box;height: {{CustomBar-StatusBar}}px; width: 100%;margin-top: {{StatusBar}}px; padding-left: 40rpx; line-height: {{CustomBar-StatusBar}}px;position: absolute;color: #fff;z-index: 999;">
  7. <view bindtap="gotoFun" data-id="3">
  8. <van-icon name="arrow-left" />会议详情
  9. </view>
  10. </view>
  11. <view class="p-t">
  12. <view class="basics-msg-tit">
  13. {{item.appointmentDate}} {{item.appointmentStartTime}}~{{item.appointmentEndTime}}
  14. <text class="status-text {{item.status==1?'status1':item.status==2?'status2':item.status==3?'status3':''}}" wx:if="{{type=='my-meeting'}}">{{item.status==1?'未开始':item.status==2?'进行中':item.status==3?'已结束':''}}</text>
  15. </view>
  16. <view class="apps-o" bindtap="showFun" wx:if="{{type=='my-meeting' && (item.status==1 ||item.status==2&&item.meetingRoomVo.continueMeeting)}}">更多</view>
  17. <!-- <van-icon name="apps-o" color="#fff" size="50rpx" class="apps-o" bindtap="showFun" wx:if="{{type=='my-meeting' &&item.status!=3}}" /> -->
  18. <view wx:if="{{type=='my-subscribe' || type=='subscribe-audit'}}">
  19. <view class="audit" bindtap="gotoFun" data-id="1">
  20. <text>审核详情</text>
  21. <van-icon name="arrow" />
  22. </view>
  23. <image class="status-img" src="/static/status/{{item.status==1?'audit':item.status==2?'pass':item.status==3?'refuse':item.status==4?'cancel':item.status==5?'transfer':''}}.png" mode="" />
  24. </view>
  25. <view class="basics-msg-small-tit">
  26. {{item.meetingName || ''}}
  27. </view>
  28. <view wx:if="{{item.meetingAddress}}">
  29. <van-icon name="location" />
  30. <text>{{item.meetingAddress}}</text>
  31. </view>
  32. <view class="serviceOrder" bindtap="showPopupFun" wx:if="{{type=='my-meeting' && item.status==2}}">
  33. 服务点单
  34. </view>
  35. </view>
  36. <!-- 功能区 -->
  37. <view class="fun border-radius-20" wx:if="{{isShowFun}}">
  38. <view class="fun-box">
  39. <!-- 三角区域 -->
  40. <view class="info-panel-triple"></view>
  41. <view class="fun-item" wx:for="{{funList}}" wx:key="index" wx:for-item="item1" data-item="{{item1}}" bindtap="clickFun" wx:if="{{utils.indexOf2(item1.status,item1.name,item.status,item.meetingRoomVo.continueMeeting)}}">{{item1.name}}</view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="contnt">
  46. <!-- 会标 -->
  47. <view wx:if="{{item.meetingMonogram}}">
  48. <view class="position col">
  49. <image src="/static/img/meeting-detail-icon.png" class="logo" mode="" />
  50. <text>会标</text>
  51. </view>
  52. <view class="tit">{{item.meetingMonogram}}</view>
  53. </view>
  54. <!-- <view class="position">
  55. <van-icon name="clock" />
  56. <text>08:40~20:00内可预约</text>
  57. </view> -->
  58. <view class="position">
  59. <van-icon name="friends" />
  60. <text>参会{{item.meetingNum}}人</text>
  61. </view>
  62. <view class="position" wx:if="{{item.seatNum}}">
  63. <van-icon name="map-marked" />
  64. <text>共有{{item.seatNum}}个座位</text>
  65. </view>
  66. <view class="position" wx:if="{{type=='my-meeting'}}">
  67. <van-icon name="like" />
  68. <text>会议中可提供服务: <text wx:for="{{item.meetingRoomVo.meetingInServiceList}}" wx:key="index" wx:for-item="item1">{{item1}}{{item.meetingRoomVo.meetingInServiceList.length>index+1?'、':''}}</text></text>
  69. <!-- <text wx:else>会议中可提供服务: <text wx:for="{{item.meetingInServiceList}}" wx:key="index" wx:for-item="item1">{{item1}}{{item.meetingInServiceList.length>index+1?'、':''}}</text></text> -->
  70. </view>
  71. <view class="yellow-bg" wx:if="{{type=='my-meeting' &&item.status!=3 }}">
  72. <van-icon name="info" />
  73. <text wx:if="{{nextMeetingStartTime}}">本会议室中,与本场会议时间相邻的下一场会议是{{nextMeetingStartTime}}开始。</text>
  74. <text wx:else>本会议室中,暂无与本场会议时间相邻的下一场会议,最晚可预约至{{item.meetingRoomVo.canAppointmentEndTime}}点</text>
  75. </view>
  76. <view class="service border-radius-20" wx:if="{{type=='meeting-detail' || type=='subscribe-audit'}}">
  77. <!-- <image src="/static/img/air.png" mode="" /> -->
  78. <text>预约人:{{item.name}} <text wx:if="{{item.pohne}}">【{{item.pohne}}】</text> </text>
  79. </view>
  80. </view>
  81. <view class="gray"></view>
  82. <view class="layout">
  83. <view class="flex">
  84. <view class="layout-tit">会议室布局安排</view>
  85. <view wx:if="{{type=='my-meeting' && item.status!=1}}" class="order" bindtap="gotoFun" data-id="4">
  86. 会议中服务点单
  87. <van-icon name="arrow" />
  88. </view>
  89. </view>
  90. <meeting-layout rightList="{{rightList}}" leftList="{{leftList}}" projection="{{projection}}" aircondition="{{aircondition}}" type="{{type}}" itemData="{{meetingData}}" />
  91. </view>
  92. <view class="btn-area" wx:if="{{type=='my-subscribe' && (item.status==1 ||item.status==2)}}">
  93. <button bindtap="cancel">取消</button>
  94. </view>
  95. <view class="btn-area" wx:if="{{type=='subscribe-audit' && item.status==1}}">
  96. <button bindtap="gotoFun" data-id="2">审核</button>
  97. </view>
  98. <!-- 点单 -->
  99. <van-popup show="{{ showPopup }}" closeable position="bottom" bind:close="onClose" title="会议中服务点单">
  100. <view class="popup-box flex">
  101. <view data-index="{{index}}" class="{{item.isTrue?'check-css':''}}" wx:for="{{orderMealList}}" wx:key="index" bindtap="getOrde">
  102. {{item.name}}
  103. </view>
  104. </view>
  105. <view class="btn-area">
  106. <button bindtap="orderMealFun">点单</button>
  107. </view>
  108. </van-popup>