center.wxml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.phonenumber}}</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='account_img' src='/images/account.png'></image> -->
  26. <text class="input_text">绑定手机号</text>
  27. </view>
  28. <input disabled='true' value='{{userInfo.bindingPhone==1?userInfo.phonenumber:"未绑定"}}'></input>
  29. </view>
  30. <view class='input_view' style="display: flex;flex-direction: row;">
  31. <view class="input_text_view">
  32. <!-- <image class='man_img' src='/images/man.png'></image> -->
  33. <text class="input_text">性别</text>
  34. </view>
  35. <!-- <input wx:if='{{userInfo.sex==1}}' disabled='true' type='text' placeholder-class='placeholder' value='男'></input>
  36. <input wx:if='{{userInfo.sex==2}}' disabled='true' type='text' placeholder-class='placeholder' value='女'></input>
  37. <input wx:if='{{userInfo.sex==3}}' disabled='true' type='text' placeholder-class='placeholder' value='保密'></input> -->
  38. <picker class="picker" bindchange="inputSex" range-key="text" range="{{sexType}}">
  39. <view wx:if='{{ sexIndex==null }}'>去填写</view>
  40. <view wx:if='{{ sexIndex!=null}}'>{{sexType[sexIndex].text}}</view>
  41. </picker>
  42. <view class="zan-ft" style="position:relative ;display: inline ;">
  43. <image src='/images/enter.png'></image>
  44. </view>
  45. </view>
  46. <view class='input_view'>
  47. <view class="input_text_view">
  48. <!-- <image class='email_img' src='/images/email.png'></image> -->
  49. <text class="input_text">邮箱</text>
  50. </view>
  51. <input disabled='true' bindtap="inputEmail" type='text' placeholder-class='placeholder' value='{{!userInfo.email?"去填写":userInfo.email}}'>
  52. </input>
  53. <view class="zan-ft">
  54. <image src='/images/enter.png'></image>
  55. </view>
  56. </view>
  57. <!-- <view class='input_view'>
  58. <view class="input_text_view">
  59. <text class="input_text">车牌号</text>
  60. </view>
  61. <input disabled='true' bindtap="inputCarNum" type='text' placeholder-class='placeholder' value='{{!userInfo.license_number?"去填写":userInfo.license_number}}'>
  62. </input>
  63. <view class="zan-ft">
  64. <image src='/images/enter.png'></image>
  65. </view>
  66. </view> -->
  67. </view>
  68. <!-- <view style="width: 100%;margin-top:50rpx">
  69. <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
  70. </view> -->
  71. <view class="errorMsg">
  72. <text>{{errorMsg}}</text>
  73. </view>
  74. </view>
  75. </view>