index.wxml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!--pages/ucenter/index/index.wxml-->
  2. <view class='title'>
  3. </view>
  4. <view class="container">
  5. <view class="user_text" bindtap='{{isLogin?"toUserCenter":"tologin"}}' hover-class='active'>
  6. <!--<open-data class="userAvatarUrl" bindtap="" type='userAvatarUrl'></open-data>-->
  7. <view class="userAvatarUrl" bindtap="">
  8. <image src='{{isLogin&&!userInfo.flag?userInfo.avatar:"/images/userhead.png"}}'></image>
  9. </view>
  10. <text class='bold'>{{isLogin?userInfo.userName:'点击登录'}}</text>
  11. <text class="h1">{{isLogin?userInfo.loginName:'工作人员登录后进行操作'}}</text>
  12. </view>
  13. <view class="user-menu">
  14. <view class="zan-panel">
  15. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goCharginglog">
  16. <view class="zan-icon charginglog">
  17. <image src='/images/charginglog.png'></image>
  18. </view>
  19. <view class="zan-text">
  20. <text>充电记录</text>
  21. </view>
  22. <view class="zan-ft">
  23. <image src='/images/enter.png'></image>
  24. </view>
  25. </view>
  26. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goChargemoneylog">
  27. <view class="zan-icon chargemoneylog">
  28. <image src='/images/chargemoneylog.png'></image>
  29. </view>
  30. <view class="zan-text">
  31. <text>充值记录</text>
  32. </view>
  33. <view class="zan-ft">
  34. <image src='/images/enter.png'></image>
  35. </view>
  36. </view>
  37. <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goPurse">
  38. <view class="zan-icon purse">
  39. <image src='/images/purse.png'></image>
  40. </view>
  41. <view class="zan-text">
  42. <text>我的钱包</text>
  43. </view>
  44. <view class="zan-ft">
  45. <image src='/images/enter.png'></image>
  46. </view>
  47. </view>
  48. <!-- 运维用户 -->
  49. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyChargeSation">
  50. <view class="zan-icon charging3">
  51. <image src='/images/charging3.png'></image>
  52. </view>
  53. <view class="zan-text">
  54. <text>责任场站</text>
  55. </view>
  56. <view class="zan-ft">
  57. <image src='/images/enter.png'></image>
  58. </view>
  59. </view>
  60. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goChargpileMonitor">
  61. <view class="zan-icon monitor">
  62. <image src='/images/monitor.png'></image>
  63. </view>
  64. <view class="zan-text">
  65. <text>充电桩监控</text>
  66. </view>
  67. <view class="zan-ft">
  68. <image src='/images/enter.png'></image>
  69. </view>
  70. </view>
  71. <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyWorksheet">
  72. <view class="zan-icon worksheet">
  73. <image src='/images/worksheet.png'></image>
  74. </view>
  75. <view class="zan-text">
  76. <text>我的工单</text>
  77. </view>
  78. <view class="zan-ft">
  79. <image src='/images/enter.png'></image>
  80. </view>
  81. </view>
  82. <!-- 运维用户 -->
  83. <view class="zan-cell" hover-class="active" bindtap="goNotice">
  84. <view class="zan-icon notice">
  85. <image src='/images/notice_icon.png'></image>
  86. </view>
  87. <view class="zan-text">
  88. <text>通知公告</text>
  89. </view>
  90. <view class="zan-ft">
  91. <image src='/images/enter.png'></image>
  92. </view>
  93. </view>
  94. <view class="zan-cell" hover-class="active" bindtap="goHelp">
  95. <view class="zan-icon help">
  96. <image src='/images/help.png'></image>
  97. </view>
  98. <view class="zan-text">
  99. <text>帮助中心</text>
  100. </view>
  101. <view class="zan-ft">
  102. <image src='/images/enter.png'></image>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="logout" hover-class="active" wx:if="{{isLogin}}" bindtap="logout">退出账号</view>
  108. </view>
  109. <view class='footer' bindtap='phoneCall'>
  110. <text class="h1">客服电话:18211188302</text>
  111. <text class="h1">工作时间:工作日 08:00-17:00</text>
  112. </view>