From 9302b30128b845ddf85842e19b8958b8507bce0f Mon Sep 17 00:00:00 2001 From: Default User Date: Tue, 27 Jan 2026 15:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=B8=83=E5=B1=80=EF=BC=8C=E7=AC=AC=E4=B8=80=E6=8E=92?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=94=A8=E6=88=B7=E5=92=8C=E8=81=8C=E4=BD=8D?= =?UTF-8?q?=EF=BC=8C=E7=AC=AC=E4=BA=8C=E6=8E=92=E6=98=BE=E7=A4=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/supply.html b/supply.html index 58ba09f..d041865 100644 --- a/supply.html +++ b/supply.html @@ -80,12 +80,15 @@ font-size: 12px; color: #666; text-align: left; - padding: 8px 12px; + padding: 10px 12px; background-color: #f5f9ff; border-radius: 8px; border: 1px solid #e6f7ff; - line-height: 1; + line-height: 1.3; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); + } + + #currentUserInfo div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -95,8 +98,7 @@ @media (max-width: 768px) { #currentUserInfo { font-size: 10px; - padding: 6px 10px; - white-space: normal; + padding: 8px 10px; line-height: 1.2; } } @@ -2327,7 +2329,10 @@ const currentUserInfoEl = document.getElementById('currentUserInfo'); if (currentUserInfoEl) { const userId = parsedUserInfo.userId || parsedUserInfo.id || '未获取到'; - currentUserInfoEl.innerHTML = `当前登录用户:${parsedUserInfo.name} | 用户ID:${userId} | 职位:${parsedUserInfo.projectName}`; + currentUserInfoEl.innerHTML = ` +
当前登录用户:${parsedUserInfo.name} | 职位:${parsedUserInfo.projectName}
+
用户ID:${userId}
+ `; } // 返回解析后的用户信息