info.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <view class="content">
  2. <view class="cell ceill-link">
  3. <view class="cell-title">头像</view>
  4. <view class="cell-value">
  5. <image src="{{userInfo.avatar}}" class="avatar" bindtap="chooseImg"></image>
  6. </view>
  7. </view>
  8. <view class="septal-top-line">
  9. <view class="cell ceill-link">
  10. <view class="cell-title">修改昵称</view>
  11. <view class="cell-value" bindtap="promptNickname">
  12. {{userInfo.nickname}}
  13. </view>
  14. </view>
  15. <view class="cell ceill-link" data-url="/pages/account/setting/bindPhone" bindtap='navigatorURl'>
  16. <view class="cell-title">绑定手机号</view>
  17. <view class="cell-value">
  18. {{userInfo.loginName}}
  19. </view>
  20. </view>
  21. </view>
  22. <view class="septal-top-line">
  23. <view class="cell {{userInfo.weixin == 1 ? 'ceill-link' : ''}}">
  24. <view class="cell-title">绑定微信</view>
  25. <view class="cell-value" bindtap="{{userInfo.weixin == 1 ? 'unty' : ''}}">
  26. {{userInfo.weixin == 1 ? '已绑定' : '未绑定'}}
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <prompt id="prompt" title='{{prompt.title}}' cost='{{prompt.cost}}' btn_certain='确定' bind:getInput="getInput" bind:cancel="cancel" bind:confirm="confirm">
  32. </prompt>
  33. <view class='modal' wx:if="{{percent > 0 && percent < 100}}">
  34. <progress percent='{{percent}}' show-info active activeColor="#09BB07" class='progress' active-mode="forwards" />
  35. </view>
  36. <view class='modal-bg' wx:if="{{percent > 0 && percent < 100}}"></view>