fix: rank

This commit is contained in:
zzc
2026-02-25 21:49:36 +08:00
parent 20978b05c6
commit fabc7547ed

View File

@@ -15,6 +15,7 @@
/> />
<view class="user-texts"> <view class="user-texts">
<text class="greeting-info">{{ greetingText }}</text> <text class="greeting-info">{{ greetingText }}</text>
<view class="name-row">
<text class="user-name" @tap="handleLogin"> <text class="user-name" @tap="handleLogin">
{{ userInfo.nickName || "点击登录" }} {{ userInfo.nickName || "点击登录" }}
</text> </text>
@@ -25,6 +26,7 @@
</view> </view>
</view> </view>
</view> </view>
</view>
<!-- 主卡片 (Lucky Status) --> <!-- 主卡片 (Lucky Status) -->
<view class="main-card"> <view class="main-card">
@@ -596,34 +598,40 @@ onShareTimeline(() => {
margin-bottom: 2rpx; margin-bottom: 2rpx;
} }
.name-row {
display: flex;
align-items: center;
.user-name { .user-name {
font-size: 26rpx; font-size: 26rpx;
font-weight: bold; font-weight: bold;
color: #333; color: #333;
margin-right: 12rpx;
} }
.user-points { .user-points {
display: flex; display: flex;
align-items: center; align-items: center;
background: rgba(255, 255, 255, 0.2); background: rgba(255, 152, 0, 0.1);
border: 1rpx solid rgba(255, 255, 255, 0.4); border: 1rpx solid rgba(255, 152, 0, 0.3);
border-radius: 20rpx; border-radius: 20rpx;
padding: 2rpx 12rpx; padding: 2rpx 10rpx;
margin-top: 4rpx;
.points-label { .points-label {
font-size: 18rpx; font-size: 16rpx;
color: #666; color: #ff9800;
margin-right: 4rpx; margin-right: 4rpx;
} }
.points-value { .points-value {
font-size: 22rpx; font-size: 20rpx;
color: #d81e06; color: #ff5722;
font-weight: bold; font-weight: bold;
} }
} }
} }
} }
}
} }
/* 主卡片 (Lucky Status) */ /* 主卡片 (Lucky Status) */