home.wxml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <wxs src="../../utils/util.wxs" module="utils" />
  2. <!-- 顶部 -->
  3. <view class="page">
  4. <view class="top">
  5. <view class="top-area"></view>
  6. </view>
  7. <!-- 胶囊按钮区 -->
  8. <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;">会议室预约管理平台</view>
  9. <view class="content">
  10. <view class="content-box">
  11. <!-- <view class="flex">
  12. <view class="left">
  13. <picker class="picker" range="{{accountList}}" range-key="name" value="{{accountId}}" bindchange="getVal" disabled="{{isAudit}}">
  14. <view>
  15. <text class="m-r">{{accountName}}</text>
  16. <van-icon name="arrow-down" />
  17. </view>
  18. </picker>
  19. </view>
  20. <view class="right" bindtap="goFun">
  21. <van-icon name="search" />
  22. <text>请输入会议室</text>
  23. </view>
  24. </view> -->
  25. <view class="bg" bindtap="gotomy">
  26. <image src="/static/home/bg.png" mode="" />
  27. </view>
  28. <!-- 功能区 -->
  29. <view class="flex fun">
  30. <view class="item" wx:for="{{funList}}" wx:key="index" bindtap="goFun" data-item="{{item}}" wx:if="{{utils.indexOf(item.)}}" wx:if="{{utils.indexOf(item.jurisdiction,userInfo.appointmentAuth,userInfo.checkAuth,userInfo.serivceAuth)}}">
  31. <image class="item-icon" src="{{item.img}}" mode="" />
  32. {{item.name}}
  33. </view>
  34. </view>
  35. <view class="box" wx:if="{{myMeetingList.length>0}}">
  36. <view class="box-tit">
  37. 我的会议
  38. </view>
  39. <view class="flex auto">
  40. <view class="my-meetingborder-radius-20 flex" wx:for="{{myMeetingList}}" wx:key="index" bindtap="myMeetingFun" data-item="{{item}}" data-type="my-meeting">
  41. <view class="data-time">
  42. <view>
  43. {{item.appointmentDate}}
  44. </view>
  45. <view class="time">
  46. {{item.appointmentStartTime}}-{{item.appointmentEndTime}}
  47. </view>
  48. </view>
  49. <view class="meeting-right">
  50. <view class="meeting-name over">
  51. {{item.meetingName}}
  52. </view>
  53. <view class="over" wx:if="{{item.meetingMonogram}}">
  54. {{item.meetingMonogram}}
  55. </view>
  56. <view class="over location">
  57. <van-icon name="location" />
  58. <text>{{item.meetingAddress}}</text>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="box" wx:if="{{meetingList.length>0}}">
  65. <view class="box-tit">
  66. 会议室
  67. </view>
  68. <view class="flex flex1">
  69. <view class="room border-radius-20" wx:for="{{meetingList}}" wx:key="index" bindtap="goRoomFun" data-item="{{item}}">
  70. <view class="rooom-name over">
  71. {{item.meetingName}}
  72. </view>
  73. <view class="over home-text-color">
  74. <van-icon name="location" />
  75. <text>{{item.meetingAddress}}</text>
  76. </view>
  77. <view class="over home-text-color">
  78. <van-icon name="map-marked" />
  79. <text>共有{{item.seatNum}}个座位</text>
  80. </view>
  81. <view class="over home-text-color" wx:if="{{!userInfo.appointmentAuth&&userInfo.serivceAuth&&!userInfo.checkAuth}}">
  82. <image class="meeting-img" src="../../static/img/home-num-icon.png" alt="" srcset=""/>
  83. <text>今日有{{item.hadMeetingTimes}}场会议</text>
  84. </view>
  85. <!-- <view class="go-subscribe border-radius-20">
  86. 去预约
  87. <van-icon name="arrow" />
  88. </view> -->
  89. </view>
  90. </view>
  91. </view>
  92. <view class="more" bindtap="goRoomFun" wx:if="{{meetingList.length>0}}" >
  93. 更多会议室
  94. <van-icon name="arrow" />
  95. </view>
  96. </view>
  97. </view>
  98. </view>