authentication.wxml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!--pages/invoice/authentication/authentication.wxml-->
  2. <view class="page-auth">
  3. <view class="auth-user">
  4. <view class="icon">
  5. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-user-round.png"></image>
  6. </view>
  7. </view>
  8. <view class="form-box">
  9. <view class="form-list">
  10. <view class="form-label">姓名</view>
  11. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.name" value="{{formData.name}}" placeholder="请输入您的姓名" type="text" />
  12. </view>
  13. <view class="form-list">
  14. <view class="form-label">电话</view>
  15. <input class="input-text" disabled bindchange="changeInput" id="formData.mobile" value="{{formData.mobile}}" placeholder="请输入您的电话" type="text" />
  16. <button class="get-phone" bindgetphonenumber="getPhoneNumber" bindblur="validateForm" open-type="getPhoneNumber">获取手机号</button>
  17. </view>
  18. <view class="form-list">
  19. <view class="form-label">身份证号</view>
  20. <input class="input-text" bindchange="changeInput" id="formData.idNo" value="{{formData.idNo}}" placeholder="请输入您的身份证号码" type="text" />
  21. </view>
  22. <picker range="{{organizationPickList}}" range-key="desp" bindchange="organizationPickHandler" value="{{organizationPickValue}}" class="form-list">
  23. <view class="form-label">所属机构</view>
  24. <input class="input-text" value="{{organizationPickList[organizationPickValue].name}}" disabled placeholder="请选择" type="text" />
  25. <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view>
  26. </picker>
  27. <view class="form-list" wx:if="{{otherOrganization}}">
  28. <view class="form-label">请输入机构名称</view>
  29. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.organName" value="{{formData.organName}}" placeholder="请输入机构名称" type="text" />
  30. </view>
  31. </view>
  32. <view class="user-card-box">
  33. <view class="card-img-box">
  34. <view wx:if="{{upFileInfoFont}}" class="img-wrap">
  35. <image mode="scaleToFill" src="{{upFileInfoFont.url}}"></image>
  36. <view bindtap="removeFileFront" class="close"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-close.png"></image></view>
  37. </view>
  38. <view bindtap="chooseFileFront" wx:if="{{!upFileInfoFont}}" class="item-info">
  39. <view class="icon">
  40. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-file.png"></image>
  41. </view>
  42. <view class="text">点击上传身份证正面</view>
  43. </view>
  44. </view>
  45. <view class="card-img-box">
  46. <view wx:if="{{upFileInfoReverse}}" class="img-wrap">
  47. <image mode="scaleToFill" src="{{upFileInfoReverse.url}}"></image>
  48. <view bindtap="removeFileReverse" class="close"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-close.png"></image></view>
  49. </view>
  50. <view bindtap="chooseFileReverse" wx:if="{{!upFileInfoReverse}}" class="item-info">
  51. <view class="icon">
  52. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-file.png"></image>
  53. </view>
  54. <view class="text">点击上传身份证反面</view>
  55. </view>
  56. </view>
  57. </view>
  58. <view bindtap="saveData" class="default-btn {{isValidate?'primary':''}}">提交</view>
  59. </view>