You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
5.1 KiB

5 years ago
<view class="user _div"><view class="header bg-color-red acea-row row-between-wrapper _div"><view class="picTxt acea-row row-between-wrapper _div"><view class="pictrue _div"><image src="{{userInfo.avatar}}" class="_img"></image></view><view class="text _div"><view class="acea-row row-middle _div"><view class="name line1 _div">{{userInfo.nickname}}</view><block wx:if="{{userInfo.vip}}"><view class="member acea-row row-middle _div"><image src="{{userInfo.vipIcon}}" class="_img"></image>{{''+userInfo.vipName+''}}</view></block></view><block wx:if="{{userInfo.phone}}"><view data-event-opts="{{[['tap',[['goPersonalData']]]]}}" class="id _div" bindtap="__e">{{'ID:'+(userInfo.uid||0)+''}}<label class="iconfont icon-bianji1 _span"></label></view></block><block wx:else><button class="binding" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"><label class="_span">绑定手机号</label></button></block></view></view><label data-event-opts="{{[['tap',[['goPersonalData']]]]}}" class="iconfont icon-shezhi _span" bindtap="__e"></label></view><view class="wrapper _div"><view class="nav acea-row row-middle _div"><view data-event-opts="{{[['tap',[['goUserAccount']]]]}}" class="item _div" bindtap="__e"><view class="_div">我的余额</view><view class="num _div">{{userInfo.nowMoney||0}}</view></view><block wx:if="{{userInfo.isPromoter===1||userInfo.statu===2}}"><view data-event-opts="{{[['tap',[['goUserPromotion']]]]}}" class="item _div" bindtap="__e"><view class="_div">当前佣金</view><view class="num _div">{{userInfo.brokeragePrice||0}}</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['goIntegral']]]]}}" class="item _div" bindtap="__e"><view class="_div">当前积分</view><view class="num _div">{{userInfo.integral||0}}</view></view></block><view data-event-opts="{{[['tap',[['goUserCoupon']]]]}}" class="item _div" bindtap="__e"><view class="_div">优惠券</view><view class="num _div">{{userInfo.couponCount||0}}</view></view></view><view class="myOrder _div"><view class="title acea-row row-between-wrapper _div"><view class="_div">我的订单</view><view data-event-opts="{{[['tap',[['goMyOrder']]]]}}" class="allOrder _div" bindtap="__e">全部订单<label class="iconfont icon-jiantou _span"></label></view></view><view class="orderState acea-row row-middle _div"><view data-event-opts="{{[['tap',[['goMyOrder',[0]]]]]}}" class="item _div" bindtap="__e"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/dfk.png'}}" class="_img"></image><block wx:if="{{orderStatusNum.unpaidCount>0}}"><label class="order-status-num _span">{{orderStatusNum.unpaidCount}}</label></block></view><view class="_div">待付款</view></view><view data-event-opts="{{[['tap',[['goMyOrder',[1]]]]]}}" class="item _div" bindtap="__e"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/dfh.png'}}" class="_img"></image><block wx:if="{{orderStatusNum.unshippedCount>0}}"><label class="order-status-num _span">{{orderStatusNum.unshippedCount}}</label></block></view><view class="_div">待发货</view></view><view data-event-opts="{{[['tap',[['goMyOrder',[2]]]]]}}" class="item _div" bindtap="__e"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/dsh.png'}}" class="_img"></image><block wx:if="{{orderStatusNum.receivedCount>0}}"><label class="order-status-num _span">{{orderStatusNum.receivedCount}}</label></block></view><view class="_div">待收货</view></view><view data-event-opts="{{[['tap',[['goMyOrder',[3]]]]]}}" class="item _div" bindtap="__e"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/dpj.png'}}" class="_img"></image><block wx:if="{{orderStatusNum.evaluatedCount>0}}"><label class="order-status-num _span">{{orderStatusNum.evaluatedCount}}</label></block></view><view class="_div">待评价</view></view><view data-event-opts="{{[['tap',[['goReturnList']]]]}}" class="item _div" bindtap="__e"><view class="pictrue _div"><image src="{{$VUE_APP_RESOURCES_URL+'/images/sh.png'}}" class="_