去掉头像的圆圈
This commit is contained in:
parent
dfe3ad796b
commit
7ae4bd3e1d
@ -88,12 +88,7 @@
|
||||
|
||||
<el-table-column label="姓名" align="center" prop="name" min-width="100">
|
||||
<template #default="scope">
|
||||
<div class="patient-name">
|
||||
<el-avatar :size="32" class="mr-2">
|
||||
{{ scope.row.name?.charAt(0) }}
|
||||
</el-avatar>
|
||||
<span>{{ scope.row.name }}</span>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@ -451,18 +446,6 @@ defineExpose({
|
||||
border: 1px solid #d1ecf1;
|
||||
}
|
||||
|
||||
.patient-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.el-avatar {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.age-text {
|
||||
font-weight: 600;
|
||||
color: #409eff;
|
||||
|
||||
@ -101,12 +101,7 @@
|
||||
>
|
||||
<el-table-column label="姓名" align="center" prop="name" min-width="100">
|
||||
<template #default="scope">
|
||||
<div class="patient-name">
|
||||
<el-avatar :size="32" class="mr-2">
|
||||
{{ scope.row.name?.charAt(0) }}
|
||||
</el-avatar>
|
||||
<span>{{ scope.row.name }}</span>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@ -407,18 +402,6 @@ onMounted(async () => {
|
||||
border: 1px solid #d1ecf1;
|
||||
}
|
||||
|
||||
.patient-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.el-avatar {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.age-text {
|
||||
font-weight: 600;
|
||||
color: #409eff;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user