diff --git a/pages-game/game/minesweeper/index.vue b/pages-game/game/minesweeper/index.vue index 2b07fdf..a61da12 100755 --- a/pages-game/game/minesweeper/index.vue +++ b/pages-game/game/minesweeper/index.vue @@ -51,16 +51,8 @@ {{ entering ? '正在进入...' : (ticketCount > 0 ? '立即开局' : '资格不足') }} - - 🍭 练习试玩 - - - 📡 对战列表 / 围观 @@ -108,7 +100,7 @@ export default { }, async enterGame(code) { const targetCode = code || this.gameCode - if (targetCode !== 'minesweeper_free' && this.ticketCount <= 0) return + if (this.ticketCount <= 0) return if (this.entering) return this.entering = true @@ -324,35 +316,6 @@ export default { } } -.btn-free { - margin-top: 24rpx; - height: 110rpx; - width: 100%; - border-radius: 55rpx; - background: rgba($brand-primary, 0.15); - border: 1px solid rgba($brand-primary, 0.3); - display: flex; - align-items: center; - justify-content: center; - transition: all 0.2s; - - &:active { - transform: scale(0.98); - background: rgba($brand-primary, 0.25); - } - - &.disabled { - opacity: 0.5; - pointer-events: none; - } -} - -.free-btn-text { - color: $brand-primary; - font-size: 32rpx; - font-weight: 700; -} - .btn-secondary { margin-top: 24rpx; background: rgba(255,255,255,0.05); diff --git a/pages-game/game/minesweeper/leaderboard.vue b/pages-game/game/minesweeper/leaderboard.vue index 1d8d5cb..0623c05 100644 --- a/pages-game/game/minesweeper/leaderboard.vue +++ b/pages-game/game/minesweeper/leaderboard.vue @@ -2,22 +2,10 @@ - - - - 付费模式 - - - 免费模式 - + + + 💡 + 对战分 = 游戏内排名积分,赢局 +1000 基础分,得分/伤害/宝箱均有加成,与平台充值积分无关 @@ -44,7 +32,7 @@ {{ myRank.total_rank_points || 0 }} - 积分 + 对战分 @@ -123,11 +111,6 @@ export default { this.fetchList(true) }, methods: { - switchTab(type) { - if (this.gameType === type) return - this.gameType = type - this.fetchList(true) - }, async fetchList(reset = false) { if (reset) { this.list = [] @@ -179,36 +162,27 @@ export default { overflow: hidden; } -/* Tab */ -.tab-bar { +/* 对战分说明 */ +.score-tip { position: relative; - z-index: 10; + z-index: 5; + margin: 0 32rpx 20rpx; + padding: 20rpx 24rpx; display: flex; - margin: 24rpx 32rpx 20rpx; - padding: 8rpx; - border-radius: $radius-round; + align-items: flex-start; + gap: 12rpx; } -.tab-item { - flex: 1; - height: 72rpx; - display: flex; - align-items: center; - justify-content: center; - border-radius: $radius-round; - transition: all $transition-normal $ease-out; - - &.active { - background: $gradient-brand; - box-shadow: $shadow-warm; - .tab-text { color: #fff; font-weight: 700; } - } +.score-tip-icon { + font-size: 28rpx; + flex-shrink: 0; + line-height: 1.6; } -.tab-text { - font-size: $font-md; +.score-tip-text { + font-size: 22rpx; color: $text-sub; - font-weight: 600; + line-height: 1.6; } /* 我的排名 */ @@ -296,6 +270,7 @@ export default { /* 列表 */ .list-wrap { flex: 1; + height: 0; padding: 0 32rpx; }