<!--components/userNumberSync.wxml-->

<view class="{{show ? 'component active' : 'component'}}" bindtap="closeBox" id="componentBG">
  <view class="{{show ? 'checkBox active' : 'checkBox'}}">
    <view class="logo">
      <image src="../asset/icon/tiny-Chat-rotate.png" mode="widthFix" />
      <view class="title">小闲聊</view>
    </view>

    <view class="memberNotice">成为小闲聊会员，享受更多权益</view>

    <button open-type="getPhoneNumber" class="getPhoneNumber" type="primary" bindgetphonenumber="getphonenumber" disabled="{{isNotRead}}">微信一键登录</button>
    <view class="skip" bindtap="skip">暂时跳过</view>

    <view class="userProtocolModel">
      <view class="textInside">
        <view class="{{isNotRead ? 'agreeButton' : 'agreeButton active'}}" bindtap="agreedClick">
          <image wx:if="{{!isNotRead}}" src="../asset/icon/success.png" mode="" />
        </view>
        <text>我已阅读并同意</text>
        <text class="userProtocol" bindtap="checkUserProtocol">《用户协议及隐私政策》</text>
      </view>
    </view>
  </view>
</view>