mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 11:02:25 +00:00
头像相关样式调整
This commit is contained in:
@@ -375,6 +375,7 @@ const onVideoCall = () => {
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
border: 2px solid #fff;
|
||||
}
|
||||
|
||||
.gender {
|
||||
|
||||
@@ -63,7 +63,7 @@ const statusCircleColor = computed(() => {
|
||||
|
||||
<template>
|
||||
<div class="user-avatar-box" :style="{ width: avatarSize + 'px', height: avatarSize + 'px' }">
|
||||
<el-avatar v-if="isShowImg" :src="props.showAvatarThumb" :size="avatarSize" />
|
||||
<el-avatar class="avatar" v-if="isShowImg" :src="props.showAvatarThumb" :size="avatarSize" />
|
||||
<span
|
||||
class="first-char-box"
|
||||
v-else-if="firstChar"
|
||||
@@ -71,7 +71,7 @@ const statusCircleColor = computed(() => {
|
||||
>
|
||||
{{ firstChar }}
|
||||
</span>
|
||||
<el-avatar v-else :src="default_avatar" :size="avatarSize" />
|
||||
<el-avatar class="avatar" v-else :src="default_avatar" :size="avatarSize" />
|
||||
<div
|
||||
v-if="props.userStatus != null"
|
||||
class="status-circle"
|
||||
@@ -121,5 +121,13 @@ const statusCircleColor = computed(() => {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
.avatar ::v-deep img {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -133,6 +133,11 @@ watch(
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
border: 2px solid #fff;
|
||||
}
|
||||
|
||||
.avatar ::v-deep img {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.gender {
|
||||
|
||||
Reference in New Issue
Block a user