Merge branch 'main' into codex/add-info-icon-for-experience-module

This commit is contained in:
Tim
2025-07-28 13:55:45 +08:00
committed by GitHub
5 changed files with 107 additions and 20 deletions

View File

@@ -25,8 +25,11 @@
<div class="profile-level-bar">
<div class="profile-level-bar-inner" :style="{ width: `${levelInfo.percent}%` }" />
</div>
<div class="profile-level-exp">
{{ levelInfo.exp }} / {{ levelInfo.nextExp }}
<div class="profile-level-info">
<div class="profile-level-exp">
{{ levelInfo.exp }} / {{ levelInfo.nextExp }}
</div>
<div class="profile-level-target">🎉目标 Lv.{{ levelInfo.currentLevel + 1 }}</div>
</div>
<div class="profile-level-target">
目标 Lv.{{ levelInfo.currentLevel + 1 }}
@@ -584,6 +587,13 @@ export default {
background-color: var(--primary-color);
}
.profile-level-info {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
}
.profile-level-exp,
.profile-level-target {
font-size: 12px;