perf: 优化bbs前端整体显示

This commit is contained in:
橙子
2025-02-04 15:23:20 +08:00
parent 9a73789788
commit bce9b58265
10 changed files with 138 additions and 52 deletions

View File

@@ -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; */