index.wxml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <wxs src="../../../utils/util.wxs" module="utils" />
  2. <!-- 顶部 -->
  3. <view class="page">
  4. <view class="top">
  5. <image class="room-detail-bg" src="/static/img/room-detail-bg.png" mode="" />
  6. <!-- <view class="top-area"></view> -->
  7. </view>
  8. <!-- 胶囊按钮区 -->
  9. <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;">
  10. <van-icon name="arrow-left" bindtap="goBack" />
  11. <view class="basics-msg">
  12. <view class="basics-msg-tit">
  13. {{itemData.meetingName}}
  14. </view>
  15. <view class="position">
  16. <van-icon name="location" />
  17. <text>{{itemData.meetingAddress}}</text>
  18. </view>
  19. <view class="position">
  20. <van-icon name="clock" />
  21. <text>{{itemData.canAppointmentStartTime}}~{{itemData.canAppointmentEndTime}}内可预约</text>
  22. </view>
  23. <view class="position">
  24. <van-icon name="map-marked" />
  25. <text>共有{{itemData.seatNum}}个座位</text>
  26. </view>
  27. <view class="tips">
  28. <van-icon name="info" />
  29. <text>最长可提前{{itemData.meetingLargestDayNum}}天进行预约</text>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="contnt">
  34. <view class="service border-radius-20">
  35. <view>
  36. <van-icon name="invitation" class="m-r-16" />
  37. <text>会议室预约可配置</text>
  38. </view>
  39. <view class="service-item">
  40. <text class="letter" wx:for="{{itemData.meetingBeforeServiceNameList}}" wx:key="index">{{item}} {{itemData.meetingBeforeServiceNameList.length>index+1?'/':''}}</text>
  41. </view>
  42. <view>
  43. <van-icon name="like" class="m-r-16" />
  44. <text>会议中可提供服务</text>
  45. </view>
  46. <view class="service-item">
  47. <text class="letter" wx:for="{{itemData.meetingInServiceList}}" wx:key="index">{{item}} {{itemData.meetingInServiceList.length>index+1?'/':''}}</text>
  48. </view>
  49. </view>
  50. <view wx:if="{{itemData.imgList &&itemData.imgList.length>0}}">
  51. <view class="picture-tit">
  52. 会议室实景图
  53. </view>
  54. <view class="picture-box">
  55. <image class="picture-img" wx:for="{{itemData.imgList}}" wx:key="index" src="{{item}}" mode="" bindtap="preview" data-src="{{item}}"/>
  56. </view>
  57. </view>
  58. <view class="contnt-box">
  59. <view class="tit">
  60. 已预约的会议
  61. </view>
  62. <view class="flex">
  63. <view class="date-item border-radius-20 {{chooseId==item.id?'choose-bg':''}}" wx:for="{{subscribeList}}" wx:key="index" bindtap="clickDate" data-item="{{item}}">
  64. <!-- <view class="{{chooseId==item.id?'choose-one':'one'}}">今天</view> -->
  65. <view class="{{chooseId==item.id?'choose-two':'two'}}">{{item.month}}</view>
  66. <view class="{{chooseId==item.id?'choose-three':'three'}}">可预约</view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="m-b">
  71. <view class="meeting-item border-radius-20" wx:for="{{appointmentList}}" wx:key="index" bindtap="goDetail" data-item="{{item}}" data-type="meeting-detail">
  72. <view class="flex">
  73. <view>
  74. <image class="icon" src="/static/img/meeting-detail-icon.png" mode="" />{{item.appointmentStartTime}}~{{item.appointmentEndTime}}
  75. </view>
  76. <view class="color">
  77. <van-icon name="friends" />
  78. <text>参会{{item.meetingNum}}人</text>
  79. </view>
  80. </view>
  81. <view class="over" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备会标') && item.meetingMonogram}}">
  82. <van-icon name="label" class="icon" />
  83. <text>{{item.meetingMonogram}}</text>
  84. </view>
  85. <view class="subscribe-user">
  86. <!-- <image class="m-r-16" src="/static/img/meeting-detail-icon.png" mode="" /> -->
  87. <text>预约人:{{item.name}}</text>
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="btn-area" wx:if="{{userInfo.appointmentAuth}}">
  93. <button bindtap="goto" data-id="1">去预约</button>
  94. </view>
  95. </view>