index.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <wxs module="filter" src="../../../wxs/exam-fun.wxs"></wxs>
  2. <view class='headImg'>
  3. <button wx:if="{{!userInfo.token}}" type="primary" bindtap="gotoIdentify" class="tc">
  4. 绑定账号
  5. </button>
  6. <view class="headImg-avatar" wx:else>
  7. <image src="{{userInfo.headImg}}" mode="aspectFill"></image>
  8. </view>
  9. </view>
  10. <view>
  11. <i-cell-group i-class="my-group-margin">
  12. <i-cell title="{{filter.phoneFormat(userInfo.phone)||'---'}}" >
  13. <i-icon type="mobilephone" slot="icon" size="20" />
  14. </i-cell>
  15. <i-cell title="{{userInfo.nickname ||'---'}}" >
  16. <i-icon type="mine" slot="icon" size="20" />
  17. </i-cell>
  18. <i-cell title="{{filter.cardIdFormat(userInfo.cardId) ||'---'}}" >
  19. <i-icon type="businesscard" slot="icon" size="20" />
  20. </i-cell>
  21. </i-cell-group>
  22. </view>
  23. <!--
  24. <view>
  25. <i-cell-group i-class="my-group-margin">
  26. <i-cell title="设置" >
  27. <i-icon type="setup_fill" slot="icon" size="20" />
  28. </i-cell>
  29. <i-cell title="反馈" >
  30. <i-icon type="praise_fill" slot="icon" size="20" />
  31. </i-cell>
  32. <i-cell title="关于" >
  33. <i-icon type="prompt_fill" slot="icon" size="20" />
  34. </i-cell>
  35. </i-cell-group>
  36. </view> -->
  37. <view>
  38. <i-cell-group i-class="my-group-margin">
  39. <i-cell title="退出登入" bind:click="logOut">
  40. <i-icon type="flashlight" slot="icon" size="20" />
  41. </i-cell>
  42. </i-cell-group>
  43. </view>
  44. <view class="copyright">相马君真题练习</view>
  45. <i-spin size="large" fix wx:if="{{ spinShow }}"></i-spin>
  46. <i-message id="message" />