mine.axml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <view class='top-area'>
  3. <image src='../../static/component_images/wave.png' class='wave'>
  4. </image>
  5. <view style='height: {{titleBarHeight}}px; width: 100%;margin-top: {{statusBarHeight}}px; padding-left: 40rpx; line-height: {{titleBarHeight}}px'>
  6. 基本信息
  7. </view>
  8. <view class='avator-area'>
  9. <view a:if='{{userInfo && userInfo.avatar}}' class='avator'>
  10. <image
  11. src='{{userInfo.avatar}}'
  12. data-src='{{userInfo.avatar}}'
  13. onTap='antmoveAction'
  14. data-antmove-tap='preview'
  15. >
  16. </image>
  17. </view>
  18. <view a:else class='avator'>
  19. <image src='../../static/comment/avator_no.png'>
  20. </image>
  21. </view>
  22. <view a:if='{{userInfo}}' class='name'>
  23. <text>
  24. {{userInfo.username}}
  25. </text>
  26. <text class='type'>
  27. {{adminInfo?'常客':'访客'}}
  28. </text>
  29. </view>
  30. <view a:if='{{!userInfo}}' class='name-no'>
  31. <text>
  32. {{international.Now[language]}}
  33. </text>
  34. </view>
  35. </view>
  36. <view a:if='{{userInfo}}' class='msg-area'>
  37. <view>
  38. <text>
  39. {{international.Phone[language]}}
  40. </text>
  41. <text>
  42. {{userInfo.phone}}
  43. </text>
  44. </view>
  45. <view>
  46. <text>
  47. {{international.idNumber[language]}}
  48. </text>
  49. <text>
  50. {{userInfo.idNumber}}
  51. </text>
  52. </view>
  53. </view>
  54. <view a:else class='msg-area'>
  55. <btn onTap='antmoveAction' data-antmove-tap='Certification'>
  56. {{international.Certification[language]}}
  57. </btn>
  58. </view>
  59. </view>
  60. <view class='bottom-area'>
  61. <view class='title'>
  62. 我的功能
  63. </view>
  64. <view class='component-area'>
  65. <view
  66. a:for='{{component_list}}'
  67. a:if='{{!(item.id==2&&!adminInfo.adminId)&&!(item.id==1&&!adminInfo.adminId)}}'
  68. class='component'
  69. data-id='{{item.id}}'
  70. a:key='{{id}}'
  71. ref-numbers='{{component_list}}'
  72. onTap='antmoveAction'
  73. data-antmove-tap='goto'
  74. >
  75. <image src='{{item.icon}}'>
  76. </image>
  77. <text>
  78. {{language=='ch'?item.name_ch:item.name_en}}
  79. </text>
  80. </view>
  81. </view>
  82. </view>
  83. </view>