|
@@ -3,7 +3,7 @@
|
|
|
<u-navbar><view class="navbar-tit">谁点赞了我</view></u-navbar>
|
|
|
|
|
|
<view class="friendList">
|
|
|
- <view class="friendList-item" v-for="(item ,index) in likeList" :key="item.id">
|
|
|
+ <view class="friendList-item" v-for="(item ,index) in likeList" :key="item.id" @click="gotoUrl('pages/friend/personal?id='+item.id+'&readStatus=1')">
|
|
|
<view class="friendList-new" v-if="item.isRead == '0'">
|
|
|
new
|
|
|
</view>
|
|
@@ -12,7 +12,7 @@
|
|
|
<view class="friendList-text">
|
|
|
<view class="friendList-name">
|
|
|
<span>{{item.realName}}</span>
|
|
|
- <u-icon v-if="item.gender" custom-prefix="custom-icon" name="women-line" color="#1677FF"></u-icon>
|
|
|
+ <u-icon v-if="item.gender" custom-prefix="custom-icon" name="women-line" color="#FF695B"></u-icon>
|
|
|
<u-icon v-else custom-prefix="custom-icon" name="men-line" color="#1677FF"></u-icon>
|
|
|
</view>
|
|
|
<view class="friendList-info">
|
|
@@ -48,6 +48,14 @@
|
|
|
recordsTotal: 0,
|
|
|
}
|
|
|
},
|
|
|
+ onReachBottom() {
|
|
|
+ if (this.likeList.length < this.recordsTotal) {
|
|
|
+ this.myLoadmore();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ this.getLikeMeList(true);
|
|
|
+ },
|
|
|
methods: {
|
|
|
getLikeMeList(bl) {
|
|
|
uni.showLoading({
|
|
@@ -79,9 +87,6 @@
|
|
|
this.pageIndex += 1;
|
|
|
this.getLikeMeList()
|
|
|
},
|
|
|
- onReady() {
|
|
|
- this.getLikeMeList();
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</script>
|