<!--components/popup-privacy/popup-privacy.wxml-->
<t-popup placement="bottom" show-overlay="{{true}}" visible="{{visible}}">
  <view class="popup">
    <view class="popup__header">{{title}}</view>
    <view class="popup__content">
      <view class="row">感谢您对{{appName}}一直以来的信任！</view>
      <text class="row">
        <text>为更好地保护您的个人信息安全，请您仔细阅读并理解我们最新更新的</text>
        <text class="name" bind:tap="onOpenPrivacyContract">{{privacyContractName}}</text>
        <text>。</text>
      </text>
      <text class="row">
        <text>当您点击同意并开始时用产品服务时，即表示您已阅读并同意以上条款，{{appName}}将严格按照</text>
        <text class="name" bind:tap="onOpenPrivacyContract">{{privacyContractName}}</text>
        <text>的各项条款使用和保护您的信息安全，如您点击"不同意"，将无法使用本小程序。</text>
      </text>
    </view>
    <view class="button button__line-1">
      <view class="button__text">同意并继续</view>
      <image class="button__bg" src="../../assets/bg/button-1.bg.png" mode="aspectFit"></image>
      <button class="button__inner" open-type="agreePrivacyAuthorization" bindagreeprivacyauthorization="handleAgree">同意并继续</button>
    </view>
    <view class="button text" bind:tap="handleDisagree">不同意并退出</view>
  </view>
</t-popup>