myEdit.wxml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <view>
  2. <view class='setting-info'>
  3. <form bindsubmit="formSubmit" class='form'>
  4. <view class='nickname-box'>
  5. <text class='setting-title'>昵称</text>
  6. <view class='user-action'>
  7. <input class='nickname' type='text' placeholder='喔喔' placeholder-class='placeholderStyle' focus='{{ true }}'>
  8. </input>
  9. </view>
  10. <view class='edit-img'>
  11. <image src='../../../static/image/edit.png' class='icon'></image>
  12. </view>
  13. </view>
  14. <view class='sex-box'>
  15. <view class='setting-title'>性别</view>
  16. <radio-group class="radio-group" bindchange="optionAction">
  17. <label class="radio" wx:for="{{ sexs }}" wx:key="{{ index }}">
  18. <text class='sex-title'>{{ item.value }}</text>
  19. <radio value="{{ item.value }}" checked="{{ item.checked }}" color='#fff' />
  20. </label>
  21. </radio-group>
  22. <!-- <radio-group class="radio-group" bindChange="optionAction">
  23. <label class="radio" wx:for="{{ sexs }}" wx:key='{{ index }}'>
  24. <text class='sex-title'>{{ item.value }}</text>
  25. <radio value="{{ item.value }}" checked="{{ item.checked }}" color='#fff' />
  26. </label>
  27. </radio-group> -->
  28. </view>
  29. <view class='birthday-box'>
  30. <text class='setting-title'>生日</text>
  31. <input type='text' placeholder='2001年12月12日'></input>
  32. </view>
  33. <view class='occupation-box'>
  34. <text class='setting-title'>职业</text>
  35. <radio-group class="radio-group" bindchange="optionSetting">
  36. <label class="radio" wx:for="{{ occupations }}" wx:key="{{ index }}">
  37. <text class='sex-title'>{{ item.value }}</text>
  38. <radio value="{{ item.value }}" checked="{{ item.checked }}" color='#fff' />
  39. </label>
  40. </radio-group>
  41. <!-- <radio-group class="radio-group" bindChange="optionSetting">
  42. <label class="radio" wx:for="{{ occupations }}" wx:key='{{ index }}'>
  43. <text class='sex-title'>{{ item.value }}</text>
  44. <radio value="{{ item.value }}" checked="{{ item.checked }}" color='#fff' />
  45. </label>
  46. </radio-group> -->
  47. </view>
  48. <view class='school-box'>
  49. <text class='setting-title'>学校</text>
  50. <input class='address' type='text' placeholder='北京市海淀区万泉胜景远小学'></input>
  51. <view class='edit-image'>
  52. <image src='../../../static/image/edit.png' class='icon'></image>
  53. </view>
  54. </view>
  55. <view class="submit-btn">
  56. <button class='btn' formType="submit">确定</button>
  57. </view>
  58. </form>
  59. </view>
  60. </view>