<view class="modal" wx:if='{{isAuthorization}}'>
    <view class="modal-mask"></view>
    <view class="modal-container" style="top:{{isAuthorizationActiveText ? '12%' : '26%' }};">
      <view class='auth-avatar'>
        <image class='auth-avatar-img' src='/assets/imgs/auth-avatar.png'></image>
      </view>
      <view class='auth-shop' wx:if="{{isAuthorizationActiveText}}">
        <view class="auto-old"><span class="auto-old-num">1. </span>老会员无需领取新会员卡,即可在会员小程序享受全部会员权益。</view>
        <view class="auto-old"><span class="auto-old-num">2. </span>若在领取新会员卡过程中输入新手机号,会造成原会员及积分信息的更替。</view>
        <view class="auto-old"><span class="auto-old-num">3. </span>领取后的新会员卡,将存放在"微信-卡包"。</view>
      </view>
      <view class='auth-shop' wx:else>微商城申请获取授权，用于会员服务</view>
      <button type='primary'  wx:if="{{!isAuthorizationActiveText}}" bindgetuserinfo="_getUserInfo" open-type='getUserInfo' class='agree' disabled='{{!checkAll}}'>同意</button>
      <button type='primary'  wx:else class='agree' disabled='{{!checkAll}}' bindtap="handleActiveAgree">同意并领取新会员卡</button>
      <view class='rule-wrap'>
        <view class='agree-rule'>
          <view wx:if="{{!isAuthorizationActiveText}}" class="agree-icon"><icon size="18" type="{{checkAll ? 'success' : 'circle'}}" bindtap="checkAll"></icon></view>
          <view wx:if="{{!isAuthorizationActiveText}}"><text>我已阅读并同意</text><text class='rule-text' bindtap="handelToMemberRules">《会员规则》</text></view>
         <!-- <view wx:else><text>我已阅读并同意</text><text class='rule-text' bindtap="handelToMemberRules">《激活领卡规则》</text></view>-->
        </view>
      </view>
      <view class='close' bindtap='close'>
        <image class='close-img' src='/assets/imgs/close.png'></image>
      </view>
    </view>
  </view>