style: 调整排行榜卡片和家庭排名字体大小及样式
统一排行榜卡片和家庭排名组件的字体大小和样式 增加排名数字的宽度以适应不同排名样式
Showing
2 changed files
with
11 additions
and
11 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-01-09 00:00:00 | 2 | * @Date: 2025-01-09 00:00:00 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-19 11:14:55 | 4 | + * @LastEditTime: 2025-09-19 17:12:24 |
| 5 | * @FilePath: /lls_program/src/components/RankingCard.vue | 5 | * @FilePath: /lls_program/src/components/RankingCard.vue |
| 6 | * @Description: 排行榜卡片组件 | 6 | * @Description: 排行榜卡片组件 |
| 7 | --> | 7 | --> |
| ... | @@ -588,7 +588,7 @@ defineExpose({ | ... | @@ -588,7 +588,7 @@ defineExpose({ |
| 588 | 588 | ||
| 589 | .family-name { | 589 | .family-name { |
| 590 | color: white; | 590 | color: white; |
| 591 | - font-size: 20rpx; | 591 | + font-size: 25rpx; |
| 592 | font-weight: 600; | 592 | font-weight: 600; |
| 593 | margin-bottom: 6rpx; | 593 | margin-bottom: 6rpx; |
| 594 | text-align: center; | 594 | text-align: center; |
| ... | @@ -600,12 +600,12 @@ defineExpose({ | ... | @@ -600,12 +600,12 @@ defineExpose({ |
| 600 | -webkit-box-orient: vertical; | 600 | -webkit-box-orient: vertical; |
| 601 | white-space: normal; | 601 | white-space: normal; |
| 602 | line-height: 1.2; | 602 | line-height: 1.2; |
| 603 | - max-height: 48rpx; | 603 | + max-height: 52rpx; |
| 604 | } | 604 | } |
| 605 | 605 | ||
| 606 | .leader-name { | 606 | .leader-name { |
| 607 | color: rgba(255, 255, 255, 0.8); | 607 | color: rgba(255, 255, 255, 0.8); |
| 608 | - font-size: 16rpx; | 608 | + font-size: 20rpx; |
| 609 | margin-bottom: 12rpx; | 609 | margin-bottom: 12rpx; |
| 610 | text-align: center; | 610 | text-align: center; |
| 611 | max-width: 120rpx; | 611 | max-width: 120rpx; |
| ... | @@ -616,7 +616,7 @@ defineExpose({ | ... | @@ -616,7 +616,7 @@ defineExpose({ |
| 616 | -webkit-box-orient: vertical; | 616 | -webkit-box-orient: vertical; |
| 617 | white-space: normal; | 617 | white-space: normal; |
| 618 | line-height: 1.2; | 618 | line-height: 1.2; |
| 619 | - max-height: 38rpx; | 619 | + max-height: 45rpx; |
| 620 | } | 620 | } |
| 621 | 621 | ||
| 622 | .rank-number { | 622 | .rank-number { |
| ... | @@ -639,7 +639,7 @@ defineExpose({ | ... | @@ -639,7 +639,7 @@ defineExpose({ |
| 639 | } | 639 | } |
| 640 | 640 | ||
| 641 | .steps-in-rank { | 641 | .steps-in-rank { |
| 642 | - font-size: 22rpx; | 642 | + font-size: 32rpx; |
| 643 | font-weight: 600; | 643 | font-weight: 600; |
| 644 | color: white; | 644 | color: white; |
| 645 | text-align: center; | 645 | text-align: center; |
| ... | @@ -658,7 +658,7 @@ defineExpose({ | ... | @@ -658,7 +658,7 @@ defineExpose({ |
| 658 | } | 658 | } |
| 659 | 659 | ||
| 660 | .rank-number { | 660 | .rank-number { |
| 661 | - width: 150rpx; | 661 | + width: 180rpx; |
| 662 | height: 110rpx; | 662 | height: 110rpx; |
| 663 | background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%); | 663 | background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%); |
| 664 | } | 664 | } |
| ... | @@ -676,7 +676,7 @@ defineExpose({ | ... | @@ -676,7 +676,7 @@ defineExpose({ |
| 676 | } | 676 | } |
| 677 | 677 | ||
| 678 | .rank-number { | 678 | .rank-number { |
| 679 | - width: 150rpx; | 679 | + width: 180rpx; |
| 680 | height: 140rpx; | 680 | height: 140rpx; |
| 681 | background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); | 681 | background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); |
| 682 | } | 682 | } |
| ... | @@ -693,7 +693,7 @@ defineExpose({ | ... | @@ -693,7 +693,7 @@ defineExpose({ |
| 693 | } | 693 | } |
| 694 | 694 | ||
| 695 | .rank-number { | 695 | .rank-number { |
| 696 | - width: 150rpx; | 696 | + width: 180rpx; |
| 697 | height: 100rpx; | 697 | height: 100rpx; |
| 698 | background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%); | 698 | background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%); |
| 699 | } | 699 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-09-01 13:07:52 | 2 | * @Date: 2025-09-01 13:07:52 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-19 11:04:33 | 4 | + * @LastEditTime: 2025-09-19 17:11:29 |
| 5 | * @FilePath: /lls_program/src/pages/FamilyRank/index.vue | 5 | * @FilePath: /lls_program/src/pages/FamilyRank/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -618,7 +618,7 @@ onMounted(async () => { | ... | @@ -618,7 +618,7 @@ onMounted(async () => { |
| 618 | 618 | ||
| 619 | .family-name { | 619 | .family-name { |
| 620 | color: white; | 620 | color: white; |
| 621 | - font-size: 24rpx; | 621 | + font-size: 25rpx; |
| 622 | font-weight: 600; | 622 | font-weight: 600; |
| 623 | margin-bottom: 8rpx; | 623 | margin-bottom: 8rpx; |
| 624 | text-align: center; | 624 | text-align: center; | ... | ... |
-
Please register or login to post a comment