|
@@ -1,13 +1,12 @@
|
|
|
<view class="followBox">
|
|
|
<view class="screening">
|
|
|
- <view class="type {{currentType==3?'currentType':''}}" data-type="3" bindtap="setType">相互关注</view>
|
|
|
<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">
|
|
|
+ <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 }}" bindtap="jumpUserInfo" data-uid='{{item.user.uid}}' />
|
|
|
+ <image class='avatar-image' src="{{ item.user.avatar }}" />
|
|
|
<view class="user-profession">{{item.user.profession}}</view>
|
|
|
</view>
|
|
|
<view class="nickName">
|
|
@@ -15,9 +14,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="state">
|
|
|
- <image class='stateImg' src="{{item.isEachOther?'/static/concernback.png':'/static/concerned.png'}}" />
|
|
|
- <view class="stateText">{{ item.isEachOther?'互相关注':'已关注' }}</view>
|
|
|
+ <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="{{list.length==0}}" message='您还没有关注哦'></emptyBg> -->
|
|
|
+ <emptyBg wx:if="{{nullList}}" message='快去寻找小伙伴吧!' />
|
|
|
</view>
|