Files
memind/miniapp/components/privacy-popup/index.wxml
john 048f25f580 feat(miniapp): add privacy consent and legal pages
Show privacy popup on launch, gate login on legal consent, and link
user agreement and privacy policy pages in the mini program.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 12:18:54 +08:00

22 lines
770 B
Plaintext

<view wx:if="{{show}}" class="privacy-mask">
<view class="privacy-panel">
<text class="privacy-title">用户隐私保护提示</text>
<view class="privacy-body">
<text>在使用 TKMind 前,请阅读</text>
<text class="privacy-link" bindtap="openPrivacyContract">{{privacyContractName}}</text>
<text>。点击「同意」即表示你已阅读并同意该指引。</text>
</view>
<view class="privacy-actions">
<button class="privacy-decline" bindtap="handleDisagree">拒绝</button>
<button
id="agree-privacy-btn"
class="privacy-accept"
open-type="agreePrivacyAuthorization"
bindagreeprivacyauthorization="handleAgree"
>
同意
</button>
</view>
</view>
</view>