From 1efd1b779c0b83c575452995ca4848489691e990 Mon Sep 17 00:00:00 2001 From: zhx Date: Fri, 26 Jun 2026 18:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- achievement/index.html | 257 +++++++++++++++++++++++++++++++++-------- common/locales/en.json | 2 +- 2 files changed, 211 insertions(+), 48 deletions(-) diff --git a/achievement/index.html b/achievement/index.html index ec805fe..b483442 100644 --- a/achievement/index.html +++ b/achievement/index.html @@ -116,6 +116,7 @@ position: absolute; left: 36px; top: 36px; + z-index: 1; width: 90px; height: 90px; border-radius: 50%; @@ -124,8 +125,17 @@ .profile-frame { position: absolute; inset: 0; + z-index: 2; width: 162px; height: 162px; + pointer-events: none; + } + .profile-frame img, + .profile-frame video, + .profile-frame canvas { + display: block; + width: 100%; + height: 100%; object-fit: contain; } .user-name { @@ -234,6 +244,13 @@ rgba(59, 36, 100, 0) 63% ); } + .badge-card.locked img { + filter: grayscale(1) brightness(0.58); + opacity: 0.72; + } + .badge-card.locked .badge-title { + color: #8f879a; + } .badge-card img { position: absolute; left: 12px; @@ -343,6 +360,10 @@ height: 203px; object-fit: contain; } + .modal-badge.locked { + filter: grayscale(1) brightness(0.56); + opacity: 0.72; + } .modal-title { position: absolute; left: 0; @@ -370,6 +391,12 @@ font-size: 12px; line-height: 12px; } + .modal-status.locked { + color: #8f879a; + } + .modal-status.unlocked { + color: #d3d3d3; + } .modal-status img { width: 16px; height: 16px; @@ -385,7 +412,7 @@ color: #fff; font-size: 12px; line-height: 16px; - text-align: justify; + text-align: center; } .collection-panel { position: absolute; @@ -483,11 +510,13 @@ src="assets/figma/profile-avatar.png" alt="" /> - + aria-hidden="true" + > + +
Name
@@ -563,6 +592,7 @@ +