feat(profile): add exp info tooltip

This commit is contained in:
Tim
2025-07-28 13:55:15 +08:00
parent 56c89c3228
commit b953b4c8fe

View File

@@ -28,7 +28,13 @@
<div class="profile-level-exp">
{{ levelInfo.exp }} / {{ levelInfo.nextExp }}
</div>
<div class="profile-level-target">目标 Lv.{{ levelInfo.currentLevel + 1 }}</div>
<div class="profile-level-target">
目标 Lv.{{ levelInfo.currentLevel + 1 }}
<i
class="fas fa-info-circle profile-exp-info"
title="经验值可通过发帖、评论等操作获得,达到目标后即可提升等级,解锁更多功能。"
></i>
</div>
</div>
</div>
</div>
@@ -584,6 +590,12 @@ export default {
opacity: 0.8;
}
.profile-exp-info {
margin-left: 4px;
opacity: 0.5;
cursor: pointer;
}
.profile-info {
display: flex;
flex-direction: row;