123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <!--pages/ucenter/index/index.wxml-->
- <view class="container">
- <view class="user_text" bindtap='{{isLogin?"toUserCenter":"tologin"}}' hover-class='active'>
- <!--<open-data class="userAvatarUrl" bindtap="" type='userAvatarUrl'></open-data>-->
- <view class="userAvatarUrl" bindtap="">
- <image src='{{isLogin&&!userInfo.flag?userInfo.avatar:"/images/userhead.png"}}'></image>
- </view>
- <text class="bold" wx:if="{{userInfo.bindingPhone==1}}">{{isLogin?userInfo.phonenumber:'手机号未绑定'}}</text>
- <text class='bold' wx:if="{{userInfo.bindingPhone==0}}">{{isLogin?userInfo.userName:'点击登录'}}</text>
- <text class="h1" wx:if="{{userInfo.bindingPhone==0}}">{{isLogin?userInfo.loginName:'工作人员登录后进行操作'}}</text>
- <text class='bold' wx:if="{{!isLogin}}">点击登录</text>
- <text class="h1" wx:if="{{!isLogin}}">工作人员登录后进行操作</text>
- <view wx:if="{{isLogin}}" class="user_text_edit">
- 编辑个人信息
- </view>
- <view class="user_text_zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <!-- <view class="banner">
- <image src='/banner/banner1.png'></image>
- </view> -->
- <!-- <view style="width: 100%;">
- <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
- </view> -->
- <view class="context" wx:if='{{!userInfo.flag}}' >
- <view class='context_view' bindtap="goPurse" hover-class='active'>
- <image class='my_purse' src='/images/my_purse.png'></image>
- <text>我的钱包</text>
- </view>
- <view class='context_view' bindtap="goCharginglog" hover-class='active'>
- <image class='my_chargelog' src='/images/my_chargelog.png'></image>
- <text>充电记录</text>
- </view>
- <view class='context_view' hover-class='active'>
- <image class='my_cuppon' src='/images/my_cuppon.png'></image>
- <text>优惠券</text>
- </view>
- <view class='context_view' hover-class='active'>
- <image class='my_integral' src='/images/my_integral.png'></image>
- <text>积分中心</text>
- </view>
- </view>
- <view class="user-menu">
- <view class="zan-panel">
- <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goCharginglog">
- <view class="zan-icon">
- <!-- <image src='/images/charginglog.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>充电记录</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goChargemoneylog">
- <view class="zan-icon">
- <!-- <image src='/images/chargemoneylog.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>充值记录</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goyuyt">
- <view class="zan-icon">
- <!-- <image src='/images/purse.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>预约记录</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goPurse">
- <view class="zan-icon">
- <!-- <image src='/images/purse.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>我的钱包</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{!userInfo.flag}}' hover-class="active" bindtap="goCar">
- <view class="zan-icon">
- <!-- <image src='/images/purse.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>我的车辆</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <!-- 运维用户 -->
- <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyChargeSation">
- <view class="zan-icon">
- <!-- <image src='/images/charging3.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>责任场站</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goChargpileMonitor">
- <view class="zan-icon">
- <!-- <image src='/images/monitor.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>充电桩监控</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{userInfo.flag}}' hover-class="active" bindtap="goMyWorksheet">
- <view class="zan-icon">
- <!-- <image src='/images/worksheet.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>我的工单</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <!-- 运维用户 -->
- <view class="zan-cell" hover-class="active" bindtap="goNotice">
- <view class="zan-icon">
- <!-- <image src='/images/notice_icon.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>通知公告</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" wx:if='{{userInfo.flag==null?1:!userInfo.flag}}' hover-class="active" bindtap="goAccountSecrity">
- <view class="zan-icon">
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>账户安全</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" hover-class="active" bindtap="goAgreement">
- <view class="zan-icon">
- <!-- <image src='/images/help.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>用户协议</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- <view class="zan-cell" hover-class="active" bindtap="goHelp">
- <view class="zan-icon">
- <!-- <image src='/images/help.png'></image> -->
- <image src='/images/column.png'></image>
- </view>
- <view class="zan-text">
- <text>帮助中心</text>
- </view>
- <view class="zan-ft">
- <image src='/images/enter.png'></image>
- </view>
- </view>
- </view>
- </view>
- <view class="logout" hover-class="active" wx:if="{{isLogin}}" bindtap="logout">退出账号</view>
- </view>
- <!-- <view class='footer' bindtap='phoneCall'>
- <text class="h1">客服电话:4009608068</text>
- <text class="h1">工作时间:工作日 08:30-17:00</text>
- </view> -->
- <!-- <view class='footer'>
- <view class='footer_1' bindtap="toindex">
- <image src='/images/index.png'></image>
- <text>首页</text>
- </view>
- <view class='footer_2'>
- <image src='/images/scan.png'>扫码充电</image>
- </view>
- <view class='footer_3'>
- <image src='/images/ucenter_selected.png'></image>
- <text class='selected'>我的</text>
- </view>
- </view> -->
|