myconcern.wxml 1.4 KB

12345678910111213141516171819202122232425262728
  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 class="user-profession">{{item.user.profession}}</view>
  8. </view>
  9. <view class="avatar-name">
  10. <text class="nickName">{{ item.user.wechatName }}</text>
  11. <text class="time">{{ format.formatDate(item.fans.gmtCreated) }}</text>
  12. </view>
  13. <view class="avatar-follow" wx:if='{{ item.isEachOther }}'>
  14. <view class='avatar-img'>
  15. <image class='avatar-images' src="../../../static/image/concernback.png" />
  16. </view>
  17. <view class="follow-status">相互关注</view>
  18. </view>
  19. <view class="avatar-follow" wx:elif='{{ item.followBack === item.followBack || item.isEachOther }}'>
  20. <view class='avatar-img'>
  21. <image class='avatar-images' src="../../../static/image/concerned.png" />
  22. </view>
  23. <view class="follow-status">已关注</view>
  24. </view>
  25. </view>
  26. </view>
  27. <myPlacerholder class="placerholder" imageShow="{{imageShow}}" line1="{{line1}}" line2="{{line2}}" wx:if="{{fanList.length <= 1}}" />
  28. </view>