From ed464e83d6ff123663a65c9043bf7ff5b36383ed Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Tue, 2 Jun 2026 12:34:34 +0800 Subject: [PATCH] 1 --- package1/planet/adventure.vue | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/package1/planet/adventure.vue b/package1/planet/adventure.vue index b5fa136..6bac33f 100644 --- a/package1/planet/adventure.vue +++ b/package1/planet/adventure.vue @@ -43,6 +43,14 @@ 今日关卡 {{cleared ? '已通关' : '约2分钟'}} + + 开始助推 + 先点这里,再开始消除卡牌 + + + 今日已助推 + 明天再来为学院继续推进 + 规则:点选未被压住的卡牌,底部槽内3张相同自动消除,槽满则失败。 @@ -73,7 +81,7 @@ 重开本关 - {{cleared ? '今日已助推' : (session ? '继续助推' : '开始助推')}} + {{cleared ? '今日已助推' : (playing ? '助推中' : '开始助推')}} @@ -277,7 +285,7 @@ id: 'c' + idx, icon: '', layer, - x: 34 + col * 96 + (layer * 24) + ((row % 2) * 18) + dx, + x: 18 + col * 82 + (layer * 18) + ((row % 2) * 10) + dx, y: 24 + row * 78 + (layer * 44) + dy, style: '', removed: false, @@ -345,9 +353,13 @@ }) }, isOverlap(a, b) { - return Math.abs(a.x - b.x) < 78 && Math.abs(a.y - b.y) < 70 + return Math.abs(a.x - b.x) < 70 && Math.abs(a.y - b.y) < 70 }, pickCard(card) { + if (this.cleared) { + this.tui.toast('今日已助推,明天再来') + return + } if (!this.playing) { this.tui.toast('先点击开始助推') return @@ -480,7 +492,7 @@ id: 'f' + idx, icon: '', layer, - x: 18 + col * 76 + (layer * 8), + x: 10 + col * 68 + (layer * 6), y: 28 + row * 94 + (layer * 34), style: '', removed: false, @@ -520,6 +532,10 @@ .rocket-progress { height: 100%; border-radius: 999rpx; background: linear-gradient(90deg, #35D6A6, #4FB7FF, #FFB84D); } .section-head { display: flex; justify-content: space-between; align-items: center; font-size: 24rpx; color: #6B817D; } .section-head text:first-child { color: #12342F; font-size: 31rpx; font-weight: 900; } + .start-strip { margin-top: 20rpx; padding: 20rpx 24rpx; border-radius: 28rpx; background: linear-gradient(135deg, #35D6A6, #4FB7FF); color: #fff; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 14rpx 34rpx rgba(53,214,166,0.2); } + .start-strip text:first-child { font-size: 30rpx; font-weight: 900; } + .start-strip text:last-child { font-size: 22rpx; opacity: .88; } + .start-strip.done { background: rgba(255,255,255,0.8); color: #6B817D; box-shadow: none; } .college-row { margin-top: 18rpx; display: flex; align-items: center; gap: 16rpx; } .medal { width: 48rpx; height: 48rpx; line-height: 48rpx; border-radius: 50%; text-align: center; background: #FFF1C7; color: #B87932; font-weight: 900; } .college-main { flex: 1; min-width: 0; }