my.wxml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template name="my">
  2. <view class='mine-container'>
  3. <view class='mine-center'>
  4. <view class='mine-info'>
  5. <view class='mine-bg'>
  6. <view class='mine-avatar'>
  7. <image class='avatar-image' src='{{ myData.user.avatar }}'></image>
  8. </view>
  9. </view>
  10. <view class='mine-edit' bindtap='toMyEdit' data-title='{{ myData.title }}'>
  11. <view class='edit-image'>
  12. <image class='edit-img' src='../../static/image/_edit.png'></image>
  13. </view>
  14. <view class='edit-text'>修改个人资料</view>
  15. </view>
  16. </view>
  17. <view class='mine-detail'>
  18. <text class='mine-title'>{{ myData.user.wechatName }}</text>
  19. <view class='mine-address'>{{ myData.schoolCity }},{{ myData.schoolName }}</view>
  20. <view class='mine-line'></view>
  21. </view>
  22. <view class='mine-category'>
  23. <view class='play-count'>
  24. <view>3232</view>
  25. <view class='border-right'>
  26. <view class='play-img'>
  27. <image src='../../static/image/play.png'></image>
  28. </view>
  29. <text>播放量</text>
  30. </view>
  31. </view>
  32. <view class='follow-count'>
  33. <view class='color'>5200</view>
  34. <view class='border-right'>
  35. <view class='play-img'>
  36. <image src='../../static/image/follow.png'></image>
  37. </view>
  38. <text>关注</text>
  39. </view>
  40. </view>
  41. <view class='point-count'>
  42. <view class='color'>300</view>
  43. <view class='border-right'>
  44. <view class='play-img'>
  45. <image src='../../static/image/point.png'></image>
  46. </view>
  47. <text>赞</text>
  48. </view>
  49. </view>
  50. <view class='flower-count'>
  51. <view class='color'>100</view>
  52. <view class='border-right'>
  53. <view class='play-img'>
  54. <image src='../../static/image/flower.png'></image>
  55. </view>
  56. <text>红花</text>
  57. </view>
  58. </view>
  59. </view>
  60. <view class='wallet-module' bindtap='toMyWallet' data-title='{{ myData.wallet }}'>
  61. <view class='wallet-center'>
  62. <view class='wallet-left'>
  63. <view class='icon-box'>
  64. <image src='../../static/image/wallet.png'></image>
  65. </view>
  66. <text>钱包</text>
  67. </view>
  68. <view class='wallet-right'>
  69. <image src='../../static/image/to.png'></image>
  70. </view>
  71. </view>
  72. </view>
  73. <view class='course-module' bindtap='toMyCourse' data-title='{{ myData.course }}'>
  74. <view class='wallet-center'>
  75. <view class='wallet-left'>
  76. <view class='icon-box'>
  77. <image src='../../static/image/courses.png'></image>
  78. </view>
  79. <text>我的课程</text>
  80. </view>
  81. <view class='wallet-right'>
  82. <image src='../../static/image/to.png'></image>
  83. </view>
  84. </view>
  85. </view>
  86. <view class='group-module' bindtap='toMyCollage' data-title='{{ myData.collage }}'>
  87. <view class='wallet-center'>
  88. <view class='wallet-left'>
  89. <view class='icon-box'>
  90. <image src='../../static/image/group.png'></image>
  91. </view>
  92. <text>我的拼团</text>
  93. </view>
  94. <view class='wallet-right'>
  95. <image src='../../static/image/to.png'></image>
  96. </view>
  97. </view>
  98. </view>
  99. <view class='reading-module' bindtap='toMyRead' data-title='{{ myData.read }}'>
  100. <view class='wallet-center'>
  101. <view class='wallet-left'>
  102. <view class='icon-box'>
  103. <image src='../../static/image/record.png'></image>
  104. </view>
  105. <text>我的朗读</text>
  106. </view>
  107. <view class='wallet-right'>
  108. <image src='../../static/image/to.png'></image>
  109. </view>
  110. </view>
  111. </view>
  112. <view class='keep-module' bindtap='toMyKeep' data-title='{{ myData.keep }}'>
  113. <view class='wallet-center'>
  114. <view class='wallet-left'>
  115. <view class='icon-box'>
  116. <image src='../../static/image/keep.png'></image>
  117. </view>
  118. <text>我的收藏</text>
  119. </view>
  120. <view class='wallet-right'>
  121. <image src='../../static/image/to.png'></image>
  122. </view>
  123. </view>
  124. </view>
  125. <view class='myfollow-module' bindtap='toMyConcern' data-title='{{ myData.concern }}'>
  126. <view class='wallet-center'>
  127. <view class='wallet-left'>
  128. <view class='icon-box'>
  129. <image src='../../static/image/myfollow.png'></image>
  130. </view>
  131. <text>我的关注</text>
  132. </view>
  133. <view class='wallet-right'>
  134. <image src='../../static/image/to.png'></image>
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. </view>
  140. </template>