style(排行榜页): 样式调整

This commit is contained in:
hzj 2025-10-27 15:53:53 +08:00
parent fc0285dc02
commit d1a736197c
2 changed files with 27 additions and 3 deletions

View File

@ -156,10 +156,34 @@ const defaultAvatarUrl = (e) => {
}
.top1Text {
font-size: 1em;
font-size: 0.9em;
}
.text {
font-size: 0.9em;
font-size: 0.8em;
}
@media screen and (max-width: 360px) {
* {
font-size: 10px;
}
}
@media screen and (min-width: 360px) {
* {
font-size: 14px;
}
}
@media screen and (min-width: 768px) {
* {
font-size: 24px;
}
}
@media screen and (min-width: 1024px) {
* {
font-size: 32px;
}
}
</style>

View File

@ -171,7 +171,7 @@
aspect-ratio: 1/1;
margin: 0 4px;
"
:style="{ borderRadius: rankingType === 'Room' ? '0' : '50%' }"
:style="{ borderRadius: rankingType === 'Room' ? '10%' : '50%' }"
@error="defaultAvatarUrl"
/>
<div