center.wxml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!--pages/ucenter/center/center.wxml-->
  2. <!-- <view class='title'>
  3. </view> -->
  4. <view class="container">
  5. <view class="user_text">
  6. <!--<open-data class="userAvatarUrl" bindtap="" type='userAvatarUrl'></open-data>-->
  7. <view class="userAvatarUrl" bindtap="">
  8. <image src='{{isLogin&&!userInfo.flag?userInfo.avatar:"/images/userhead.png"}}'></image>
  9. </view>
  10. <text class='bold'>{{userInfo.userName}}</text>
  11. </view>
  12. </view>
  13. <view class='main'>
  14. <view class='context'>
  15. <view class='context_input'>
  16. <view class='input_view'>
  17. <view class="input_text_view">
  18. <!-- <image class='account_img' src='/images/account.png'></image> -->
  19. <text class="input_text">用户名</text>
  20. </view>
  21. <input disabled='true' value='{{userInfo.loginName}}'></input>
  22. </view>
  23. <view class='input_view'>
  24. <view class="input_text_view">
  25. <!-- <image class='man_img' src='/images/man.png'></image> -->
  26. <text class="input_text">性别</text>
  27. </view>
  28. <!-- <input wx:if='{{userInfo.sex==1}}' disabled='true' type='text' placeholder-class='placeholder' value='男'></input>
  29. <input wx:if='{{userInfo.sex==2}}' disabled='true' type='text' placeholder-class='placeholder' value='女'></input>
  30. <input wx:if='{{userInfo.sex==3}}' disabled='true' type='text' placeholder-class='placeholder' value='保密'></input> -->
  31. <picker class="picker" bindchange="inputSex" range-key="text" range="{{sexType}}">
  32. <text wx:if='{{ sexIndex==null}}'>请选择性别</text>
  33. <text wx:if='{{ sexIndex!=null}}'>{{sexType[sexIndex-1].text}}</text>
  34. </picker>
  35. <view class="zan-ft">
  36. <image src='/images/enter.png'></image>
  37. </view>
  38. </view>
  39. <view class='input_view'>
  40. <view class="input_text_view">
  41. <!-- <image class='email_img' src='/images/email.png'></image> -->
  42. <text class="input_text">邮箱</text>
  43. </view>
  44. <input disabled='true' bindtap="inputEmail" type='text' placeholder-class='placeholder' value='{{!userInfo.email?"去填写":userInfo.email}}'>
  45. </input>
  46. <view class="zan-ft">
  47. <image src='/images/enter.png'></image>
  48. </view>
  49. </view>
  50. <view class='input_view'>
  51. <view class="input_text_view">
  52. <text class="input_text">车牌号</text>
  53. </view>
  54. <input disabled='true' bindtap="inputCarNum" type='text' placeholder-class='placeholder' value='{{!userInfo.license_number?"去填写":userInfo.license_number}}'>
  55. </input>
  56. <view class="zan-ft">
  57. <image src='/images/enter.png'></image>
  58. </view>
  59. </view>
  60. </view>
  61. <!-- <view style="width: 100%;margin-top:50rpx">
  62. <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
  63. </view> -->
  64. <view class="errorMsg">
  65. <text>{{errorMsg}}</text>
  66. </view>
  67. </view>
  68. </view>