|
@@ -12,7 +12,7 @@
|
|
<view class="praiseLink-tit">
|
|
<view class="praiseLink-tit">
|
|
<h4>谁点赞了我</h4><span v-if="newLike">+{{newLike}}</span>
|
|
<h4>谁点赞了我</h4><span v-if="newLike">+{{newLike}}</span>
|
|
</view>
|
|
</view>
|
|
- <p>{{peopleNum}}人点赞了我</p>
|
|
|
|
|
|
+ <p>{{likeINum}}人点赞了我</p>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="title">互相点赞联系双方</view>
|
|
<view class="title">互相点赞联系双方</view>
|
|
@@ -47,7 +47,7 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
newLike: '',
|
|
newLike: '',
|
|
- peopleNum: '',
|
|
|
|
|
|
+ likeINum: '',
|
|
homePageList: [],
|
|
homePageList: [],
|
|
customStyle: {
|
|
customStyle: {
|
|
background: '#FF5E5E'
|
|
background: '#FF5E5E'
|
|
@@ -78,7 +78,7 @@
|
|
}
|
|
}
|
|
likesApi.homePage().then((res) => {
|
|
likesApi.homePage().then((res) => {
|
|
this.newLike = res.data.likeINotReadNum;
|
|
this.newLike = res.data.likeINotReadNum;
|
|
- this.peopleNum = res.data.eachOtherPage.data.length;
|
|
|
|
|
|
+ this.likeINum = res.data.likeINum;
|
|
this.homePageList = res.data.eachOtherPage.data;
|
|
this.homePageList = res.data.eachOtherPage.data;
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
}).catch(error => {
|
|
}).catch(error => {
|