mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-04 02:50:59 +08:00
feat: level 模块
This commit is contained in:
@@ -25,10 +25,12 @@
|
||||
<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 }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -578,6 +580,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;
|
||||
|
||||
Reference in New Issue
Block a user