feat: 收敛玩法运行时配置并加入故障恢复

This commit is contained in:
2026-04-01 13:04:26 +08:00
parent 1635a11780
commit 3ef841ecc7
73 changed files with 8820 additions and 2122 deletions

View File

@@ -849,6 +849,12 @@
text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.2);
}
.race-panel__timer--countdown {
color: #ffe082;
text-shadow: 0 0 14rpx rgba(255, 176, 32, 0.42);
animation: race-panel-timer-countdown 1.15s ease-in-out infinite;
}
.race-panel__timer--fx-tick {
animation: race-panel-timer-tick 0.32s cubic-bezier(0.24, 0.86, 0.3, 1) 1;
}
@@ -973,6 +979,12 @@
100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes race-panel-timer-countdown {
0% { opacity: 0.88; transform: scale(1); }
50% { opacity: 1; transform: scale(1.03); }
100% { opacity: 0.88; transform: scale(1); }
}
@keyframes race-panel-mileage-update {
0% { transform: translateX(-16rpx) scale(1); opacity: 0.94; }
40% { transform: translateX(-16rpx) scale(1.05); opacity: 1; }
@@ -1612,6 +1624,7 @@
border-radius: 999rpx;
background: rgba(233, 242, 228, 0.92);
box-shadow: inset 0 0 0 1rpx rgba(22, 48, 32, 0.08);
pointer-events: none;
}
.debug-section__lock--active {
@@ -1942,6 +1955,10 @@
pointer-events: auto;
}
.game-punch-hint--fx-enter {
animation: game-punch-hint-enter 0.42s cubic-bezier(0.22, 0.88, 0.28, 1) 1;
}
.game-punch-hint__text {
flex: 1;
min-width: 0;
@@ -1961,6 +1978,26 @@
background: rgba(255, 255, 255, 0.08);
}
@keyframes game-punch-hint-enter {
0% {
opacity: 0;
transform: translateX(-50%) translateY(-16rpx) scale(0.96);
box-shadow: 0 0 0 0 rgba(120, 255, 210, 0);
}
58% {
opacity: 1;
transform: translateX(-50%) translateY(0) scale(1.02);
box-shadow: 0 0 0 12rpx rgba(120, 255, 210, 0.12);
}
100% {
opacity: 1;
transform: translateX(-50%) translateY(0) scale(1);
box-shadow: 0 0 0 0 rgba(120, 255, 210, 0);
}
}
.game-punch-feedback {
position: absolute;
left: 50%;
@@ -2002,6 +2039,13 @@
animation: feedback-toast-warning 0.56s ease-out;
}
.game-content-card-layer {
position: absolute;
inset: 0;
z-index: 34;
pointer-events: auto;
}
.game-content-card {
position: absolute;
left: 50%;
@@ -2014,7 +2058,7 @@
background: rgba(248, 251, 244, 0.96);
box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
box-sizing: border-box;
z-index: 33;
z-index: 35;
pointer-events: auto;
}
@@ -2233,6 +2277,24 @@
color: rgba(236, 241, 246, 0.86);
}
.race-panel__action-stack {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10rpx;
max-width: 100%;
}
.race-panel__action-summary {
max-width: 220rpx;
font-size: 18rpx;
line-height: 1.2;
color: rgba(233, 241, 248, 0.68);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.race-panel__action-button--active .race-panel__action-button-text {
color: #775000;
}