user.wxml 6.9 KB

1
  1. <view class="container"><view class="top"><view class="bg"><image src="../../static/img/userBg.png" mode></image></view><view data-event-opts="{{[['tap',[['navTo',['/pages/set/userinfo']]]]]}}" class="set" bindtap="__e"><image src="../../static/icon/set.png" mode></image></view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/set/userinfo']]]]]}}" class="userInfo-box" bindtap="__e"><view class="avatar"><image src="{{userInfo.avatar||'/static/error/missing-face.png'}}" mode></image></view><view class="name">{{userInfo.nickname||'游客'}}</view><view class="myId flex">{{'会员编号:'+(userInfo.uid||'游客')+''}}<block wx:if="{{userInfo.vip}}"><view class="flex"><text class="xian"></text><image style="width:20rpx;height:20rpx;" src="{{userInfo.vip_icon}}" mode></image><text class="level" style="color:red;">{{userInfo.vip_name}}</text></view></block></view><block wx:if="{{userInfo.spread_uid&&userInfo.spread_uid!=0}}"><view class="shareId">{{"推荐人编号:"+userInfo.spread_uid+''}}</view></block></view><view class="czzx-box flex"><view class="czzx-item"><view class="czzx-icon1"><image src="../../static/icon/czzx.png" mode></image></view></view><view class="czzx-xian"></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/creation?id=0']]]]]}}" class="czzx-item" bindtap="__e"><view class="czzx-icon2"><image src="../../static/icon/user1.png" mode></image></view><view class="czzx-font">草稿箱</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/creation?id=1']]]]]}}" class="czzx-item" bindtap="__e"><view class="czzx-icon3"><image src="../../static/icon/user2.png" mode></image></view><view class="czzx-font">审核中</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/creation?id=2']]]]]}}" class="czzx-item" bindtap="__e"><view class="czzx-icon4"><image src="../../static/icon/user3.png" mode></image></view><view class="czzx-font">已审核</view></view></view><view class="box"><view class="box-title flex"><view class="box-title-left">我的订单</view><view data-event-opts="{{[['tap',[['navTo',['/pages/order/order?state=0']]]]]}}" class="box-title-right flex" bindtap="__e"><view class="box-title-right-font">全部</view><view class="jt"><image src="../../static/icon/jt.png" mode></image></view></view></view><view class="box-main flex"><view data-event-opts="{{[['tap',[['navTo',['/pages/order/order?state=0']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon1 position-relative"><image src="../../static/icon/user4.png" mode></image><block wx:if="{{orderInfo.unpaid_count>0}}"><view class="corner"><text>{{orderInfo.unpaid_count}}</text></view></block></view><view class="box-main-item-font">待付款</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/order/order?state=1']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon2 position-relative"><image src="../../static/icon/user5.png" mode></image><block wx:if="{{orderInfo.unshipped_count>0}}"><view class="corner"><text>{{orderInfo.unshipped_count}}</text></view></block></view><view class="box-main-item-font">待发货</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/order/order?state=2']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon3 position-relative"><image src="../../static/icon/user6.png" mode></image><block wx:if="{{orderInfo.received_count>0}}"><view class="corner"><text>{{orderInfo.received_count}}</text></view></block></view><view class="box-main-item-font">待收货</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/order/order?state=5']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon4 position-relative"><image src="../../static/icon/user7.png" mode></image><block wx:if="{{orderInfo.refund_count>0}}"><view class="corner"><text>{{orderInfo.refund_count}}</text></view></block></view><view class="box-main-item-font">售后</view></view></view></view><view class="box"><view data-event-opts="{{[['tap',[['navTo',['/pages/user/vip']]]]]}}" class="box-title flex" bindtap="__e"><view class="box-title-left">我的应用</view></view><view class="box-main flex"><view data-event-opts="{{[['tap',[['navTo',['/pages/user/coupon']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user8.png" mode></image></view><view class="box-main-item-font">我的优惠券</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/cart/cart']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user9.png" mode></image></view><view class="box-main-item-font">购物车</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/set/address']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user10.png" mode></image></view><view class="box-main-item-font">收货地址</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/index/coupon']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user11.png" mode></image></view><view class="box-main-item-font">领取优惠券</view></view></view></view><view class="box"><view class="box-title flex"><view class="box-title-left">更多服务</view></view><view class="box-main flex"><view data-event-opts="{{[['tap',[['navTo',['/pages/user/living']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user12.png" mode></image></view><view class="box-main-item-font">直播广场</view></view><block wx:if="{{userInfo.is_promoter!=0}}"><view data-event-opts="{{[['tap',[['navTo',['/pages/user/myLq']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user13.png" mode></image></view><view class="box-main-item-font">余额记录</view></view></block><view data-event-opts="{{[['tap',[['navTo',['/pages/user/myTeam']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user14.png" mode></image></view><view class="box-main-item-font">我的团队</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/speardorder']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user15.png" mode></image></view><view class="box-main-item-font">推广人订单</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/vip']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user16.png" mode></image></view><view class="box-main-item-font">等级任务</view></view><block wx:if="{{userInfo.uper==1}}"><view data-event-opts="{{[['tap',[['navTo',['/pages/upload/commodity']]]]]}}" class="box-main-item" bindtap="__e"><view class="box-main-item-icon5"><image src="../../static/icon/user17.png" mode></image></view><view class="box-main-item-font">上传商品</view></view></block></view></view></view>