This commit is contained in:
liuye
2023-06-09 11:50:59 +08:00
parent 27e6fe0eb2
commit f59179e3bc
2 changed files with 8 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ export default {
}, },
data() { data() {
return { return {
component: "List", component: "Detail",
params: {}, params: {},
include: [], include: [],
}; };

View File

@@ -99,12 +99,17 @@
<div>{{item.cardUserId}}</div> <div>{{item.cardUserId}}</div>
</div> </div>
<div class="card-right"> <div class="card-right">
<img src="./img/user-img.png" alt=""> <img :src="item.cardUserAvatar" alt="" v-if="item.cardUserAvatar">
<img src="./img/user-img.png" alt="" v-else>
</div> </div>
</div> </div>
<!-- <div class="bottom">个人名片</div> --> <!-- <div class="bottom">个人名片</div> -->
</div> </div>
<img :src="item.sdkFileUrl" alt="" v-if="item.msgType == 'emotion'" :style="[{width: item.width+'px'}, {height: item.height+'px'}]">
<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">
<!-- <i class="el-icon-warning" v-if="item.userId != id"></i> --> <!-- <i class="el-icon-warning" v-if="item.userId != id"></i> -->
</div> </div>
@@ -168,7 +173,7 @@
this.id = this.params.id this.id = this.params.id
this.getList() this.getList()
} }
// this.getList() this.getList()
}, },
methods: { methods: {