CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Waiting to run
CI/CD Pipeline / Backend Build & Test (push) Waiting to run
CI/CD Pipeline / Admin Web Build (push) Waiting to run
CI/CD Pipeline / Mini Program Compile Check (push) Waiting to run
CI/CD Pipeline / Migration Validation (push) Blocked by required conditions
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Waiting to run
CI/CD Pipeline / E2E (live stack) (push) Blocked by required conditions
12 lines
1.1 KiB
Plaintext
12 lines
1.1 KiB
Plaintext
<view class="page service-consent-page">
|
|
<view class="hero"><text class="title">服务授权</text><text class="subtitle">确认两份授权后,才能使用匹配、搜索、活动和公益服务。</text></view>
|
|
<view class="notice">两份授权分别记录。任一撤回后,相关服务会立即暂停。</view>
|
|
<view class="document" wx:for="{{documents}}" wx:key="consentType">
|
|
<view class="document-main"><text class="document-title">{{item.consentType === 'service_terms' ? '婚恋服务授权书' : '隐私与安全授权书'}}</text><text class="document-version">版本 {{item.documentVersion}}</text></view>
|
|
<text class="document-status {{item.agreed ? 'agreed' : 'required'}}">{{item.agreed ? '已确认' : '待确认'}}</text>
|
|
</view>
|
|
<button class="primary" loading="{{saving}}" disabled="{{saving || !canAgree}}" bindtap="onAgree">确认两份授权</button>
|
|
<view class="withdraw-row" wx:if="{{hasAgreed}}"><text>需要停止服务?</text><text class="withdraw" bindtap="onWithdraw">撤回授权</text></view>
|
|
<view class="error" wx:if="{{error}}">{{error}}</view>
|
|
</view>
|