personinfo.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--pages/personinfo/personinfo.wxml-->
  2. <view class="container">
  3. <view class="head-img card">
  4. <view class="title">头像</view>
  5. <view class="info" bindtap='upload'>
  6. <image class="" src="{{imgUrl}}">
  7. </image>
  8. </view>
  9. </view>
  10. <view class="user-name">
  11. <view class="title">昵称</view>
  12. <view class="info" >
  13. <input type="text" value="{{userName}}" name="user" bindblur = "changeUserName"/>
  14. </view>
  15. <image class="icon" src="../../images/icons/next-gray.png" >
  16. </image>
  17. </view>
  18. <view class="sex">
  19. <view class="title">性别</view>
  20. <view class="info">
  21. <picker bindchange="bindPickerChange" value="{{sex}}" range="{{array}}" bindchange="changeSex">
  22. {{array[sex]}}
  23. </picker>
  24. </view>
  25. <image class="icon" src="../../images/icons/next-gray.png">
  26. </image>
  27. </view>
  28. <view class="birth">
  29. <view class="title">生日</view>
  30. <view class="info">
  31. <picker mode="date" value="{{date}}" start="1970-01-01" end="{{endDate}}" bindchange="changeBirth">
  32. {{userInfo.birthday?userInfo.birthday:'1970-01-01'}}
  33. </picker>
  34. </view>
  35. <image class="icon" src="../../images/icons/next-gray.png">
  36. </image>
  37. </view>
  38. <!-- <view class="tel">
  39. <view class="title">手机</view>
  40. <view class="info">
  41. <input type="text" value="{{tel}}" bindblur = "changeTel"/>
  42. </view>
  43. <image class="icon" src="../../images/icons/next-gray.png">
  44. </image>
  45. </view> -->
  46. </view>