my.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!-- <wxs src="../../pages/commonWxs/format.wxs" module="format" /> -->
  2. <template name="my">
  3. <view class='mine-container'>
  4. <view class='follow-details'>
  5. <view class='follow-info'>
  6. <view class="info-placerholder"></view>
  7. <view class='set-msg' wx:if="{{myData.userInfo.wechatName }}">
  8. <view class='avatar-box'>
  9. <image class='avatar-image' src='{{ myData.userInfo.avatar }}'></image>
  10. <!-- <view class='occupation-title' wx:if="{{myData.user.user.profession}}">{{ myData.user.user.profession }}</view> -->
  11. </view>
  12. <view class='avatar-msg' bindtap="toMyEdit">
  13. <view class='avatar-nickname'>
  14. 微信昵称:{{ myData.userInfo.wechatName }}
  15. </view>
  16. <view class='avatar-nickname'>
  17. 年级:{{myData.userInfo.gradeText }}
  18. </view>
  19. <image class="edit-img" src="../../static/image/edit_new.png" />
  20. <view class='mine-category'>
  21. <view class='amount-text'>{{ myData.user.playAmount || 0 }} 播放</view>
  22. <!-- <view class='amount-text'>{{ myData.user.likeAmount || 0 }} 赞</view> -->
  23. <view class='amount-text'>{{ myData.user.fansAmount || 0 }} 粉丝</view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <!-- ios只显示红花 -->
  29. <!-- <view class="only-flower" wx:if="{{myData.isIOS}}" bindtap="goToFlower">
  30. <view class="grey-point"></view>
  31. <view class="flower-amount">
  32. <image class="" src='../../static/image/flower_small.png' />
  33. <view>小红花:{{myData.user.integralAmount || 0 }}</view>
  34. </view>
  35. <view class="flower-tips" wx:if="{{myData.user.unfinishedAmount > 0}}">
  36. <text class="flower-last">{{myData.user.unfinishedAmount }}</text>
  37. 个任务福利还没有完成
  38. </view>
  39. <view class="flower-tips" wx:if="{{myData.user.unfinishedAmount <= 0}}">今天任务全部完成,真棒</view>
  40. </view> -->
  41. <!-- android 显示两个 -->
  42. <view class="wallet-section">
  43. <view class="flower-box" bindtap="goToFlower">
  44. <view class="grey-point"></view>
  45. <view class="flower-box-box">
  46. <image class="flower-icon" src='../../static/image/flower_small.png' />
  47. <view class="flower-text">
  48. <view>小红花:{{myData.user.integralAmount || 0 }}</view>
  49. </view>
  50. </view>
  51. <view class="flower-tips-text">
  52. <text class="flower-last">{{myData.user.unfinishedAmount }}</text>
  53. 个任务福利还没有完成
  54. </view>
  55. </view>
  56. </view>
  57. <view class="btn-section">
  58. <view class="btn" bindtap='toMyConcern'>
  59. <image src="../../static/image/concern.png" />
  60. <view class="btn-title">我的关注</view>
  61. </view>
  62. <view class="btn" bindtap='toMyKeep' data-title='{{ myData.keep }}'>
  63. <image src="../../static/image/collect.png" />
  64. <view class="btn-title">我的收藏</view>
  65. </view>
  66. <view class="btn">
  67. <image src="../../static/image/message.png" bindtap="goToMessage" />
  68. <view class="btn-title">消息/客服</view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. </template>