index.wxml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 class="context">
  18. <view class='context_view' bindtap="goPurse" hover-class='active'>
  19. <image class='my_purse' src='/images/my_purse.png'></image>
  20. <text>我的钱包</text>
  21. </view>
  22. <view class='context_view' bindtap="goCharginglog" hover-class='active'>
  23. <image class='my_chargelog' src='/images/my_chargelog.png'></image>
  24. <text>充电记录</text>
  25. </view>
  26. <view class='context_view' hover-class='active'>
  27. <image class='my_cuppon' src='/images/my_cuppon.png'></image>
  28. <text>优惠券</text>
  29. </view>
  30. <view class='context_view' hover-class='active'>
  31. <image class='my_integral' src='/images/my_integral.png'></image>
  32. <text>积分中心</text>
  33. </view>
  34. </view>
  35. <view class="user-menu">
  36. <view class="zan-panel">
  37. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goCharginglog">
  38. <view class="zan-icon">
  39. <!-- <image src='/images/charginglog.png'></image> -->
  40. <image src='/images/column.png'></image>
  41. </view>
  42. <view class="zan-text">
  43. <text>充电记录</text>
  44. </view>
  45. <view class="zan-ft">
  46. <image src='/images/enter.png'></image>
  47. </view>
  48. </view>
  49. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goChargemoneylog">
  50. <view class="zan-icon">
  51. <!-- <image src='/images/chargemoneylog.png'></image> -->
  52. <image src='/images/column.png'></image>
  53. </view>
  54. <view class="zan-text">
  55. <text>充值记录</text>
  56. </view>
  57. <view class="zan-ft">
  58. <image src='/images/enter.png'></image>
  59. </view>
  60. </view>
  61. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goPurse">
  62. <view class="zan-icon">
  63. <!-- <image src='/images/purse.png'></image> -->
  64. <image src='/images/column.png'></image>
  65. </view>
  66. <view class="zan-text">
  67. <text>我的钱包</text>
  68. </view>
  69. <view class="zan-ft">
  70. <image src='/images/enter.png'></image>
  71. </view>
  72. </view>
  73. <!-- 运维用户 -->
  74. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyChargeSation">
  75. <view class="zan-icon">
  76. <!-- <image src='/images/charging3.png'></image> -->
  77. <image src='/images/column.png'></image>
  78. </view>
  79. <view class="zan-text">
  80. <text>责任场站</text>
  81. </view>
  82. <view class="zan-ft">
  83. <image src='/images/enter.png'></image>
  84. </view>
  85. </view>
  86. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goChargpileMonitor">
  87. <view class="zan-icon">
  88. <!-- <image src='/images/monitor.png'></image> -->
  89. <image src='/images/column.png'></image>
  90. </view>
  91. <view class="zan-text">
  92. <text>充电桩监控</text>
  93. </view>
  94. <view class="zan-ft">
  95. <image src='/images/enter.png'></image>
  96. </view>
  97. </view>
  98. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyWorksheet">
  99. <view class="zan-icon">
  100. <!-- <image src='/images/worksheet.png'></image> -->
  101. <image src='/images/column.png'></image>
  102. </view>
  103. <view class="zan-text">
  104. <text>我的工单</text>
  105. </view>
  106. <view class="zan-ft">
  107. <image src='/images/enter.png'></image>
  108. </view>
  109. </view>
  110. <!-- 运维用户 -->
  111. <view class="zan-cell" hover-class="active" bindtap="goNotice">
  112. <view class="zan-icon">
  113. <!-- <image src='/images/notice_icon.png'></image> -->
  114. <image src='/images/column.png'></image>
  115. </view>
  116. <view class="zan-text">
  117. <text>通知公告</text>
  118. </view>
  119. <view class="zan-ft">
  120. <image src='/images/enter.png'></image>
  121. </view>
  122. </view>
  123. <view class="zan-cell" hover-class="active" bindtap="goHelp">
  124. <view class="zan-icon">
  125. <!-- <image src='/images/help.png'></image> -->
  126. <image src='/images/column.png'></image>
  127. </view>
  128. <view class="zan-text">
  129. <text>帮助中心</text>
  130. </view>
  131. <view class="zan-ft">
  132. <image src='/images/enter.png'></image>
  133. </view>
  134. </view>
  135. </view>
  136. </view>
  137. <!-- <view class="logout" hover-class="active" wx:if="{{isLogin}}" bindtap="logout">退出账号</view> -->
  138. </view>
  139. <!-- <view class='footer' bindtap='phoneCall'>
  140. <text class="h1">客服电话:18211188302</text>
  141. <text class="h1">工作时间:工作日 08:00-17:00</text>
  142. </view> -->
  143. <view class='footer'>
  144. <view class='footer_1' bindtap="toindex">
  145. <image src='/images/index.png'></image>
  146. <text>首页</text>
  147. </view>
  148. <view class='footer_2'>
  149. <image src='/images/scan.png'>扫码充电</image>
  150. </view>
  151. <view class='footer_3'>
  152. <image src='/images/ucenter_selected.png'></image>
  153. <text class='selected'>我的</text>
  154. </view>
  155. </view>