|
@@ -2230,6 +2230,8 @@ export default {
|
|
console.log("来自单聊消息:"+this.receiverId,message.user_id)
|
|
console.log("来自单聊消息:"+this.receiverId,message.user_id)
|
|
this.chatrecords.push(receiveMessage);
|
|
this.chatrecords.push(receiveMessage);
|
|
console.log(message)
|
|
console.log(message)
|
|
|
|
+ //滚动条滚动到底部
|
|
|
|
+ this.scorllBottom();
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
@@ -2845,6 +2847,8 @@ export default {
|
|
background: #5570F1;
|
|
background: #5570F1;
|
|
position: relative;
|
|
position: relative;
|
|
min-height: 50px;
|
|
min-height: 50px;
|
|
|
|
+ word-wrap:break-word;
|
|
|
|
+ word-break:break-all;
|
|
}
|
|
}
|
|
.otherUserMessageText::before {
|
|
.otherUserMessageText::before {
|
|
content: '';
|
|
content: '';
|
|
@@ -2882,6 +2886,9 @@ export default {
|
|
position: relative;
|
|
position: relative;
|
|
min-height: 50px;
|
|
min-height: 50px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
+ word-wrap:break-word;
|
|
|
|
+ word-break:break-all;
|
|
|
|
+ //width: 100%;
|
|
}
|
|
}
|
|
.meUserMessageText::before {
|
|
.meUserMessageText::before {
|
|
content: '';
|
|
content: '';
|