index.wxml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--pages/temporary_prove/index.wxml-->
  2. <view class="page">
  3. <image class="bg" src="../../../static/images/bg.jpg"></image>
  4. <!-- <image class="logo2" style="top: {{CustomBar+20}}px" src="../../../static/images/logo2.png"></image> -->
  5. <image class="title" style="top: {{CustomBar+30}}px" src="../../../static/images/title.png"></image>
  6. <view class="input-box">
  7. <view class="line">
  8. ------------------------ 实名信息 ------------------------
  9. </view>
  10. <view>
  11. <input placeholder-style="color: white" class="inputText" type="text" placeholder="请输入姓名" maxlength="50" value="{{inputName}}" bindinput="getInputName"></input>
  12. <view class="margin-top-sm flex align-center" wx:if="{{(warnName!=1&&warnName!=2)}}">
  13. <view class="cuIcon-infofill text-warning text-sm"></view><text class="text-sm text-warning margin-left-xs">{{warnName}}</text>
  14. </view>
  15. </view>
  16. <view>
  17. <input placeholder-style="color: white" class="inputText" type="idcard" placeholder="请输入身份证号" maxlength="18" value="{{inputIdcard}}" bindinput="getInputIdcard"></input>
  18. <view class="margin-top-sm flex align-center" wx:if="{{(warnIdcard!=1&&warnIdcard!=2)}}">
  19. <view class="cuIcon-infofill text-warning text-sm"></view><text class="text-sm text-warning margin-left-xs">{{warnIdcard}}</text>
  20. </view>
  21. </view>
  22. <view>
  23. <input placeholder-style="color: white" class="inputText" type="idcard" placeholder="请输入手机号" maxlength="11" value="{{phone}}" bindinput="getPhoneNumber"></input>
  24. <view class="margin-top-sm flex align-center" wx:if="{{warnPhone}}">
  25. <view class="cuIcon-infofill text-warning text-sm"></view><text class="text-sm text-warning margin-left-xs">{{warnPhone}}</text>
  26. </view>
  27. </view>
  28. <!-- <view>
  29. <button class="btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">{{phone?phone:'点击获取手机号'}}</button>
  30. </view> -->
  31. <view class="line">
  32. ------------------------ 其他信息 ------------------------
  33. </view>
  34. <view>
  35. <input placeholder-style="color: white" class="inputText" placeholder="请输入您的单位" value="{{workPlace}}" bindinput="getValue" data-type="workPlace"></input>
  36. </view>
  37. <view>
  38. <text class="inputText carNumber-text" bindtap="getCarNumber">{{carNumber?carNumber:'请输入您的车牌号(非必填)'}}</text>
  39. <!-- <input placeholder-style="color: white" class="inputText" placeholder="请输入您的车牌号(非必填)" value="{{carNumber}}" bindinput="getCarNumber"></input> -->
  40. </view>
  41. <view style="text-align: center">
  42. <button class="btn2 text-xl" disabled="{{!(inputName&&inputIdcard&&warnIdcard===2&&warnName===2&&!warnPhone&&disableSubmit&&phone&&workPlace)}}" bindtap="submit">提交</button>
  43. <text class="sub-title" bindtap="watch">点击查看操作说明</text>
  44. </view>
  45. </view>
  46. <add-car-number value="{{carNumber}}" placeholder="" data-type="carNumber" bindchange="getValue" iscarNumber="{{iscarNumber}}"></add-car-number>
  47. </view>