myconcern.wxml 1.7 KB

1234567891011121314151617181920212223242526272829
  1. <!-- <wxs src="../../commonWxs/format.wxs" module="format" /> -->
  2. <!-- <StatusBar receiveData="{{statusbarobj}}" grade="{{grade}}" bindgradeTap="gradeTap" /> -->
  3. <view class='my-concern'>
  4. <view class="concern-center">
  5. <view class='concern-info' wx:for="{{ fanList }}" wx:key="{{ index }}" bindtap='toUserDetails' data-uid='{{ item.user.uid }}' data-fanId='{{ item.fans.fanId }}'>
  6. <view class='avatar-box'>
  7. <image class='avatar-image' src="{{ item.user.avatar }}" />
  8. <view class="user-profession">{{item.user.profession}}</view>
  9. </view>
  10. <view class="avatar-name">
  11. <text class="nickName">{{ item.user.nickName ||item.user.eid}}</text>
  12. <text class="time">{{ format.formatDate(item.fans.gmtCreated) }}</text>
  13. </view>
  14. <view class="avatar-follow" wx:if='{{ item.isEachOther }}'>
  15. <view class='avatar-img'>
  16. <image class='avatar-images' src="../../static/image/concernback.png" />
  17. </view>
  18. <view class="follow-status">相互关注</view>
  19. </view>
  20. <view class="avatar-follow" wx:elif='{{ item.followBack === item.followBack || item.isEachOther }}'>
  21. <view class='avatar-img'>
  22. <image class='avatar-images' src="../../static/image/concerned.png" />
  23. </view>
  24. <view class="follow-status">已关注</view>
  25. </view>
  26. </view>
  27. </view>
  28. <!-- <myPlacerholder class="placerholder" imageShow="{{imageShow}}" line1="{{line1}}" line2="{{line2}}" wx:if="{{fanList.length <= 1}}" /> -->
  29. </view>