细节优化

This commit is contained in:
kron
2026-01-05 18:03:47 +08:00
parent 3364aac93d
commit f7c24680cb
4 changed files with 109 additions and 12 deletions

View File

@@ -64,7 +64,7 @@ const onClick = async () => {
<text>{{ data.weekArrow }}</text>
<text></text>
</view>
<view class="item-info" :style="{ justifyContent: 'flex-end' }">
<view class="item-info">
<text>{{ Math.round(data.weekArrow * 1.6) }}</text>
<text>千卡</text>
</view>
@@ -112,7 +112,7 @@ const onClick = async () => {
margin-left: 20rpx;
}
.rank-item > view:nth-child(2) > view:last-child > text:first-child {
font-size: 26rpx;
font-size: 30rpx;
color: #333333;
margin-bottom: 5rpx;
}
@@ -129,13 +129,13 @@ const onClick = async () => {
.item-info {
display: flex;
align-items: center;
justify-content: center;
font-size: 22rpx;
justify-content: flex-end;
font-size: 20rpx;
color: #777777;
width: 18%;
width: 20%;
}
.item-info > text:first-child {
font-size: 26rpx;
font-size: 28rpx;
color: #333333;
margin-right: 5rpx;
}