index.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <wxs module="filter" src="../../../wxs/exam-fun.wxs"></wxs>
  2. <view class='userinfo' wx:if="{{userInfo.userId}}">
  3. <view class='userinfo-avatar'>
  4. <image src="{{userInfo.headerImg}}" mode="widthFix" style="width:100%"></image>
  5. </view>
  6. <view class='userinfo-name'>
  7. <view> {{userInfo.nickname}}</view>
  8. </view>
  9. </view>
  10. <view class='userinfo ' wx:else>
  11. <view class='userinfo-avatar'>
  12. <image src="/assets/icon/1.jpg" mode="widthFix" style="width:100%"></image>
  13. </view>
  14. <view class='userinfo-name'>
  15. <i-button inline="true" size="small" type="success" shape="square" bindtap="goLogin" >
  16. 微信登录
  17. </i-button>
  18. </view>
  19. </view>
  20. <view>
  21. <i-cell-group i-class="my-group-margin">
  22. <i-cell title="历史记录" is-link bindtap="gotoFileList" data-api="getViewArticalList">
  23. <i-icon type="mine_fill" slot="icon" size="20" />
  24. </i-cell>
  25. <i-cell title="下载记录" is-link bindtap="gotoFileList" data-api="getDownloadArticalList">
  26. <i-icon type="businesscard_fill" slot="icon" size="20" />
  27. </i-cell>
  28. <i-cell title="收藏记录" is-link bindtap="gotoFileList" data-api="getLikeArticalList">
  29. <i-icon type="like_fill" slot="icon" size="20" />
  30. </i-cell>
  31. <i-cell title="下载审批" >
  32. <i-icon type="task_fill" slot="icon" size="20" />
  33. </i-cell>
  34. <i-cell title="审核审批" is-link bindtap="gotoFileList" data-api="waitConfirmArticalList">
  35. <i-icon type="barrage_fill" slot="icon" size="20" />
  36. </i-cell>
  37. <i-cell title="发布审批" is-link bindtap="gotoFileList" data-api="waitPublishArticalList">
  38. <i-icon type="success_fill" slot="icon" size="20" />
  39. </i-cell>
  40. <i-cell title="退出登入" bind:click="logOut">
  41. <i-icon type="flashlight_fill" slot="icon" size="20" />
  42. </i-cell>
  43. </i-cell-group>
  44. </view>
  45. <view class="copyright">三明住建局内业管理系统</view>
  46. <i-spin size="large" fix wx:if="{{ spinShow }}"></i-spin>
  47. <i-message id="message" />