<!--component/personCenter/personCenter.wxml-->
<!--<view wx:if='{{!memberActivateStatus}}' class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{'background-image: url(../../assets/imgs/user-bg.png)'}}">
    <button type="primary" plain='false' bindtap="handleTtoActiveMemebr">激活立享会员特权</button>
</view>-->
<view wx:if='{{!memberActivateStatus}}' class="member-unActive {{personCenter.noactiveBackgroundImageUrl ?'':'member-unActive-bgc'}}" bindtap="handleTtoActiveMemebr">
 <!-- <text class="un-active-btn">升级7-Eleven会员2.0版本</text>-->
  <image wx:if="{{baseImgUrl}}" src="{{baseImgUrl}}{{personCenter.noactiveBackgroundImageUrl}}" class="no-active-img" mode="widthFix"></image>
</view>
<!--<view wx:if='{{currentMobile}}' catchtap="handleToMemberOfOwn" class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-image: url(' + baseUrl + ');'}}">-->
<view wx:if='{{memberActivateStatus}}' 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' wx:if='{{memberActivateStatus}}'>
      <view class="user-avatar">
        <open-data type="userAvatarUrl"></open-data>
      </view>
      <view class='user-name-content'>
        <view class='user-name'>
          <open-data type="userNickName"  style="color:{{personCenter.fontColor}};" class="userinfo-nickname" lang="zh_CN"></open-data>
          <!-- <navigator url='/pages/memberOfOwn/memberOfOwn' style='display:inline-block' hover-class="none">
            <image class='icon-edit' src='/assets/imgs/711_12.png'></image>
          </navigator> -->
        </view>
        <view class='user-id' style="color:{{personCenter.fontColor}};">{{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' wx:if='{{memberActivateStatus}}'>
    <view class='df-1 point person-right' bindtap="toBonusDetails" wx: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 person-right' bindtap="toCouponList" wx:if="{{personCenter.coupon == 0}}">
      <view class='point-number' style="color:{{personCenter.fontColor}};">{{couponNum}}</view>
      <view class='point-desc' style="color:{{personCenter.fontColor}};">优惠券</view>
    </view>
    <!-- wx:if="{{valueCardNum > 0}}" 改为长显示 -->
    <view class='df-1 point' bindtap="tapToMyValueCardPage" >
      <view class='point-number' style="color:{{personCenter.fontColor}};">{{valueCardNum ? valueCardNum : '0' }}</view>
      <view class='point-desc' style="color:{{personCenter.fontColor}};">超值卡</view>
    </view>
  </view>
<authorization-modal isAuthorization='{{isAuthorization}}'/>
