index.wxml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <!--pages/index/index.wxml-->
  2. <view class="body" style="background-image: url({{imgPath}}/index-bg.png);">
  3. <view class="login-info">
  4. <view style="display: flex;">
  5. <view class="username">您好,{{username}}</view><text class="role-name">{{role_name}}</text>
  6. </view>
  7. <view class="app-bottom">{{app_bottom}}</view>
  8. </view>
  9. </view>
  10. <view class="next" style="background-image: url({{imgPath}}/index-next2.png);" wx:if="{{roleCode == 'GUEST'}}">
  11. <view class="line-row">热烈欢迎领导莅临指导</view>
  12. <!-- <image class="next-line" mode="scaleToFill" src="{{imgPath}}/index-next-line.png"></image> -->
  13. <view class="next-line"></view>
  14. <view class="next-row-org">重庆市城市管理局</view>
  15. <view class="next-row-time">{{nowTime}}</view>
  16. </view>
  17. <view class="second-part" wx:if="{{roleCode == 'GUEST'}}">
  18. <view class="curr-meeting" wx:if="{{hasNext}}" bindtap="meetingInfo">
  19. <view class="curr-time">{{nextTime}}</view>
  20. <view class="curr-row">
  21. <text class="row-title">单位:</text>
  22. <text class="row-value">{{nextUnit}}</text>
  23. </view>
  24. <view class="curr-row">
  25. <text class="row-title">主题:</text>
  26. <text class="row-value">{{nextTitle}}</text>
  27. </view>
  28. </view>
  29. <view class="bottmo-module">
  30. <view class="light" bindtap="visitAgenda">
  31. <image mode="scaleToFill" src="{{imgPath}}/index-light1.png"></image>
  32. <text>参观议程</text>
  33. </view>
  34. <view class="light" bindtap="uploadImage">
  35. <image mode="scaleToFill" src="{{imgPath}}/index-light2.png"></image>
  36. <text>图片回传</text>
  37. </view>
  38. <view class="light" bindtap="contentScreen">
  39. <image mode="scaleToFill" src="{{imgPath}}/index-light5.png"></image>
  40. <text>内容投屏</text>
  41. </view>
  42. </view>
  43. <view class="bottmo-module">
  44. <view class="light" bindtap="chatRoom">
  45. <image mode="scaleToFill" src="{{imgPath}}/index-light3.png"></image>
  46. <text>聊天室</text>
  47. </view>
  48. <view class="light" bindtap="lightMap">
  49. <image mode="scaleToFill" src="{{imgPath}}/index-light4.png"></image>
  50. <text>地图</text>
  51. </view>
  52. <view class="light" bindtap="fileBrowse">
  53. <image mode="scaleToFill" src="{{imgPath}}/index-light6.png"></image>
  54. <text>文件浏览</text>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="next-meeting" style="background-image: url({{imgPath}}/index-next.png);" bindtap="meetingInfo" wx:if="{{roleCode == 'ADMIN' || roleCode == 'OPERATION'}}">
  59. <view class="next-title">
  60. <view class="line"></view>
  61. <text>下一场</text>
  62. <view class="line"></view>
  63. </view>
  64. <view class="next-row">
  65. <text class="next-title">参观主题:</text>
  66. <text class="next-content">{{nextTitle}}</text>
  67. </view>
  68. <view class="next-row">
  69. <text class="next-title">参观时间:</text>
  70. <text class="next-content">{{nextTime}}</text>
  71. </view>
  72. <view class="next-row">
  73. <text class="next-title">参观单位:</text>
  74. <text class="next-content">{{nextUnit}}</text>
  75. </view>
  76. </view>
  77. <view class="second-part" wx:if="{{roleCode == 'ADMIN'}}">
  78. <view class="inspection">
  79. <view class="inspection-left" style="background-image: url({{imgPath}}/index-inspection.png);" bindtap="dailyInspection">
  80. <image mode="scaleToFill" src="{{imgPath}}/index-inspection-in1.png"></image>
  81. <text>日常巡检</text>
  82. </view>
  83. <view class="inspection-right" style="background-image: url({{imgPath}}/index-inspection-right2.png);" bindtap="informationRelease">
  84. <image mode="scaleToFill" src="{{imgPath}}/index-inspection-in3.png"></image>
  85. <text>发布消息</text>
  86. </view>
  87. </view>
  88. <view class="bottmo-module">
  89. <view class="light" bindtap="meetingCover">
  90. <image mode="scaleToFill" src="{{imgPath}}/index-light7.png"></image>
  91. <text>分享海报</text>
  92. </view>
  93. <view class="light" bindtap="uploadImage">
  94. <image mode="scaleToFill" src="{{imgPath}}/index-light2.png"></image>
  95. <text>图片回传</text>
  96. </view>
  97. <view class="big" bindtap="contentScreen">
  98. <image mode="scaleToFill" src="{{imgPath}}/index-light5.png"></image>
  99. <text>内容投屏</text>
  100. </view>
  101. </view>
  102. <view class="bottmo-module bottom">
  103. <view class="light" bindtap="chatRoom">
  104. <image mode="scaleToFill" src="{{imgPath}}/index-light3.png"></image>
  105. <text>聊天室</text>
  106. </view>
  107. <view class="light" bindtap="faultHandle">
  108. <image mode="scaleToFill" src="{{imgPath}}/index-light8.png"></image>
  109. <text>故障处理</text>
  110. </view>
  111. </view>
  112. </view>
  113. <view class="second-part" wx:if="{{roleCode == 'OPERATION'}}">
  114. <view class="inspection">
  115. <view class="inspection-left" style="background-image: url({{imgPath}}/index-inspection.png);" bindtap="dailyInspection">
  116. <image mode="scaleToFill" src="{{imgPath}}/index-inspection-in1.png"></image>
  117. <text>日常巡检</text>
  118. </view>
  119. <view class="inspection-right" style="background-image: url({{imgPath}}/index-inspection-right.png);" bindtap="meetingInspection">
  120. <image mode="scaleToFill" src="{{imgPath}}/index-inspection-in2.png"></image>
  121. <text>参观巡检</text>
  122. </view>
  123. </view>
  124. <view class="bottmo-module">
  125. <view class="light" bindtap="visitAgenda">
  126. <image mode="scaleToFill" src="{{imgPath}}/index-light1.png"></image>
  127. <text>参观议程</text>
  128. </view>
  129. <view class="light" bindtap="uploadImage">
  130. <image mode="scaleToFill" src="{{imgPath}}/index-light2.png"></image>
  131. <text>图片回传</text>
  132. </view>
  133. <view class="light" bindtap="contentScreen">
  134. <image mode="scaleToFill" src="{{imgPath}}/index-light5.png"></image>
  135. <text>内容投屏</text>
  136. </view>
  137. </view>
  138. <view class="bottmo-module">
  139. <view class="light" bindtap="chatRoom">
  140. <image mode="scaleToFill" src="{{imgPath}}/index-light3.png"></image>
  141. <text>聊天室</text>
  142. </view>
  143. <view class="light" bindtap="lightMap">
  144. <image mode="scaleToFill" src="{{imgPath}}/index-light4.png"></image>
  145. <text>地图</text>
  146. </view>
  147. <view class="light" bindtap="faultHandle">
  148. <image mode="scaleToFill" src="{{imgPath}}/index-light8.png"></image>
  149. <text>故障处理</text>
  150. </view>
  151. </view>
  152. </view>