feat: 新增bbs排行榜功能

This commit is contained in:
橙子
2024-08-09 22:39:27 +08:00
parent b30e2f0cc0
commit 1c7486a7bc
8 changed files with 142 additions and 105 deletions

View File

@@ -9,27 +9,27 @@
<el-tooltip
class="box-item"
effect="dark"
:content="friendData.userName"
:content="friendData.nick"
placement="top"
>
{{ friendData.userName }}
{{ friendData.nick }}
</el-tooltip>
</div>
<el-tag effect="light" type="success"
<!-- <el-tag effect="light" type="success"
>{{ friendData.level }}-{{friendData.levelName}} 等级</el-tag
>
> -->
<UserLimitTag :userLimit="friendData.userLimit" />
</div>
</div>
<div class="right">
<div class="follow">
<el-icon class="el-icon--right"><Plus /></el-icon>
<div class="text">关注</div>
<div class="follow-text"> <el-icon class="el-icon--right"><Plus /></el-icon>关注</div>
</div>
</div>
</div>
@@ -86,7 +86,7 @@ const userImageSrc = computed(() => {
display: flex;
align-items: center;
.name {
width: 50px;
width: 100px;
color: #252933;
margin-left: 5px;
white-space: nowrap;
@@ -111,4 +111,9 @@ const userImageSrc = computed(() => {
}
}
}
.follow-text
{
font-size: small;
cursor: pointer;
}
</style>