new-customer.wxml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <import src="../../../../public/pages/public-view.wxml" />
  2. <form bindsubmit="formSubmit">
  3. <!-- <scroll-view scroll-y="{{scroll}}" class="bg-scroll-view" style="height:{{adapter.bgHeight}}rpx"> -->
  4. <template is="customer-header-view" data="{{t: '个人信息填写', s: '仅用于本业务办理,绝不泄露或他用', src: '../../../../icon/public/customer_header_e.png'}}" />
  5. <view class="id-card-view">
  6. <view>
  7. <text>请上传身份证照片</text>
  8. <image src="../../../../icon/home/new_customer_info.png" mode="aspectFit"></image>
  9. <view bindtap="requireAction">拍摄要求</view>
  10. </view>
  11. <view>
  12. <template is="photograph-view" data="{{...idCard.front}}" />
  13. <template is="photograph-view" data="{{...idCard.back}}" />
  14. </view>
  15. </view>
  16. <view></view>
  17. <template is="input-view" wx:for="{{inputView}}" wx:key="" data="{{...inputView[index]}}" />
  18. <view class="scroll-view-last"></view>
  19. <!-- </scroll-view> -->
  20. <template is="bottom-view-botton" data="{{t: '下一步', suffix: adapter.suffix, formT: 'submit'}}" />
  21. </form>
  22. <view class="require-view" hidden="{{requireView.hidden}}" bindtap="hiddenRequireView" catchtouchmove="wxvoid" >
  23. <view animation="{{requireView.animation}}">
  24. <view>
  25. <view></view>
  26. <text>身份证照片要求</text>
  27. <image src="../../../../icon/public/delete.png" bindtap="hiddenRequireView"></image>
  28. </view>
  29. <view></view>
  30. <text>拍摄实例如下:</text>
  31. <image src="../../../../icon/home/photo_require.png"></image>
  32. <text>1. 请上传清晰彩色,完整的原件扫描件或照片
  33. 2. 拍摄确保身份证边框完整、字体清晰、亮度均匀
  34. 3. 身份证各项信息及头像清晰可见,容易识别
  35. 4. 证件必须真实拍摄,不能使用复印件</text>
  36. </view>
  37. </view>
  38. <template name="photograph-view">
  39. <view class="photograph-view">
  40. <view id="{{id}}" bindtap="imageAction">
  41. <image src="{{i}}" mode="aspectFit"></image>
  42. </view>
  43. <text id="{{id}}" bindtap="photographAction">{{c}}</text>
  44. </view>
  45. </template>
  46. <template name="input-view">
  47. <view class="textarea-view" wx:if="{{textarea}}">
  48. <text>{{title}}</text>
  49. <textarea auto-height maxlength="{{l}}" placeholder="{{p}}" placeholder-class="input-view-placeholder" name="{{id}}" id="{{id}}" disabled = "{{h}}" class="{{isIos ? 'textarea-ios' : 'textare-android'}}" style="color:{{h ? 'rgba(0 ,0, 0, 0)' : '#666666'}}"></textarea>
  50. </view>
  51. <view class="{{interval ? 'input-view-in' : 'input-view'}}" wx:else>
  52. <text>{{title}}</text>
  53. <input placeholder-class="{{h ? 'input-view-placeholder-h' : 'input-view-placeholder'}}" placeholder="{{p}}" maxlength="{{l}}" type="{{t}}" name="{{id}}" id="{{id}}"></input>
  54. </view>
  55. <template is="right-line" wx:if="{{!textarea && !interval}}"/>
  56. </template>