fix : 细节优化

This commit is contained in:
2024-03-26 14:37:38 +08:00
parent 60f3c41124
commit 45f95fa297
10 changed files with 79 additions and 49 deletions

View File

@@ -22,7 +22,10 @@
</template>
<template v-else-if="showAvatar">
<span class="placeholder" v-if="userInfo.length === 0">{{ placeholder }}</span>
<avatar-ellipsis :row="3" :user-info="userInfo" v-else/>
<div v-else v-for="item in userInfo" class="circle-user">
<span >{{item.name}}</span>
</div>
<!-- <avatar-ellipsis :row="3" :user-info="userInfo"/>-->
</template>
<template v-else>
<span class="placeholder" v-if="(content || '').trim() === ''">{{ placeholder }}</span>
@@ -173,7 +176,15 @@ const init = () => {
</script>
<style lang="scss" scoped>
.circle-user{
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
border: 1px solid #ACACAC;
}
.root {
&:before {
display: none !important;