会话存档

This commit is contained in:
liuye
2023-06-08 17:17:36 +08:00
parent 077fc80264
commit ad2e5bccab
2 changed files with 3 additions and 0 deletions

View File

@@ -60,6 +60,7 @@
<div class="item-content-flex"> <div class="item-content-flex">
<!-- <i class="el-icon-warning" v-if="item.userId == id"></i> --> <!-- <i class="el-icon-warning" v-if="item.userId == id"></i> -->
<img :src="item.userAvatar" alt="" class="user-img" v-if="item.userId != id"> <img :src="item.userAvatar" alt="" class="user-img" v-if="item.userId != id">
<img src="./img/user-img.png" alt="" class="user-img" v-if="item.userId != id && !item.userAvatar">
<div class="content" v-if="item.msgType == 'text'"> <div class="content" v-if="item.msgType == 'text'">
<span></span> <span></span>
@@ -214,6 +215,7 @@
}, },
typeClick(index) { typeClick(index) {
this.tabIndex = index this.tabIndex = index
this.msgType = 0
this.getListInit() this.getListInit()
}, },
onChange() { onChange() {
@@ -230,6 +232,7 @@
}, },
leftClick(index) { leftClick(index) {
this.leftActiveIndex = index this.leftActiveIndex = index
this.msgType = 0
this.getMsgListInit() this.getMsgListInit()
}, },
msgTypeClick(index) { msgTypeClick(index) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB