index.axml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <view class='page' ref='saveChildRef0'>
  2. <view class='top'>
  3. <view class='top-area'>
  4. </view>
  5. <!--<view style='height: {{CustomBar-StatusBar}}px; width: 100%;margin-top: 75rpx; padding-left: 135rpx; line-height: {{CustomBar-StatusBar}}px;position: absolute;color: #fff;'>
  6. 会议室预约管理平台</view> -->
  7. </view>
  8. <view class='user'>
  9. <view class='user-msg'>
  10. <view>
  11. <view a:if='{{ !userInfo}}' class='head'>
  12. <van-icon
  13. name='manager'
  14. color='#c7cde8'
  15. size='130rpx'
  16. custom-class='default-head'
  17. ref='saveChildRef1'
  18. >
  19. </van-icon>
  20. </view>
  21. <image
  22. a:if='{{userInfo}}'
  23. class='head'
  24. src='{{userInfo.avatar}}'
  25. mode="aspectFill"
  26. onTap="preview"
  27. data-src="{{userInfo.avatar}}"
  28. >
  29. </image>
  30. <text class='please m-t'>
  31. {{userInfo?userInfo.appletUsername:'请先登录'}}
  32. </text>
  33. </view>
  34. </view>
  35. <view a:if='{{userInfo}}' class='fun1 border-radius-20'>
  36. <view
  37. a:for='{{itemList}}'
  38. class='mine-item'
  39. data-id='{{item.id}}'
  40. a:key='{{index}}'
  41. ref-numbers='{{itemList}}'
  42. onTap='antmoveAction'
  43. data-antmove-tap='goto'
  44. >
  45. <view>
  46. {{item.name}}
  47. </view>
  48. <view class='status'>
  49. <text class='arrow'>
  50. </text>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="btn-area1 {{userInfo?'bgc':''}}">
  55. <btn onTap='antmoveAction' data-antmove-tap="{{userInfo?'loginOut':'goLogin'}}">
  56. {{userInfo?'退出登录':'登录'}}
  57. </btn>
  58. </view>
  59. </view>
  60. </view>