7 Commits

Author SHA1 Message Date
Zhukj
0fdf92e924 chore:战区排名禁用滚轮 2025-11-29 09:10:58 +08:00
Zhukj
70ecd4fc67 Merge branch '111' into server
# Conflicts:
#	src/views/BattleRanking.vue
2025-11-28 15:50:59 +08:00
Zhukj
6fade7fe0c feat: 添加奖品触摸支持并优化移动端布局 2025-11-28 11:27:16 +08:00
Zhukj
6e1b1d5317 feat:添加奖品模块触摸拖动功能 2025-11-27 18:24:32 +08:00
Zhukj
dbe9c877e0 chore:修改英雄榜排名模块大小,虎狼之师和英雄榜字体大小,战绩图片和总战绩字体大小 2025-11-26 18:26:52 +08:00
Zhukj
76f0153569 refactor:删除css空规则 2025-11-25 16:46:39 +08:00
Zhukj
027e66c37e refactor:修改战区与英雄模块对齐 2025-11-25 16:35:28 +08:00
2 changed files with 7 additions and 36 deletions

View File

@@ -25,7 +25,7 @@
<!-- 页脚 -->
<footer class="game-footer">
<div class="footer-content">
<p>&copy; 2025-2026 聚上集团 | 云上企 版权所有.</p>
<p>&copy; 2025-2026 聚上集团 | 云上企. 所有权利保留.</p>
</div>
</footer>
</div>

View File

@@ -49,7 +49,7 @@
<div class="game-subtitle total-score-total-title">
<img src="/completed_performance.png"
alt="总战绩"
style="width: 880px; display: block; margin: 0 auto; height: auto;"
style="width: 600px; display: block; margin: 0 auto; height: auto;"
class="total-score-total-image">
</div>
<div class="total-score-content">
@@ -1409,7 +1409,7 @@ onUnmounted(() => {
@media (max-width: 768px) {
.total-score-total-image {
width: 340px !important; /* 调整总战绩图片大小,覆盖内联样式 */
width: 280px !important; /* 调整总战绩图片大小,覆盖内联样式 */
}
/* 移动端总战绩金额字体调小 */
@@ -1922,29 +1922,7 @@ onUnmounted(() => {
overflow-y: auto;
position: relative;
margin-top: 0.8rem;
max-height: 420px;
// 只对左侧战区的.rank-table生效通过父容器限定
.team-rankings-container & {
-ms-overflow-style: none; /* IE/Edge 隐藏 */
scrollbar-width: none; /* Firefox 隐藏 */
}
// Chrome/Safari 隐藏左侧滚动条(伪元素必须单独写)
.team-rankings-container &::-webkit-scrollbar {
display: none !important;
width: 0 !important;
}
// ========== 新增:右侧英雄排名滚动条保留原样 ==========
.individual-rankings-container & {
-ms-overflow-style: auto; /* 恢复IE/Edge默认 */
scrollbar-width: auto; /* 恢复Firefox默认 */
}
// Chrome/Safari 恢复右侧滚动条
.individual-rankings-container &::-webkit-scrollbar {
display: block !important;
width: 6px !important; // 恢复默认滚动条宽度
}
max-height: 427px;
}
.table-header {
@@ -2089,6 +2067,7 @@ onUnmounted(() => {
gap: 15px;
}
/* 移除空的total-score-content规则集以避免SCSS警告 */
.total-score-item {
@@ -2100,7 +2079,7 @@ onUnmounted(() => {
}
.score-value {
font-size: calc(var(--individual-champion-font-size, 6rem) * 2);
font-size: calc(var(--individual-champion-font-size, 5rem) * 2);
font-weight: bold;
color: #fff2c4;
text-shadow: 0 0 10px rgba(0, 0, 0, .8), 0 0 20px rgb(16 16 16 / 30%), 1px 1px 2px rgba(0, 0, 0, .8);
@@ -2122,7 +2101,7 @@ onUnmounted(() => {
/* 照片容器样式 */
.team-logo.photo-container {
overflow: hidden;
margin-top: -97px;
margin-top: -96px;
}
.individual-champion {
@@ -2628,12 +2607,4 @@ onUnmounted(() => {
transition: transform 0.2s ease;
}
}
.team-rankings-container .rank-table {
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
.team-rankings-container .rank-table::-webkit-scrollbar {
display: none !important;
width: 0 !important;
}
</style>