update:优化赛季切换

This commit is contained in:
2026-05-15 09:58:25 +08:00
parent 24314e5ec8
commit 7d503c09e0

View File

@@ -323,6 +323,7 @@ onShow(async () => {
> >
<text>{{ seasonName }}</text> <text>{{ seasonName }}</text>
<image <image
class="triangle-icon"
v-show="seasonData.length > 1" v-show="seasonData.length > 1"
src="../static/rank/triangle.png" src="../static/rank/triangle.png"
mode="widthFix" mode="widthFix"
@@ -592,6 +593,7 @@ onShow(async () => {
.ranking-season > image { .ranking-season > image {
width: 12px; width: 12px;
height: 12px; height: 12px;
transform: rotateX(180deg);
} }
.ranking-season > text { .ranking-season > text {
@@ -807,18 +809,18 @@ onShow(async () => {
} }
.season-list { .season-list {
background-color: #000c; background-color: rgba(0, 0, 0, 0.8);
border-radius: 15px; border-radius: 15px;
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
padding: 5px 0; padding: 12px 0;
position: absolute; position: absolute;
width: 220rpx; width: 220rpx;
height: auto; height: auto;
max-height: 400rpx; max-height: 400rpx;
overflow: hidden; overflow: hidden;
overflow-y: auto; overflow-y: auto;
top: -44rpx; top: -42rpx;
right: -30rpx; right: -30rpx;
letter-spacing: 2px; letter-spacing: 2px;
z-index: 10; z-index: 10;
@@ -829,7 +831,7 @@ onShow(async () => {
display: flex; display: flex;
align-items: center; align-items: center;
word-break: keep-all; word-break: keep-all;
padding: 20rpx 0; padding: 20rpx 10rpx;
} }
.season-list > view > text { .season-list > view > text {