头像本地缓存

This commit is contained in:
2022-01-19 14:13:18 +08:00
parent 070c6c729e
commit ced9257131
12 changed files with 1211 additions and 33 deletions

View File

@@ -49,9 +49,10 @@
},
onLoad() {
getImToken().then(res => {
im.connect(res.token, res.userInfo)
im.syncFriends()
im.connect(res.token, res.userInfo)
this.getConversationList()
})
},
@@ -137,7 +138,7 @@
.name {
display: flex;
justify-content: space-between;
justify-content: space-between;
font-size: $uni-font-size-base;
.time {
@@ -147,8 +148,8 @@
}
.u-line-1 {
color: $u-info;
font-size: $uni-font-size-sm;
color: $u-info;
font-size: $uni-font-size-sm;
}
}
}