myconcern.wxml 1.2 KB

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