authorize_three.axml 2.0 KB

12345678910111213141516171819202122232425262728293031
  1. <view class="at-container">
  2. <image mode="scaleToFill" src="/static/auth/icon-head.png" class="head-img" />
  3. <block a:if="{{ status.statusCode === 0 || status.statusCode === 1 }}">
  4. <view class="head-title">您正在使用身份授权认证服务</view>
  5. <view class="head-subtitle">为了给您提供更好的服务,{{ formOption.name }}将会向您申请授权使用您的部分信息。</view>
  6. </block>
  7. <block a:elif="{{ status.statusCode === 2 }}">
  8. <view class="head-title head-title-center">身份授权认证成功!</view>
  9. </block>
  10. <block a:elif="{{ status.statusCode === 3 }}">
  11. <view class="head-title head-title-center">{{ status.statusPrompt }}</view>
  12. </block>
  13. <view class="error-layout" a:if="{{ status.statusCode === 1 }}">
  14. <image mode="aspectFit" src="/static/auth/icon-warn.png" class="error-icon" />
  15. <view class="error-txt">{{ status.statusPrompt }}</view>
  16. </view>
  17. <view style="flex:auto;width: 100%;"></view>
  18. <block a:if="{{ status.statusCode === 0 }}">
  19. <auth-popup id="authPopup" onAuthResult="authResult"/>
  20. <view style="margin: 0 40rpx;display:flex;align-items:flex-start;">
  21. <checkbox class="protocol-checkbox {{protocolAgree ? 'protocol-checkbox-selected' : ''}}" color="#fff" value="1" checked="{{protocolAgree}}" onChange="protocolChange"/>
  22. <view class="protocol">
  23. 您已知悉并同意<text class="protocol-top" data-type="{{protocolEnum.privacyPolicy}}" onTap="protocol">《隐私政策》</text>和<text class="protocol-top" data-type="{{protocolEnum.personalRules}}" onTap="protocol">《个人信息处理规则》</text>,并确认授权应用按照《个人信息处理规则》实施个人信息处理和用于身份核验
  24. </view>
  25. </view>
  26. <view class="submit-btn {{ !protocolAgree ? 'btn-disabled' : null }}" hover-class="{{ protocolAgree ? 'btn-hover' : null }}" hover-stay-time="100" onTap="authClick">同意并继续</view>
  27. </block>
  28. <block a:else>
  29. <view class="submit-btn" hover-class="btn-hover" hover-stay-time="100" onTap="backClick">返回</view>
  30. </block>
  31. </view>