fix(nav): header publish menu + userbox card polish

Unpaint multi-type 发布 wrapper, fix light-menu ink, avatar unread
dot clipping, check-in REST double namespace, and user-card VIP/check-in layout.
This commit is contained in:
2026-07-22 08:49:27 +08:00
parent df2874698c
commit 77164fee45
9 changed files with 126 additions and 38 deletions
+8 -1
View File
@@ -135,11 +135,18 @@
badge.style.display = nextUnread > 0 ? '' : 'none';
});
var headerBadge = document.querySelector('.user-dropdown__badge') || document.querySelector('.aksrt-notification-badge');
// Numeric badge inside the user dropdown only — never target the pure avatar
// .nav-user__dot.aksrt-notification-badge (no textContent on a dot indicator).
var headerBadge = document.querySelector('.user-dropdown__badge');
if (headerBadge) {
headerBadge.textContent = String(nextUnread);
headerBadge.style.display = nextUnread > 0 ? '' : 'none';
}
var avatarDot = document.querySelector('.nav-user__dot');
if (avatarDot) {
avatarDot.style.display = nextUnread > 0 ? '' : 'none';
}
}
function checkEmpty() {