index.wxml 778 B

123456789101112131415161718
  1. <view class="followBox">
  2. <view class="follow" wx:for="{{ list }}" wx:key="*this">
  3. <view class="userInfo">
  4. <view class='avatar'>
  5. <image class='avatar-image' src="{{ item.user.avatar }}" bindtap="jumpUserInfo" data-uid='{{item.user.uid}}' />
  6. <view class="user-profession">{{item.user.profession}}</view>
  7. </view>
  8. <view class="nickName">
  9. {{item.user.nickName||item.user.eid}}
  10. </view>
  11. </view>
  12. <view class="state">
  13. <image class='stateImg' src="{{item.isEachOther?'/static/concernback.png':'/static/concerned.png'}}" />
  14. <view class="stateText">{{ item.isEachOther?'互相关注':'已关注' }}</view>
  15. </view>
  16. </view>
  17. <emptyBg wx:if="{{list.length==0}}" message='您还没有关注哦'></emptyBg>
  18. </view>