diff --git a/src/views/BattleRanking.vue b/src/views/BattleRanking.vue index 6727004..9b5b009 100644 --- a/src/views/BattleRanking.vue +++ b/src/views/BattleRanking.vue @@ -969,7 +969,8 @@ onUnmounted(() => { } } .avatar-image-champion { - object-fit: contain; + object-fit: cover; + border-radius: 50%; } /* 冠军模块样式 */ @@ -1058,15 +1059,17 @@ onUnmounted(() => { } .champion-logo { - object-fit: contain; + object-fit: cover; max-width: 120px; + border-radius: 50%; } .avatar-image { width: 30px; height: 30px; - object-fit: contain; + object-fit: cover; vertical-align: middle; + border-radius: 50%; } .champion-title { @@ -1981,8 +1984,18 @@ onUnmounted(() => { .rank-table { min-height: 250px; /* 移除最大高度限制,允许显示所有行 */ - overflow-x: auto; - /* 允许横向滚动 */ + overflow-x: hidden; + /* 禁止横向滚动 */ + overflow-y: auto; + /* 允许纵向滚动 */ + } + + /* 移动端英雄排名列表滚动设置 */ + .individual-rankings-container .rank-table { + overflow-x: hidden !important; + /* 禁止横向滚动 */ + overflow-y: auto !important; + /* 允许纵向滚动 */ } .table-header {