This commit is contained in:
2020-08-06 10:40:26 +08:00
parent 720af35b11
commit 7a7b126fe3
30 changed files with 668 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
<!-- 消息通知 -->
<view class="backes">
<view id="information">
<view class="information_dl" v-for="(item,index) in information_dl" :key="index" >
<view class="information_dl" v-for="(item,index) in information_dl" :key="index" @click="gochat(item)" >
<view>
<image :src="item.avatar"></image>
</view>
@@ -117,6 +117,15 @@
}
},
methods: {
gochat(id){
this.$u.route({
url:"/pageD/privateChat/privateChat",
params:{
id:JSON.stringify(id)
}
})
},
onFriendListChange(onlineFriends) {
//todo:比较垃圾的处理方式因为Uniapp的基于MAP的双向绑定在H5端不稳定H5端偶尔会抽风
// 下边这一行删掉,有时候页面可以更新,有时候不行,大家有优雅的方式,也欢迎跟我们沟通