auth-check.wxml 1.1 KB

1234567891011121314151617181920212223242526
  1. <import src="../../common/authInfo/authInfo.wxml"/>
  2. <view class="plv-auth-check">
  3. <view class="plv-auth-check__head">
  4. <text bindtap="hide">×</text>
  5. <text>{{ headText }}</text>
  6. </view>
  7. <view class="plv-auth-check__code" wx:if="{{ authType === 'code' }}">
  8. <input bindinput="bindKeyInput" placeholder="{{ authSettings.qcodeTips }}" auto-focus />
  9. <image
  10. wx:if="authSettings.qcodeImg"
  11. bindtap='previewImage'
  12. class="plv-auth__ercode"
  13. src="https:{{ authSettings.qcodeImg }}" />
  14. </view>
  15. <view class="plv-auth-check__code" wx:if="{{ authType === 'phone' }}">
  16. <input bindinput="bindKeyInput" placeholder="请输入验证信息" auto-focus />
  17. </view>
  18. <view class="plv-auth-check__info" wx:if="{{ authType === 'info' }}">
  19. <block wx:for="{{ infoFieldsModels }}" wx:for-index="index" wx:for-item="item" wx:key="index">
  20. <template is="authInfo" data="{{ ...item, index, infoParams, infoImage, disable, smsBtnText }}" />
  21. </block>
  22. </view>
  23. <view class="plv-auth-check__btn">
  24. <button catchtap="authCheck">提交</button>
  25. </view>
  26. </view>