home.axml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. <view class='top-area'>
  7. </view>
  8. </view>
  9. <!--<view style='height: {{CustomBar-StatusBar}}px; width: 100%;margin-top: -80rpx; padding-left: 68rpx; line-height: {{CustomBar-StatusBar}}px;position: absolute;color: #fff;'>
  10. 会议室预约管理平台</view> -->
  11. <view class='content'>
  12. <view class='content-box'>
  13. <view class='bg' onTap='goMine'>
  14. <image src='/static/home/bg.png' mode="aspectFit">
  15. </image>
  16. </view>
  17. <view class='flex fun'>
  18. <view
  19. a:for='{{funList}}'
  20. a:if='{{utils.indexOf(item.jurisdiction,userInfo.appointmentAuth,userInfo.checkAuth,userInfo.serivceAuth)}}'
  21. class='item home-item'
  22. a:key='{{index}}'
  23. data-item='{{item}}'
  24. ref-numbers='{{funList}}'
  25. onTap='antmoveAction'
  26. data-antmove-tap='goFun'
  27. >
  28. <image class='item-icon' src='{{item.img}}' mode="aspectFill">
  29. </image>
  30. {{item.name}}
  31. </view>
  32. </view>
  33. <view a:if='{{myMeetingList.length>0}}' class='box'>
  34. <view class='box-tit'>
  35. 我的会议
  36. </view>
  37. <view class='flex auto'>
  38. <view
  39. a:for='{{myMeetingList}}'
  40. class='my-meetingborder-radius-20 flex'
  41. a:key='{{index}}'
  42. data-item='{{item}}'
  43. data-type='my-meeting'
  44. ref-numbers='{{myMeetingList}}'
  45. onTap='antmoveAction'
  46. data-antmove-tap='myMeetingFun'
  47. >
  48. <view class='data-time'>
  49. <view>
  50. {{item.appointmentDate}}
  51. </view>
  52. <view class='time'>
  53. {{item.appointmentStartTime}}-{{item.appointmentEndTime}}
  54. </view>
  55. </view>
  56. <view class='meeting-right'>
  57. <view class='meeting-name over'>
  58. {{item.meetingName}}
  59. </view>
  60. <view a:if='{{item.meetingMonogram}}' class='over'>
  61. {{item.meetingMonogram}}
  62. </view>
  63. <view class='over location'>
  64. <van-icon name='location' ref='saveChildRef1'>
  65. </van-icon>
  66. <text class="over-text">
  67. {{item.meetingAddress}}
  68. </text>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. <view a:if='{{meetingList.length>0}}' class='box'>
  75. <view class='box-tit'>
  76. 会议室
  77. </view>
  78. <view class='flex flex1'>
  79. <view
  80. a:for='{{meetingList}}'
  81. class='room border-radius-20'
  82. a:key='{{index}}'
  83. data-item='{{item}}'
  84. ref-numbers='{{meetingList}}'
  85. onTap='antmoveAction'
  86. data-antmove-tap='goRoomFun'
  87. >
  88. <view class='rooom-name over'>
  89. {{item.meetingName}}
  90. </view>
  91. <view class='over home-text-color'>
  92. <van-icon name='location' ref='saveChildRef2'>
  93. </van-icon>
  94. <text class="over-text">
  95. {{item.meetingAddress}}
  96. </text>
  97. </view>
  98. <view class='over home-text-color'>
  99. <van-icon name='map-marked' ref='saveChildRef3'>
  100. </van-icon>
  101. <text class="over-text">
  102. 共有{{item.seatNum}}个座位
  103. </text>
  104. </view>
  105. <view
  106. a:if="{{!userInfo.appointmentAuth&&userInfo.serivceAuth&&!userInfo.checkAuth}}"
  107. class="over home-text-color"
  108. >
  109. <image
  110. class="meeting-img"
  111. src="../../static/img/home-num-icon.png"
  112. alt=""
  113. />
  114. <text>今日有{{item.hadMeetingTimes}}场会议</text>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <view
  120. a:if='{{meetingList.length>0}}'
  121. class='more home-over-text'
  122. onTap='antmoveAction'
  123. data-antmove-tap='goRoomFun'
  124. >
  125. 更多会议室
  126. <van-icon name='arrow' ref='saveChildRef4'>
  127. </van-icon>
  128. </view>
  129. </view>
  130. </view>
  131. </view>
  132. </view>