edit-person-detail.swan 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <view class="content{{suffix}}" style="overflow:{{modalStatus?'hidden':'visible'}}">
  2. <view class="header">
  3. <view>个人信息填写</view>
  4. <view>仅用于本业务办理,绝不泄露或他用</view>
  5. <image src="../../../icon/public/customer_header_e.png"></image>
  6. </view>
  7. <view class="personBox">
  8. <view class="personDetail">
  9. <view>
  10. <text>身份证信息</text>
  11. <text bindtap="openModal">拍摄要求</text>
  12. <image src="../../../icon/home/new_customer_info.png"></image>
  13. </view>
  14. <view>
  15. <view class="number">
  16. <view>1</view>
  17. <view>2</view>
  18. </view>
  19. <view class="smallCard">
  20. <view bindtap="{{firstImg?'previewImg':''}}" data-id="first">
  21. 身份证正面照
  22. <image src="{{firstImg?firstImg:'../../../icon/home/customer_idcard_front.png'}}"></image>
  23. </view>
  24. <view bindtap="{{secondImg?'previewImg':''}}" data-id="second">
  25. 身份证反面照
  26. <image src="{{secondImg?secondImg:'../../../icon/home/customer_idcard_back.png'}}"></image>
  27. </view>
  28. </view>
  29. <view >
  30. <image src="../../../icon/public/customer_camera.png" bindtap="goCamera" data-type="front"></image>
  31. <image src="../../../icon/public/customer_camera.png" bindtap="goCamera" data-type="back"></image>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="pBox">
  37. <view s-for="ui" class="{{index % 4 ==3 ? 'pItemMargin':''}}">
  38. <view class="pItem" bindtap="{{index==2&&!idCardStatus?'openCheckingModal':''}}">
  39. <view>{{item.t}}</view>
  40. <input s-if="{{index==3||index==4}}" value="{{item.v}}" placeholder="{{item.p}}" style="color:#666666" data-index="{{index}}" bindinput="inputAction" />
  41. <text s-if="{{index!=3&&index!=4}}" style="color:{{index==0||index==1?'#aaaaaa':'#666666'}}" data-index="{{index}}">{{item.v}}</text>
  42. </view>
  43. <view class="line" style="display:{{index % 4 ==3 ? 'none':'block'}}">
  44. <view></view>
  45. </view>
  46. </view>
  47. <view class="pItem" style="margin-bottom:24rpx;" bindtap="goBank">
  48. <view>银行卡号</view>
  49. <view>
  50. {{current.bank_code?card:'未添加'}}
  51. <image src="../../../icon/public/arrow_right.png"></image>
  52. </view>
  53. </view>
  54. <view class="pItem" s-if="{{current.shebao_card}}">
  55. <view>社保号</view>
  56. <view>
  57. {{current.shebao_card}}
  58. </view>
  59. </view>
  60. <view class="line">
  61. <view></view>
  62. </view>
  63. <view class="pItem" s-if="{{current.fund_card}}">
  64. <view>公积金号</view>
  65. <view>
  66. {{current.fund_card}}
  67. </view>
  68. </view>
  69. </view>
  70. <view class="save{{suffix}}"><view bindtap="btnAction">保存</view></view>
  71. <camera-modal id="camera-modal"></camera-modal>
  72. </view>
  73. <view class="checking modal" style="display:{{modalStatus?'block':'none'}}">
  74. <view catchtap="closeCheckingModal" class="tapClose"></view>
  75. <view class="detail">
  76. <view style="margin-bottom:32rpx">为保护你的信息安全,需验证手机号才能查看完整信息</view>
  77. <view style="margin-bottom:20rpx"><text style="color:#666666">验证手机</text><text style="color:#FF5E5E">{{phone}}</text></view>
  78. <view class="input" style="margin-bottom:46rpx">
  79. <input placeholder="验证码" bindinput="inputAction" data-type="checkingNum" value="{{code}}"/>
  80. <text bindtap="{{countDown?'':'getCode'}}">{{countDown?'还剩'+time+'秒':'获取验证码'}}</text>
  81. </view>
  82. <view class="btn">
  83. <view bindtap="sendCode">确定</view>
  84. </view>
  85. </view>
  86. </view>