my.wxml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template name="my">
  2. <view>我的</view>
  3. <view class='containers'>
  4. <view class='mine-top' bindtap='toAttentionMe'>
  5. <view class='avatar-box'>
  6. <image src="{{ myData.imgUrl }}" background-size="cover"></image>
  7. </view>
  8. <view class='mine-info'>
  9. <view>用aaaa{{ myData.name }}</view>
  10. <view>{{ myData.address[0] }},{{ myData.address[1] }},{{ myData.address[2] }}</view>
  11. </view>
  12. <view class='edit'>
  13. <view class='icon'></view>
  14. </view>
  15. </view>
  16. <view class='category'>
  17. <view class='play'>
  18. <view>{{ myData.playNum }}</view>
  19. <text>播放</text>
  20. </view>
  21. <view class='attention'>
  22. <view>{{ myData.attentionCount }}</view>
  23. <text>关注</text>
  24. <view class='attentionCount' bindtap='attentionCountAdd'>+5</view>
  25. </view>
  26. <view class='point'>
  27. <view>{{ myData.point }}</view>
  28. <text>赞</text>
  29. </view>
  30. <view class='red-flower'>
  31. <view>{{ myData.flowerNum }}</view>
  32. <text>红花</text>
  33. </view>
  34. </view>
  35. <view class='wallet'>
  36. <view class='wallet-title'>
  37. <view class='image-box'>
  38. <image src='{{ myData.imgUrl }}'></image>
  39. </view>
  40. <text class='text'>钱包</text>
  41. </view>
  42. <view class='wallet-detail'> > </view>
  43. </view>
  44. <view class='grouping'>
  45. <view class='grouping-title'>
  46. <view class='image-box'>
  47. <image src='{{ myData.imgUrl }}'></image>
  48. </view>
  49. <text class='text'>我的拼团</text>
  50. </view>
  51. <view class='grouping-detail'> > </view>
  52. </view>
  53. <view class='reader'>
  54. <view class='reader-title'>
  55. <view class='image-box'>
  56. <image src='{{ myData.imgUrl }}'></image>
  57. </view>
  58. <text class='text'>我的朗读</text>
  59. </view>
  60. <view class='reader-detail'> > </view>
  61. </view>
  62. <view class='keep'>
  63. <view class='keep-title'>
  64. <view class='image-box'>
  65. <image src='{{ myData.imgUrl }}'></image>
  66. </view>
  67. <text class='text'>我的收藏</text>
  68. </view>
  69. <view class='keep-detail'> > </view>
  70. </view>
  71. <view class='attention-me'>
  72. <view class='attention-me-title'>
  73. <view class='image-box'>
  74. <image src='{{ myData.imgUrl }}'></image>
  75. </view>
  76. <text class='text'>我的关注</text>
  77. </view>
  78. <view class='attention-me-detail'> > </view>
  79. </view>
  80. </view>
  81. </template>