|
@@ -35,11 +35,10 @@
|
|
|
</view>
|
|
|
<button
|
|
|
class="follow"
|
|
|
- disabled="{{booLock}}"
|
|
|
- wx:if="{{item.follow_status === 0}}"
|
|
|
+ disabled="{{booLock || item.follow_status === 1}}"
|
|
|
data-item="{{item}}"
|
|
|
data-index="{{index}}"
|
|
|
- bind:tap="followUser">关注
|
|
|
+ bind:tap="followUser">{{item.follow_status === 1 ? '已' : ''}}关注
|
|
|
</button>
|
|
|
</view>
|
|
|
<view class="news">
|
|
@@ -60,13 +59,10 @@
|
|
|
<image src="../../image/news/Chat.png"></image>
|
|
|
</view>
|
|
|
<view class="collection-favorite">
|
|
|
- <view>
|
|
|
- <image src="../../image/news/collection_0.png" wx:if="{{true}}"></image>
|
|
|
- <image src="../../image/news/collection_1.png" wx:if="{{false}}"></image>
|
|
|
- </view>
|
|
|
<view class="favorite">
|
|
|
<image src="../../image/news/like_0.png" wx:if="{{true}}"></image>
|
|
|
<image src="../../image/news/like_1.png" wx:if="{{false}}"></image>
|
|
|
+ <text class="good-count">{{item.good_count}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|