1 |
- <view class="pages"><view class="top-img usercenter"><image class="img" src="{{$getimg+'usercenter-bg.png'}}" mode="widthFix"></image><view class="usercenter-baseinfo"><image class="photo" src="{{userInfo.headImage||''}}" mode="scaleToFill"></image><view class="text"><view class="name">{{userInfo.customerName||'游客'}}</view><block wx:if="{{userInfo.isCompany}}"><view class="tyep"><text class="iconfont icon-qiyeyonghu"></text>企业用户</view></block></view></view><view class="tool-bar"><view class="tool-bar-item"><view class="tool-bar-til">我的碳汇量(kg)</view><view class="tool-bar-num"><text class="num">{{userInfo.carbonAmount||'0'}}</text><text class="iconfont icon-jiantou"></text></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="tool-bar-item" bindtap="__e"><view class="tool-bar-til">任务中心</view><view class="tool-bar-num"><text class="iconfont icon-jiantou"></text></view></view></view></view><view class="usernav-list icon-form-item-wrap"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="icon-form-item" bindtap="__e"><view class="icon-form-item-imgwrap"><image class="icon-form-item-img" src="{{$getimg+'icon-certificate.png'}}" mode="aspectFit"></image></view><view class="icon-form-item-text">我的证书</view><view class="icon-form-item-icon"><text class="iconfont icon-jiantou"></text></view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="icon-form-item" bindtap="__e"><view class="icon-form-item-imgwrap"><image class="icon-form-item-img" src="{{$getimg+'icon-certificate.png'}}" mode="aspectFit"></image></view><view class="icon-form-item-text">我的订单</view><view class="icon-form-item-icon"><text class="iconfont icon-jiantou"></text></view></view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="icon-form-item full-border" bindtap="__e"><view class="icon-form-item-imgwrap"><image class="icon-form-item-img" src="{{$getimg+'icon-yonghuzhinan.png'}}" mode="aspectFit"></image></view><view class="icon-form-item-text">我的认购</view><view class="icon-form-item-icon"><text class="iconfont icon-jiantou"></text></view></view><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="icon-form-item" bindtap="__e"><view class="icon-form-item-imgwrap"><image class="icon-form-item-img" src="{{$getimg+'icon-about.png'}}" mode="aspectFit"></image></view><view class="icon-form-item-text">关于我们</view><view class="icon-form-item-icon"><text class="iconfont icon-jiantou"></text></view></view></view><view class="wrap40 question-nav"><view data-event-opts="{{[['tap',[['goGuide',['$event']]]]]}}" class="question-item" bindtap="__e"><view class="question-item-text"><view class="question-item-til">新手指南</view><view class="question-item-subtil">一看就懂</view></view><image class="question-item-img" src="{{$getimg+'icon-guide-nav.png'}}" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="question-item" bindtap="__e"><view class="question-item-text"><view class="question-item-til">常见问题</view><view class="question-item-subtil">解答疑惑</view></view><image class="question-item-img" src="{{$getimg+'icon-question-nav.png'}}" mode="aspectFit"></image></view></view><block wx:if="{{hasLogin}}"><view data-event-opts="{{[['tap',[['logout']]]]}}" class="logout" bindtap="__e">退出登录</view></block><block wx:if="{{!hasLogin}}"><view data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" class="logout" bindtap="__e">去登录</view></block></view>
|