home.wxml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!--home.wxml-->
  2. <page>
  3. <view class="page-body">
  4. <view hidden="{{hiddenLogin}}" class="login-container">
  5. <view class="login-icon">
  6. <view style=" text-align: center;">
  7. <view class="imagebc">
  8. <image src="../../images/login2.jpg" class="imagetp"></image>
  9. </view>
  10. </view>
  11. </view>
  12. <view class="login-from">
  13. <view class="inputBoxContainer">
  14. <text class="loginText" style="font-size:1.3rem; text-align:center; margin-top:10rpx; margin-bottom: 20rpx;">大恒智能运维系统</text>
  15. <view class="inputBox">
  16. <!--账号-->
  17. <view class="inputView">
  18. <view class="nameInput">
  19. <image class="nameImage" src="../../images/user.png"></image>
  20. <label class="loginLab"></label>
  21. <input class="userText" placeholder="请输入账号" bindinput="loginIdInput" value="{{user}}"/>
  22. </view>
  23. </view>
  24. <view class="line">
  25. </view>
  26. <!--密码-->
  27. <view class="inputView">
  28. <view class="pwInput">
  29. <image class="keyImage" src="../../images/pw.png"></image>
  30. <label class="loginLab"></label>
  31. <input class="pwText" password="true" placeholder="请输入密码" value="{{password}}" bindinput="passwordInput" />
  32. </view>
  33. </view>
  34. <view class="line">
  35. </view>
  36. </view>
  37. </view>
  38. <!--按钮-->
  39. <view class="loginBtnView">
  40. <button class="loginBtn" hover-class="loginBtn-class" size="{{primarySize}}" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" bindtap="loginToTaishan">
  41. <text style="font-size:1rem;color:whitesmoke">登录</text></button>
  42. </view>
  43. <view style="margin-top: 20px;display: flex;flex-direction: row;justify-content: center;height: 50px;width: 100%;">
  44. <view >
  45. <switch type="checkbox" checked="{{rememberLoginInfoChecked}}" bindchange="rememberLoginInfoCheckboxChange" />
  46. </view>
  47. <text style="font-size:0.8rem;color:gray;margin-left: 10px;margin-top: 4px;height: 26px;">记住密码</text>
  48. </view>
  49. </view>
  50. </view>
  51. <view hidden="{{hiddenIndex}}" class="index-container">
  52. <view class="topImage"></view>
  53. <view class="menuBox">
  54. <view class="index-line">
  55. <view class="index-block">
  56. <view class="index-block-content" style="background-color:{{rtuBlockColor}};opacity: {{rtuBlockTouchStyle}};" data-menuid="1" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  57. <view class="index-block-content-image-line">
  58. <image src="../../images/rtu.png"> </image>
  59. </view>
  60. <view class="index-block-content-title-line">
  61. <text>测站管理</text>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="index-block">
  66. <view class="index-block-content" style="background-color:{{projectBlockColor}};opacity: {{projectBlockTouchStyle}};" data-menuid="2" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  67. <view class="index-block-content-image-line">
  68. <image src="../../images/baseInfo-m.png"> </image>
  69. </view>
  70. <view class="index-block-content-title-line">
  71. <text>项目管理</text>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="index-block">
  76. <view class="index-block-content" style="background-color:{{blueboothBlockColor}};opacity: {{blueboothBlockTouchStyle}};" data-menuid="3" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  77. <view class="index-block-content-image-line">
  78. <image src="../../images/bluetooth.png"> </image>
  79. </view>
  80. <view class="index-block-content-title-line">
  81. <text>蓝牙助手</text>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <view class="index-line">
  87. <view class="index-block">
  88. <view class="index-block-content" style="background-color:{{projectImplementionBlockColor}};opacity: {{projectImplementionBlockTouchStyle}};" data-menuid="4" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  89. <view class="index-block-content-image-line">
  90. <image src="../../images/report.png"> </image>
  91. </view>
  92. <view class="index-block-content-title-line">
  93. <text>项目施工上报</text>
  94. </view>
  95. </view>
  96. </view>
  97. <!-- <view class="index-block">
  98. <view class="index-block-content" style="background-color:{{checkBlockColor}};opacity: {{checkReportBlockTouchStyle}};" data-menuid="5" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  99. <view class="index-block-content-image-line">
  100. <image src="../../images/proj.png"> </image>
  101. </view>
  102. <view class="index-block-content-title-line">
  103. <text>巡检上报</text>
  104. </view>
  105. </view>
  106. </view> -->
  107. <view class="index-block">
  108. <view class="index-block-content" style="background-color:{{mapNavBlockColor}};opacity: {{mapNavBlockTouchStyle}};" data-menuid="6" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  109. <view class="index-block-content-image-line">
  110. <image src="../../images/setting.png"> </image>
  111. </view>
  112. <view class="index-block-content-title-line">
  113. <text>测站导航</text>
  114. </view>
  115. </view>
  116. </view>
  117. <view class="index-block">
  118. <view class="index-block-content" style="background-color:{{helpBlockColor}};opacity: {{helpBlockTouchStyle}};" data-menuid="7" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  119. <view class="index-block-content-image-line">
  120. <image src="../../images/help.png"> </image>
  121. </view>
  122. <view class="index-block-content-title-line">
  123. <text>帮助文档</text>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. <!-- <view class="index-line">
  129. <view class="index-block">
  130. <view class="index-block-content" style="background-color:{{helpBlockColor}};opacity: {{helpBlockTouchStyle}};" data-menuid="7" bindtap="toMenu" bindtouchstart="menuTouchDown" bindtouchend="menuTouchUp">
  131. <view class="index-block-content-image-line">
  132. <image src="../../images/help.png"> </image>
  133. </view>
  134. <view class="index-block-content-title-line">
  135. <text>帮助文档</text>
  136. </view>
  137. </view>
  138. </view>
  139. <view class="index-block">
  140. </view>
  141. <view class="index-block">
  142. </view>
  143. </view> -->
  144. </view>
  145. </view>
  146. </view>
  147. <view class="page-footer">
  148. <view style=" display:flex; flex-direction: row;justify-content: center;margin-bottom:5px;">
  149. <button type="default" size="mini" hidden="{{hiddenFooter}}" bindtap="logout">注销</button>
  150. <!-- <text hidden="{{hiddenFooter}}" style="margin-right:20px;font-size:0.8rem;color:red; border-bottom: 1px red solid;" bindtap="logout">注销</text> -->
  151. </view>
  152. <text>北京大恒软件技术有限公司版权所有</text>
  153. <text>v1.2.12</text>
  154. </view>
  155. <!-- <mp-dialog title="test" show="{{true}}" bindbuttontap="tapDialogButton" buttons="{{[{text: '取消'}, {text: '确认'}]}}">
  156. <view>test content</view>
  157. </mp-dialog> -->
  158. </page>