my.wxml 3.5 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'>微信昵称:{{ myData.userInfo.wechatName }}</view>
  14. <view class='avatar-nickname'>年级:{{myData.userInfo.gradeText }}</view>
  15. <image class="edit-img" src="../../static/image/edit_new.png" />
  16. <view class='mine-category'>
  17. <view class='amount-text'>{{ myData.playAmount || 0 }} 播放</view>
  18. <!-- <view class='amount-text'>{{ myData.user.likeAmount || 0 }} 赞</view> -->
  19. <view class='amount-text'>{{ myData.fansAmount || 0 }} 粉丝</view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- ios只显示红花 -->
  25. <!-- <view class="only-flower" wx:if="{{myData.isIOS}}" bindtap="goToFlower">
  26. <view class="grey-point"></view>
  27. <view class="flower-amount">
  28. <image class="" src='../../static/image/flower_small.png' />
  29. <view>小红花:{{myData.user.integralAmount || 0 }}</view>
  30. </view>
  31. <view class="flower-tips" wx:if="{{myData.user.unfinishedAmount > 0}}">
  32. <text class="flower-last">{{myData.user.unfinishedAmount }}</text>
  33. 个任务福利还没有完成
  34. </view>
  35. <view class="flower-tips" wx:if="{{myData.user.unfinishedAmount <= 0}}">今天任务全部完成,真棒</view>
  36. </view> -->
  37. <!-- android 显示两个 -->
  38. <view class="wallet-section">
  39. <view class="flower-box" bindtap="goToFlower">
  40. <view class="grey-point"></view>
  41. <view class="flower-box-box">
  42. <image class="flower-icon" src='../../static/image/flower_small.png' />
  43. <view class="flower-text">
  44. <view>小红花:{{myData.integralAmount || 0 }}</view>
  45. </view>
  46. </view>
  47. <view class="flower-tips-text">
  48. <text class="flower-last">{{myData.unfinishedAmount }}</text>
  49. 个任务福利还没有完成
  50. </view>
  51. </view>
  52. </view>
  53. <view class="btn-section">
  54. <view class="btn" bindtap='toMyConcern'>
  55. <image class="btn-icon" src="../../static/image/concern.png" />
  56. <view class="btn-title">我的关注</view>
  57. </view>
  58. <view class="btn" bindtap='toMyKeep' data-title='{{ myData.keep }}'>
  59. <image class="btn-icon" src="../../static/image/collect.png" />
  60. <view class="btn-title">我的收藏</view>
  61. </view>
  62. <view class="btn">
  63. <image class="btn-icon" src="../../static/image/message.png" bindtap="goToMessage" />
  64. <view class="btn-title">消息通知</view>
  65. </view>
  66. <button class="btn" open-type="contact" plain="true" hover-class="none" style="border: none;">
  67. <image class="btn-icon" src="../../static/index/contact.png"></image>
  68. <view class="btn-title">联系客服</view>
  69. </button>
  70. </view>
  71. </view>
  72. </view>
  73. </template>