<!--component/privacy-popup/privacy-popup.wxml-->
<view class="privacy-container" wx:if="{{show}}" bind:tap="hidden">
  <view class="privacy-content" catchtap>
    <view class="privacy-title">用户隐私保护提示</view>
    <view class="content">
      感谢您使用本产品，您使用本产品前应当阅读并同意
      <text class="name" style="color: blue" catchtap="openPrivacyContract">{{ privacyContractName }}</text>
      当您点击同意并开始时用本产品服务时，即表示你已理解并同意该条款内容，该条款将对您产生法律约束力。如您拒绝，将无法使用本产品。
    </view>
    <view class="button-container">
          <view class="button cancel" catchtap="hidden">取消</view>
          <view class="button">
            <text>确定</text>
            <button
              class="btn"
              open-type="agreePrivacyAuthorization"
              bindagreeprivacyauthorization="handleAgreePrivacyAuthorization"
            >同意
            </button>
          </view>
        </view>
  </view>
</view>
<slot bind:tap="check"></slot>