perf: 优化bbs前端整体显示
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<el-badge class="box-card">
|
||||
<el-card shadow="never" :style="{ 'border-color': discuss.color }">
|
||||
<el-card shadow="never" :style="{ 'border-color': discuss.color }"
|
||||
>
|
||||
<div class="card-header">
|
||||
<AvatarInfo :userInfo="discuss.user" />
|
||||
</div>
|
||||
@@ -157,8 +158,8 @@ onMounted(() => {
|
||||
font-size: 14px;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.box-card {
|
||||
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* right: calc(1px + var(--el-badge-size)/ 2) !important; */
|
||||
|
||||
Reference in New Issue
Block a user