From bd17df8397cfefe73e4c8feca297bffabfe46cd5 Mon Sep 17 00:00:00 2001 From: H1d3rOne Date: Sun, 8 Mar 2026 04:39:54 +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=E6=98=BE=E7=A4=BA=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 用户名和会员标签在同一行水平居中显示 - 会员标签紧跟用户名右侧 - 头像、用户名+会员标签、金币都居中对齐 --- xuan-deduct-uniapp/src/pages/mine/mine.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/xuan-deduct-uniapp/src/pages/mine/mine.vue b/xuan-deduct-uniapp/src/pages/mine/mine.vue index 4372cbe..c8ffd6e 100644 --- a/xuan-deduct-uniapp/src/pages/mine/mine.vue +++ b/xuan-deduct-uniapp/src/pages/mine/mine.vue @@ -163,24 +163,21 @@ page { } .user-name-row { - display: flex; - align-items: flex-start; + display: inline-flex; + align-items: center; justify-content: center; - margin-bottom: 8rpx; } .username { font-size: 36rpx; font-weight: 700; color: #ffffff; - line-height: 1.2; } .vip-tag { margin-left: 8rpx; - padding: 1rpx 8rpx; + padding: 2rpx 10rpx; border-radius: 12rpx; - line-height: 1.2; } .vip-tag.normal { @@ -204,7 +201,7 @@ page { } .vip-tag-text { - font-size: 16rpx; + font-size: 18rpx; font-weight: 500; color: #ffffff; }