From 3b99719a4ce231766ef8e7d58110467ea515b5f3 Mon Sep 17 00:00:00 2001 From: H1d3rOne Date: Sun, 8 Mar 2026 04:11:50 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=8C=BA=E5=9F=9F=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 头像、用户名、金币都水平居中显示 - 会员标签与用户名顶端对齐(使用inline-flex和相同line-height) - 移除position: relative和top偏移 --- xuan-deduct-uniapp/src/pages/mine/mine.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xuan-deduct-uniapp/src/pages/mine/mine.vue b/xuan-deduct-uniapp/src/pages/mine/mine.vue index a0bec0a..be714bf 100644 --- a/xuan-deduct-uniapp/src/pages/mine/mine.vue +++ b/xuan-deduct-uniapp/src/pages/mine/mine.vue @@ -163,7 +163,7 @@ page { } .user-name-row { - display: flex; + display: inline-flex; align-items: flex-start; justify-content: center; margin-bottom: 8rpx; @@ -173,12 +173,14 @@ page { font-size: 36rpx; font-weight: 700; color: #ffffff; + line-height: 1.2; } .vip-tag { margin-left: 6rpx; padding: 1rpx 8rpx; border-radius: 12rpx; + line-height: 1.2; } .vip-tag.normal {