rlxf_index.wxml 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!--pages/rlxf_index/rlxf_index.wxml-->
  2. <wxs src="../../../utils/util.wxs" module="util" />
  3. <view class="page">
  4. <image class="bg" src="{{xcx_bg}}"></image>
  5. <!-- <image class="logo2" style="top: {{CustomBar+20}}px" src="../../../static/images/logo2.png"></image> -->
  6. <!-- <image class="title" style="top: {{CustomBar+90}}px" src="{{xcx_title}}"></image> -->
  7. <view class="title" style="top: {{CustomBar+90}}px">航汇矿场人脸平台</view>
  8. <view class="input-box">
  9. <view class="default-tit" wx:if="{{needLoginList.length==0}}">
  10. 点击【提交】一键登录
  11. </view>
  12. <view wx:if="{{util.indexOf(needLoginList,1)}}">
  13. <input placeholder-style="color: rgba(91, 107, 142, 1)" class="inputText" type="text" placeholder="请输入您的姓名" maxlength="50"
  14. value="{{inputName}}" bindinput="getInputName"></input>
  15. <view class="margin-top-sm flex align-center" wx:if="{{(warnName.status === false)}}">
  16. <view class="cuIcon-infofill text-warning text-sm"></view><text
  17. class="text-sm text-warning margin-left-xs">{{warnName.errMsg}}</text>
  18. </view>
  19. </view>
  20. <view wx:if="{{util.indexOf(needLoginList,2)}}">
  21. <input placeholder-style="color: rgba(91, 107, 142, 1)" class="inputText" type="idcard" placeholder="请输入您的身份证号" maxlength="18"
  22. value="{{inputIdcard}}" bindinput="getInputIdcard"></input>
  23. <view class="margin-top-sm flex align-center" wx:if="{{(warnIdcard.status === false)}}">
  24. <view class="cuIcon-infofill text-warning text-sm"></view><text
  25. class="text-sm text-warning margin-left-xs">{{warnIdcard.errMsg}}</text>
  26. </view>
  27. </view>
  28. <!-- <view wx:if="{{util.indexOf(needLoginList,4)}}">
  29. <input placeholder-style="color: rgba(91, 107, 142, 1)" type="text" class="inputText" placeholder="请输入您的定位卡号"
  30. value="{{cardIdEx}}" bindinput="getInputCardIdEx"></input>
  31. </view> -->
  32. <view wx:if="{{util.indexOf(needLoginList,3)}}">
  33. <view wx:if="{{!needPhone}}">
  34. <!-- <view class="width-self"> -->
  35. <button class="btn" open-type="getPhoneNumber"
  36. bindgetphonenumber="getPhoneNumber">{{phoneNumber?phoneNumber:'点击获取手机号'}}</button>
  37. <!-- </view> -->
  38. </view>
  39. <!-- 手机号自定义输入 -->
  40. <view wx:if="{{needPhone}}">
  41. <view class="flex">
  42. <input placeholder-style="color: rgba(91, 107, 142, 1)" class="inputText" type="text" placeholder="请输入您的手机号"
  43. maxlength="11" value="{{phoneNumber}}" bindinput="getInputPhone"></input>
  44. <!-- <button class="btn phone-width" open-type="getPhoneNumber"
  45. bindgetphonenumber="getPhoneNumber">获取</button> -->
  46. </view>
  47. <view class="margin-top-sm flex align-center" wx:if="{{(warnPhone!=1&&warnPhone!=2)}}">
  48. <view class="cuIcon-infofill text-warning text-sm"></view><text
  49. class="text-sm text-warning margin-left-xs">{{warnPhone}}</text>
  50. </view>
  51. </view>
  52. </view>
  53. <view style="text-align: center;margin-top: 40rpx;">
  54. <!-- <button class="btn2 text-xl" bindtap="submit">提交</button> -->
  55. <view class="agree_radio" data-checked="{{!checked}}" bindtap="onAgreeAgreement">
  56. <!-- <radio checked="{{checked}}" bindtap="onAgreeAgreement" style="width:32rpx;height:32rpx"/> -->
  57. <view class="radio_icon" style="{{checked?'background-color: rgba(13, 29, 100, 1);':'background-color: #fff;'}}"></view>
  58. <view class="radio_tips">我已阅读并同意<text style="color: rgba(50, 128, 245, 1);" data-type="userAgreement" catchtap="goViewPDF">《用户协议》</text>及<text style="color:rgba(50, 128, 245, 1)" data-type="privacyPolicy" catchtap="goViewPDF">《隐私政策》</text></view>
  59. </view>
  60. <button class="btn2 text-xl" disabled="{{disabledSubmitScan || disabledSubmit || !checked}}"
  61. bindtap="submit">提交</button>
  62. <!-- <text class="sub-title" bindtap="watch">点击查看操作说明</text> -->
  63. </view>
  64. </view>
  65. <image src='../../../static/function-bar/problem.png' class="sub-title problem" bindtap="goProblem"
  66. wx-if="{{!disabledSubmitScan}}"></image>
  67. </view>