index.axml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <view class='page'>
  3. <handle-module
  4. title='姓名'
  5. placeholder='请输入姓名'
  6. data-type='name'
  7. value='{{userInfo.name}}'
  8. onChange='getValue'
  9. ref='saveChildRef1'
  10. >
  11. </handle-module>
  12. <handle-module
  13. title='身份证'
  14. placeholder='请输入身份证'
  15. data-type='idNumber'
  16. value='{{userInfo.idNumber}}'
  17. inputType='idcard'
  18. onChange='getValue'
  19. ref='saveChildRef2'
  20. >
  21. </handle-module>
  22. <handle-module
  23. title='手机号'
  24. placeholder='请输入手机号'
  25. data-type='phone'
  26. value='{{userInfo.phone}}'
  27. inputType='number'
  28. onChange='getValue'
  29. ref='saveChildRef3'
  30. >
  31. </handle-module>
  32. <handle-module
  33. title='卡号'
  34. placeholder='请输入卡号'
  35. data-type='cardIdEx'
  36. value='{{userInfo.cardIdEx}}'
  37. onChange='getValue'
  38. ref='saveChildRef4'
  39. >
  40. </handle-module>
  41. <handle-module
  42. type='image'
  43. class="home-img"
  44. title='头像'
  45. data-type='avatar'
  46. value='{{userInfo.avatar}}'
  47. onChange='getValue'
  48. onClearImg='clearImg'
  49. ref='saveChildRef5'
  50. >
  51. </handle-module>
  52. </view>
  53. <view class='btn-area'>
  54. <btn onTap='antmoveAction' data-antmove-tap='updateUserInfo'>
  55. 修改
  56. </btn>
  57. </view>
  58. </view>