1234567891011121314151617181920212223 |
- <view class="followBox">
- <view class="screening">
- <view class="type {{currentType==1?'currentType':''}}" data-type="1" bindtap="setType">我的关注</view>
- <view class="type {{currentType==2?'currentType':''}}" data-type="2" bindtap="setType">我的粉丝</view>
- </view>
- <view class="follow" wx:for="{{list}}" wx:key="*this" bindtap="jumpUserInfo" data-uid='{{item.user.uid}}'>
- <view class="userInfo">
- <view class='avatar'>
- <image class='avatar-image' src="{{ item.user.avatar }}" />
- <view class="user-profession">{{item.user.profession}}</view>
- </view>
- <view class="nickName">
- {{item.user.nickName||item.user.eid}}
- </view>
- </view>
- <view class="state">
- <image class='stateImg'
- src="{{currentType==1?'/static/concernback.png':item.isEachOther?'/static/concerned.png':'/static/concernRespond.png'}}" />
- <view class="stateText">{{ currentType==1?'已关注':item.isEachOther?'互相关注':'回关'}}</view>
- </view>
- </view>
- <emptyBg wx:if="{{nullList}}" message='快去寻找小伙伴吧!' />
- </view>
|