删除聊天搜索

This commit is contained in:
luyuan 2020-08-07 15:07:45 +08:00
parent 93c412a515
commit 4453742f3c
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 8 additions and 7 deletions

View File

@ -150,6 +150,10 @@ export default {
this.getswiper();
//
this.getcarlist();
const user = uni.getStorageSync('userinfo');
console.log(user)
this.imService.login(user.userId,"","")
this.imService.connectIM()
// 0: 1 2 3 4退/退 5退/退 6退/退
},
onShow() {

View File

@ -1,11 +1,11 @@
<template>
<!-- login页面 -->
<view>
<view class="border_serach">
<!-- <view class="border_serach">
<view class="u-search">
<u-search :show-action="false" input-align="left" shape="round" placeholder="搜索" v-model="keyword"></u-search>
</view>
</view>
</view> -->
<!-- 消息列表 -->
<view class="massage_list" v-for="(item,index) in list" :key="index" @click="gochat(item)">
<view class="images">
@ -53,11 +53,8 @@
this.imService.onFriendListChange=this.onFriendListChange;
},
onLoad(){
const user = uni.getStorageSync('userinfo');
console.log(user)
this.imService.login(user.userId,"","")
this.imService.connectIM()
this.information_dl = this.imService.friends;
this.list = this.imService.friends;
}
};
</script>