<!--component/personCenter/personCenter.axml-->
<view
  a:if="{{!currentMobile}}"
  class="member-unActive {{personCenter.noactiveBackgroundImageUrl ?'':'member-unActive-bgc'}}"
  onTap="handleTtoActiveMemebr"
>
  <image
    a:if="{{baseImgUrl}}"
    src="{{baseImgUrl}}{{personCenter.noactiveBackgroundImageUrl}}"
    class="no-active-img"
    mode="widthFix"
  ></image>
</view>
<view
  a:if="{{currentMobile}}"
  catchTap="handleToMemberOfOwn"
  class="activation-content activation-bg {{true ? 'user-content' : ''}}"
  style="{{personData.backgroundImageUrl ? 'background-image: url('+ baseImgUrl +''+ personData.backgroundImageUrl +');' : 'background-color: ' + baseUrl + ';'}}"
>
  <view class="user-info" a:if="{{currentMobile}}">
    <view class="user-avatar">
      <image class="avatar" mode="widthFix" src="{{avatar}}"></image>
    </view>
    <view class="user-name-content">
      <view class="user-name">
        <!-- 1 浅色 2 黑色-->
        <view
          style="color:{{personCenter.fontColor == 2? '#000' : '#fff'}};"
          class="userinfo-nickname"
        >{{nickName}}</view>
      </view>
      <view class="user-id" style="color:{{personCenter.fontColor == 2? '#000' : '#fff'}};">{{memberCardNo}}</view>
    </view>
    <view class="qr-code pr">
      <image src="/assets/imgs/711_11.png"></image>
    </view>
  </view>
</view>
<view class="df tc person-num" a:if="{{currentMobile}}">
  <view
    class="df-1 point person-right"
    onTap="toBonusDetails"
    a:if="{{personCenter.bonus == 0}}"
  >
    <view class="point-number" style="color:{{personCenter.fontColor}};">{{integralNum}}</view>
    <view class="point-desc" style="color:{{personCenter.fontColor}};">积分</view>
  </view>
  <view
    class="df-1 point"
    onTap="toCouponList"
    a:if="{{personCenter.coupon == 0}}"
  >
    <view class="point-number" style="color:{{personCenter.fontColor}};">{{couponNum}}</view>
    <view class="point-desc" style="color:{{personCenter.fontColor}};">优惠券</view>
  </view>
</view>
<authorization-modal isAuthorization="{{isAuthorization}}"/>