index.wxml 6.5 KB

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