替换了名字
This commit is contained in:
parent
0f03c543e1
commit
1c3ed37983
@ -284,7 +284,7 @@ export default {
|
||||
id:this.storeid
|
||||
}).then((res)=>{
|
||||
console.log(res)
|
||||
let user = new Friend(res.data.member_id,res.data.member_nickname,res.data.member_avatar)
|
||||
let user = new Friend(res.data.member_id,res.data.store_name,res.data.member_avatar)
|
||||
this.$u.route({
|
||||
url:"/pageD/privateChat/privateChat",
|
||||
params:{
|
||||
|
@ -141,7 +141,7 @@ export default {
|
||||
id:this.sid
|
||||
}).then((res)=>{
|
||||
console.log(res)
|
||||
let user = new Friend(res.data.member_id,res.data.member_nickname,res.data.member_avatar)
|
||||
let user = new Friend(res.data.member_id,res.data.store_name,res.data.member_avatar)
|
||||
this.$u.route({
|
||||
url:"/pageD/privateChat/privateChat",
|
||||
params:{
|
||||
|
@ -430,7 +430,7 @@
|
||||
}
|
||||
.chatInterface .action-top .file-icon{
|
||||
background: url("../images/vedio.png") no-repeat center;
|
||||
background-size: 70%;
|
||||
background-size: 50%;
|
||||
color: #9D9D9D;
|
||||
position: relative;
|
||||
width:80rpx;
|
||||
@ -445,7 +445,7 @@
|
||||
}
|
||||
.chatInterface .action-top .img-video{
|
||||
background: url("../images/file.png") no-repeat center;
|
||||
background-size: 74%;
|
||||
background-size: 50%;
|
||||
}
|
||||
.chatInterface .record-input{
|
||||
width: 480rpx;
|
||||
@ -468,9 +468,10 @@
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.chatInterface .send-message-btn{
|
||||
font-size: 32rpx;
|
||||
font-size: 28rpx;
|
||||
width: 80rpx;
|
||||
line-height: 80rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.record-loading{
|
||||
position: absolute;
|
||||
|
@ -117,7 +117,7 @@ export default {
|
||||
id: 1 // 平台店铺 id
|
||||
}).then((res)=>{
|
||||
// console.log(res)
|
||||
let user = new Friend(res.data.member_id,res.data.member_nickname,res.data.member_avatar)
|
||||
let user = new Friend(res.data.member_id,res.data.store_name,res.data.member_avatar)
|
||||
this.$u.route({
|
||||
url:"/pageD/privateChat/privateChat",
|
||||
params:{
|
||||
|
@ -136,7 +136,7 @@
|
||||
success(res){
|
||||
console.log(res)
|
||||
res = res.data
|
||||
let user = new Friend(res.data.member_id,res.data.member_nickname,res.data.member_avatar)
|
||||
let user = new Friend(res.data.member_id,res.data.store_name,res.data.member_avatar)
|
||||
that.$u.route({
|
||||
url:"/pageD/privateChat/privateChat",
|
||||
params:{
|
||||
|
@ -116,7 +116,7 @@ IMService.prototype.initialContacts = function (friendList) {
|
||||
},
|
||||
success(res){
|
||||
console.log(res)
|
||||
that.friends[i[0]] = new Friend(res.data.data.member_id, res.data.data.member_nickname, res.data.data.member_avatar,i[1],i[2],i[3]);
|
||||
that.friends[i[0]] = new Friend(res.data.data.member_id, res.data.data.store_name, res.data.data.member_avatar,i[1],i[2],i[3]);
|
||||
console.log(that.friends)
|
||||
let sorts = function (friends){
|
||||
let paixu = function (a,b){
|
||||
@ -295,7 +295,7 @@ IMService.prototype.initialIMListeners = function () {
|
||||
},
|
||||
success(res){
|
||||
console.log(res)
|
||||
that.friends[message.senderId] = new Friend(res.data.data.member_id, res.data.data.member_nickname, res.data.data.member_avatar);
|
||||
that.friends[message.senderId] = new Friend(res.data.data.member_id, res.data.data.store_name, res.data.data.member_avatar);
|
||||
friend = that.friends[message.senderId];
|
||||
console.log(friend)
|
||||
friend.unReadMessage++;
|
||||
@ -538,7 +538,7 @@ IMService.prototype.sendMessagesSetStorage = function (friendId,message){
|
||||
},
|
||||
success(res){
|
||||
console.log(res)
|
||||
that.friends[friendId] = new Friend(res.data.data.member_id, res.data.data.member_nickname, res.data.data.member_avatar);
|
||||
that.friends[friendId] = new Friend(res.data.data.member_id, res.data.data.store_name, res.data.data.member_avatar);
|
||||
friend = that.friends[friendId];
|
||||
console.log(friend)
|
||||
friend.text = message
|
||||
|
Loading…
Reference in New Issue
Block a user