my.wxml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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.user.user.wechatName || myData.user.wechatName }}">
  8. <view class='avatar-box'>
  9. <image class='avatar-image' src='{{ myData.user.user.avatar || myData.user.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.user.user.wechatName || myData.user.wechatName }}
  15. </view>
  16. <view class='avatar-nickname'>
  17. 宝贝昵称:{{ myData.user.user.nickName || myData.user.nickName }}
  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. <image class="flower-icon" src='../../static/image/flower_small.png' />
  46. <view class="flower-text">
  47. <view>小红花:{{myData.user.integralAmount || 0 }}</view>
  48. <view class="flower-tips-text">
  49. <text class="flower-last">{{myData.user.unfinishedAmount }}</text>
  50. 个任务福利还没有完成
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="btn-section">
  56. <view class="btn" bindtap='toMyConcern'>
  57. <image src="../../static/image/concern.png" />
  58. <view class="btn-title">我的关注</view>
  59. </view>
  60. <view class="btn" bindtap='toMyKeep' data-title='{{ myData.keep }}'>
  61. <image src="../../static/image/collect.png" />
  62. <view class="btn-title">我的收藏</view>
  63. </view>
  64. <view class="btn">
  65. <image src="../../static/image/message.png" bindtap="goToMessage" />
  66. <view class="btn-title">消息/客服</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </template>