index.wxml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <!--pages/ucenter/index/index.wxml-->
  2. <view class="container">
  3. <view class="user_text" bindtap='{{isLogin?"toUserCenter":"tologin"}}' hover-class='active'>
  4. <!--<open-data class="userAvatarUrl" bindtap="" type='userAvatarUrl'></open-data>-->
  5. <view class="userAvatarUrl" bindtap="">
  6. <image src='{{isLogin&&!userInfo.flag?userInfo.avatar:"/images/userhead.png"}}'></image>
  7. </view>
  8. <text class='bold'>{{isLogin?userInfo.userName:'点击登录'}}</text>
  9. <text class="h1">{{isLogin?userInfo.loginName:'工作人员登录后进行操作'}}</text>
  10. <view class="user_text_zan-ft">
  11. <image src='/images/enter.png'></image>
  12. </view>
  13. </view>
  14. <!-- <view class="banner">
  15. <image src='/banner/banner1.png'></image>
  16. </view> -->
  17. <!-- <view style="width: 100%;">
  18. <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
  19. </view> -->
  20. <view class="context" wx:if='{{!userInfo.flag}}' >
  21. <view class='context_view' bindtap="goPurse" hover-class='active'>
  22. <image class='my_purse' src='/images/my_purse.png'></image>
  23. <text>我的钱包</text>
  24. </view>
  25. <view class='context_view' bindtap="goCharginglog" hover-class='active'>
  26. <image class='my_chargelog' src='/images/my_chargelog.png'></image>
  27. <text>充电记录</text>
  28. </view>
  29. <view class='context_view' hover-class='active'>
  30. <image class='my_cuppon' src='/images/my_cuppon.png'></image>
  31. <text>优惠券</text>
  32. </view>
  33. <view class='context_view' hover-class='active'>
  34. <image class='my_integral' src='/images/my_integral.png'></image>
  35. <text>积分中心</text>
  36. </view>
  37. </view>
  38. <view class="user-menu">
  39. <view class="zan-panel">
  40. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goCharginglog">
  41. <view class="zan-icon">
  42. <!-- <image src='/images/charginglog.png'></image> -->
  43. <image src='/images/column.png'></image>
  44. </view>
  45. <view class="zan-text">
  46. <text>充电记录</text>
  47. </view>
  48. <view class="zan-ft">
  49. <image src='/images/enter.png'></image>
  50. </view>
  51. </view>
  52. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goChargemoneylog">
  53. <view class="zan-icon">
  54. <!-- <image src='/images/chargemoneylog.png'></image> -->
  55. <image src='/images/column.png'></image>
  56. </view>
  57. <view class="zan-text">
  58. <text>充值记录</text>
  59. </view>
  60. <view class="zan-ft">
  61. <image src='/images/enter.png'></image>
  62. </view>
  63. </view>
  64. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goPurse">
  65. <view class="zan-icon">
  66. <!-- <image src='/images/purse.png'></image> -->
  67. <image src='/images/column.png'></image>
  68. </view>
  69. <view class="zan-text">
  70. <text>我的钱包</text>
  71. </view>
  72. <view class="zan-ft">
  73. <image src='/images/enter.png'></image>
  74. </view>
  75. </view>
  76. <!-- 运维用户 -->
  77. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyChargeSation">
  78. <view class="zan-icon">
  79. <!-- <image src='/images/charging3.png'></image> -->
  80. <image src='/images/column.png'></image>
  81. </view>
  82. <view class="zan-text">
  83. <text>责任场站</text>
  84. </view>
  85. <view class="zan-ft">
  86. <image src='/images/enter.png'></image>
  87. </view>
  88. </view>
  89. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goChargpileMonitor">
  90. <view class="zan-icon">
  91. <!-- <image src='/images/monitor.png'></image> -->
  92. <image src='/images/column.png'></image>
  93. </view>
  94. <view class="zan-text">
  95. <text>充电桩监控</text>
  96. </view>
  97. <view class="zan-ft">
  98. <image src='/images/enter.png'></image>
  99. </view>
  100. </view>
  101. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyWorksheet">
  102. <view class="zan-icon">
  103. <!-- <image src='/images/worksheet.png'></image> -->
  104. <image src='/images/column.png'></image>
  105. </view>
  106. <view class="zan-text">
  107. <text>我的工单</text>
  108. </view>
  109. <view class="zan-ft">
  110. <image src='/images/enter.png'></image>
  111. </view>
  112. </view>
  113. <!-- 运维用户 -->
  114. <view class="zan-cell" hover-class="active" bindtap="goNotice">
  115. <view class="zan-icon">
  116. <!-- <image src='/images/notice_icon.png'></image> -->
  117. <image src='/images/column.png'></image>
  118. </view>
  119. <view class="zan-text">
  120. <text>通知公告</text>
  121. </view>
  122. <view class="zan-ft">
  123. <image src='/images/enter.png'></image>
  124. </view>
  125. </view>
  126. <view class="zan-cell" hover-class="active" bindtap="goAccountSecrity">
  127. <view class="zan-icon">
  128. <image src='/images/column.png'></image>
  129. </view>
  130. <view class="zan-text">
  131. <text>账户安全</text>
  132. </view>
  133. <view class="zan-ft">
  134. <image src='/images/enter.png'></image>
  135. </view>
  136. </view>
  137. <view class="zan-cell" hover-class="active" bindtap="goHelp">
  138. <view class="zan-icon">
  139. <!-- <image src='/images/help.png'></image> -->
  140. <image src='/images/column.png'></image>
  141. </view>
  142. <view class="zan-text">
  143. <text>帮助中心</text>
  144. </view>
  145. <view class="zan-ft">
  146. <image src='/images/enter.png'></image>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. <view class="logout" hover-class="active" wx:if="{{isLogin}}" bindtap="logout">退出账号</view>
  152. </view>
  153. <!-- <view class='footer' bindtap='phoneCall'>
  154. <text class="h1">客服电话:4009608068</text>
  155. <text class="h1">工作时间:工作日 08:30-17:00</text>
  156. </view> -->
  157. <!-- <view class='footer'>
  158. <view class='footer_1' bindtap="toindex">
  159. <image src='/images/index.png'></image>
  160. <text>首页</text>
  161. </view>
  162. <view class='footer_2'>
  163. <image src='/images/scan.png'>扫码充电</image>
  164. </view>
  165. <view class='footer_3'>
  166. <image src='/images/ucenter_selected.png'></image>
  167. <text class='selected'>我的</text>
  168. </view>
  169. </view> -->