From d3837065547b88c9f7cccd9d009adb99334d96ad Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 10 May 2026 23:58:23 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E7=94=A8=E6=88=B7=E8=B5=84=E6=96=99):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=B4=E5=83=8F=E5=92=8C=E6=98=B5=E7=A7=B0?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在头像和昵称旁边添加编辑按钮,提升用户操作便捷性 - 移除原有的更新资料按钮,优化界面布局 - 调整角色信息显示位置至用户名旁边 --- .../src/views/certd/mine/user-profile.vue | 31 ++++++++++++++++--- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/packages/ui/certd-client/src/views/certd/mine/user-profile.vue b/packages/ui/certd-client/src/views/certd/mine/user-profile.vue index ac115d997..f20c98b09 100644 --- a/packages/ui/certd-client/src/views/certd/mine/user-profile.vue +++ b/packages/ui/certd-client/src/views/certd/mine/user-profile.vue @@ -13,17 +13,23 @@ {{ userInfo.username }} + + +

- {{ userInfo.nickName }} - + {{ userInfo.nickName }} + + +

👤 {{ userInfo.username }} + 📧 @@ -42,9 +48,6 @@
- - {{ t("authentication.updateProfile") }} - @@ -595,6 +598,24 @@ onMounted(async () => { flex-shrink: 0; } + .avatar-edit-btn { + position: absolute; + right: 2px; + bottom: 2px; + display: inline-flex; + align-items: center; + justify-content: center; + width: 28px; + height: 28px; + min-width: 28px; + padding: 0; + color: #667eea; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 50%; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); + } + .user-avatar { border: 4px solid #ffffff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);