style: 优化会员标签位置和大小

- 用户名水平居中
- 会员标签与用户名顶端对齐(移除top偏移)
- 会员标签更小:字体16rpx,padding 1rpx 8rpx
This commit is contained in:
H1d3rOne committed 2026-03-08 04:03:33 +08:00
1 parent b9714bb0ba
commit c06c63f1cf
1 file changed
+4 -8
+4 -8
View File
@@ -167,7 +167,6 @@ page {
align-items: flex-start;
justify-content: center;
margin-bottom: 8rpx;
position: relative;
}
.username {
@@ -177,12 +176,9 @@ page {
}
.vip-tag {
position: relative;
top: -8rpx;
margin-left: 8rpx;
padding: 2rpx 12rpx;
border-radius: 16rpx;
font-size: 18rpx;
margin-left: 6rpx;
padding: 1rpx 8rpx;
border-radius: 12rpx;
}
.vip-tag.normal {
@@ -206,7 +202,7 @@ page {
}
.vip-tag-text {
font-size: 18rpx;
font-size: 16rpx;
font-weight: 500;
color: #ffffff;
}