diff --git a/src/pages/Achievements.vue b/src/pages/Achievements.vue index 018b9b85..ecc9df45 100644 --- a/src/pages/Achievements.vue +++ b/src/pages/Achievements.vue @@ -67,6 +67,9 @@ +
+ {{ achievement.progress }} +
{{ achievement.name }} - {{ achievement.progress !== 0 ? "| " + achievement.progress : null }} v{{ achievement.version }} {{ achievement.description }} @@ -432,7 +434,7 @@ async function exportJson () { font-family: Genshin, serif; border-radius: 5px; text-align: center; - color: #ff6d6d !important; + color: #ff6d6d; font-size: 10px; } @@ -452,6 +454,22 @@ async function exportJson () { color: #faf7e8; } +/* 成就进度 */ +.achievement-progress { + font-family: Genshin, serif; + position: absolute; + left: 0; + top: 0; + text-align: center; + width: 65px; + background: #8BA5C5; + border-bottom-right-radius: 20px; + border-bottom: #fff 2px solid; + border-right: #fff 2px solid; + color: #485466; + font-size: 10px; +} + /* 成就完成时间 */ .right-time { margin-right: 10px; @@ -464,8 +482,9 @@ async function exportJson () { position: relative; width: 40px; height: 40px; - border-radius: 10px; - background: url("/icon/bg/5-Star.webp"); + border-radius: 5px; + background-image: url("/icon/bg/5-Star.webp"); + background-size: cover; } .reward-num {