<view class="container">
  <view class="userinfo" bindtap="goLogin">
    <text class="txt-info">温馨提示：支付购买前需自行查看跨境额度是否超出，否则会出货失败</text>

    <image class="userinfo-avatar" src="{{userInfo.avatarUrl}}" wx:if="{{userInfo.avatarUrl}}" background-size="cover"></image>
  </view>
  
    <view class='user-box'>
      <view class="userinfo-nickname">{{userInfo.nickName}}</view>
      <view class="userlevel" wx:if="{{userInfo.nickName!='点击头像登录'}}">{{curUser.userLevel}}</view>
    </view>
  <view class="order-menu">
    <view class="item">
      <navigator url="/pages/ucenter/order/order?tabIndex=1" class="a">
        <view class="unpay-num" wx:if="{{unPayNum>0}}">{{unPayNum}}</view>
        <text class="icon unpay"></text>
        <text class="txt">待付款</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/order/order?tabIndex=2" class="a">
        <view class="untake-num" wx:if="{{unTakeNum>0}}">{{unTakeNum}}</view>
        <text class="icon delivery"></text>
        <text class="txt">待收货</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/order/order?tabIndex=3" class="a">
         <view class="uneval-num" wx:if="{{unEvaNum>0}}">{{unEvaNum}}</view>
        <text class="icon evaluate"></text>
        <text class="txt">待评价</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/order/order" class="a">
        <text class="icon order"></text>
        <text class="txt">全部订单</text>
      </navigator>
    </view>
  </view>

  <view class="user-menu">
    <view class="item">
      <navigator url="/pages/ucenter/coupon/coupon" class="a">
        <!-- <text class="icon coupon"></text> -->
        <image src="../../../static/images/service-yhj.png" class="icon"></image>
        <text class="txt">我的优惠券</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/collect/collect" class="a">
        <!-- <text class="icon collect"></text> -->
        <image src="../../../static/images/service-sc.png" class="icon"></image>
        <text class="txt">我的收藏</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/footprint/footprint" class="a">
        <!-- <text class="icon security"></text> -->
        <image src="../../../static/images/service-zj.png" class="icon"></image>
        <text class="txt">我的足迹</text>
      </navigator>
    </view>
    <!-- <view class="item">
      <navigator url="/pages/ucenter/share/share" class="a">
        <text class="icon share"></text>
        <text class="txt">我的分享</text>
      </navigator>
    </view> -->
    <view class="item">
      <navigator url="/pages/ucenter/address/address" class="a">
        <!-- <text class="icon address"></text> -->
        <image src="../../../static/images/service-dw.png" class="icon"></image>
        <text class="txt">地址管理</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/group/group" class="a">
        <!-- <text class="icon group"></text> -->
        <image src="../../../static/images/service-tg.png" class="icon"></image>
        <text class="txt">我的团购</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/idCard/idCard" class="a">
        <image src="../../../static/images/service-sfz.png" class="icon"></image>
        <text class="txt">身份证实名</text>
      </navigator>
    </view>
    <view class="item">
      <navigator url="/pages/ucenter/feedback/feedback" class="a">
        <text class="icon feedback"></text>
        <text class="txt">意见反馈</text>
      </navigator>
    </view>
    <view class="item item">
      <navigator url="/pages/ucenter/help/help" class="a">
        <text class="icon help"></text>
        <text class="txt">帮助中心</text>
      </navigator>
    </view>
  </view>

  <button wx:if="{{userInfo.nickName!='点击头像登录'}}" open-type="contact" type='primary' class="logout">联系客服</button>
  <button wx:if="{{!curUser.mobile&&userInfo.nickName!='点击头像登录'}}" type='primary' class="logout" bindtap="bindMobile">绑定手机</button>
</view>