index.wxml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <view class=" content main">
  2. <view class="one">
  3. <form catchsubmit="toSave">
  4. <view class="info">
  5. <view class="info_1">
  6. <view class="label">
  7. 账号:
  8. </view>
  9. <view class="value">
  10. <input disabled value="{{form.account}}" name="account" type="text" placeholder="" />
  11. </view>
  12. </view>
  13. <view class="info_1">
  14. <view class="label">
  15. 姓名:
  16. </view>
  17. <view class="value">
  18. <input value="{{form.name}}" name="name" type="text" placeholder="" />
  19. </view>
  20. </view>
  21. <view class="info_1">
  22. <view class="label">
  23. 性别:
  24. </view>
  25. <view class="value">
  26. <picker bindchange="genderChange" value="{{form.gender}}" name="gender" range="{{genderList}}" range-key='label'>
  27. <view class="picker">
  28. {{form.gender_name||''}}
  29. </view>
  30. </picker>
  31. </view>
  32. </view>
  33. <view class="info_1">
  34. <view class="label">
  35. 年龄:
  36. </view>
  37. <view class="value">
  38. <input value="{{form.age}}" name="age" type="text" placeholder="" />
  39. </view>
  40. </view>
  41. <view class="info_1">
  42. <view class="label">
  43. 用户类别:
  44. </view>
  45. <view class="value">
  46. <picker disabled bindchange="typeChange" value="{{form.type}}" name="type" range="{{typeList}}" range-key='label'>
  47. <view class="picker">
  48. {{form.type_name||''}}
  49. </view>
  50. </picker>
  51. </view>
  52. </view>
  53. <view class="info_1">
  54. <view class="label">
  55. 工作单位:
  56. </view>
  57. <view class="value">
  58. <input value="{{form.work}}" name="work" type="text" placeholder="" />
  59. </view>
  60. </view>
  61. <view class="info_1">
  62. <view class="label">
  63. 手机号:
  64. </view>
  65. <view class="value">
  66. <input value="{{form.phone}}" name="phone" type="text" placeholder="" />
  67. </view>
  68. </view>
  69. <view class="info_1">
  70. <view class="label">
  71. 电子邮箱:
  72. </view>
  73. <view class="value">
  74. <input value="{{form.email}}" name="email" type="text" placeholder="" />
  75. </view>
  76. </view>
  77. <view class="btn">
  78. <button type="primary" formType="submit">保存</button>
  79. </view>
  80. </view>
  81. </form>
  82. </view>
  83. </view>