Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-19 17:13:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
299eb849620cb709f90ef004aca4d1a6f6406822
299eb849
1 parent
3641b128
style: 调整排行榜卡片和家庭排名字体大小及样式
统一排行榜卡片和家庭排名组件的字体大小和样式 增加排名数字的宽度以适应不同排名样式
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
src/components/RankingCard.vue
src/pages/FamilyRank/index.vue
src/components/RankingCard.vue
View file @
299eb84
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-19 1
1:14:55
* @LastEditTime: 2025-09-19 1
7:12:24
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
...
...
@@ -588,7 +588,7 @@ defineExpose({
.family-name {
color: white;
font-size: 2
0
rpx;
font-size: 2
5
rpx;
font-weight: 600;
margin-bottom: 6rpx;
text-align: center;
...
...
@@ -600,12 +600,12 @@ defineExpose({
-webkit-box-orient: vertical;
white-space: normal;
line-height: 1.2;
max-height:
48
rpx;
max-height:
52
rpx;
}
.leader-name {
color: rgba(255, 255, 255, 0.8);
font-size:
16
rpx;
font-size:
20
rpx;
margin-bottom: 12rpx;
text-align: center;
max-width: 120rpx;
...
...
@@ -616,7 +616,7 @@ defineExpose({
-webkit-box-orient: vertical;
white-space: normal;
line-height: 1.2;
max-height:
38
rpx;
max-height:
45
rpx;
}
.rank-number {
...
...
@@ -639,7 +639,7 @@ defineExpose({
}
.steps-in-rank {
font-size:
2
2rpx;
font-size:
3
2rpx;
font-weight: 600;
color: white;
text-align: center;
...
...
@@ -658,7 +658,7 @@ defineExpose({
}
.rank-number {
width: 1
5
0rpx;
width: 1
8
0rpx;
height: 110rpx;
background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
}
...
...
@@ -676,7 +676,7 @@ defineExpose({
}
.rank-number {
width: 1
5
0rpx;
width: 1
8
0rpx;
height: 140rpx;
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}
...
...
@@ -693,7 +693,7 @@ defineExpose({
}
.rank-number {
width: 1
5
0rpx;
width: 1
8
0rpx;
height: 100rpx;
background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}
...
...
src/pages/FamilyRank/index.vue
View file @
299eb84
<!--
* @Date: 2025-09-01 13:07:52
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-19 1
1:04:33
* @LastEditTime: 2025-09-19 1
7:11:29
* @FilePath: /lls_program/src/pages/FamilyRank/index.vue
* @Description: 文件描述
-->
...
...
@@ -618,7 +618,7 @@ onMounted(async () => {
.family-name {
color: white;
font-size: 2
4
rpx;
font-size: 2
5
rpx;
font-weight: 600;
margin-bottom: 8rpx;
text-align: center;
...
...
Please
register
or
login
to post a comment