守护星球再次暂存

This commit is contained in:
Dragon
2024-02-19 18:29:42 +08:00
parent 8c5e933052
commit 44a39d96d9

View File

@@ -297,7 +297,7 @@ const showView = (data, monsterImg, drawId) => {
console.log('isStatus3的值------------', isStatus3); console.log('isStatus3的值------------', isStatus3);
// 判断处于怪兽进攻动画阶段还是结果弹窗展示阶段 // 判断处于怪兽进攻动画阶段还是结果弹窗展示阶段
if (userComeinTime - showResultStageStartTime > STAGE3_TIME * 10000) { if (userComeinTime - showResultStageStartTime > STAGE3_TIME * 1000) {
console.log('结果弹窗展示阶段'); console.log('结果弹窗展示阶段');
// 准备中 不可召唤 // 准备中 不可召唤
@@ -415,7 +415,7 @@ const showCountDown = (timestamp, startTime, endTime) => {
// hideLoading(layerIndex) // hideLoading(layerIndex)
setTimeout(() => { setTimeout(() => {
getNewestAct() getNewestAct()
}, delayTime * 10000) }, delayTime * 1000)
isStatus2 = false isStatus2 = false
} else { } else {
showLoading() showLoading()
@@ -427,19 +427,19 @@ const showCountDown = (timestamp, startTime, endTime) => {
setTimeout(() => { setTimeout(() => {
getNewestAct() getNewestAct()
// getListItem(roundId) // getListItem(roundId)
}, delayTime * 10000) }, delayTime * 1000)
// getNewestAct() // getNewestAct()
// getListItem() // getListItem()
isStatus3 = false isStatus3 = false
} else { } else {
setTimeout(() => { setTimeout(() => {
getNewestAct() getNewestAct()
}, delayTime * 10000) }, delayTime * 1000)
} }
} else { } else {
$countDown.html(countDownTime + 'S') $countDown.html(countDownTime + 'S')
} }
}, interval * 10000) }, interval * 1000)
} }
//判断status的状态 //判断status的状态
@@ -542,13 +542,13 @@ const monsterAnimation = () => {
if (isStatus3) { if (isStatus3) {
$('.monster-position').attr('src', img) $('.monster-position').attr('src', img)
$('.monster-position').show() $('.monster-position').show()
$('.monster-position').animate({ top: '0.64rem' }, 75.6 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ top: '0.64rem' }, 75.6 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').animate({ left: '8.16rem' }, 139.1 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ left: '8.16rem' }, 139.1 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').animate({ top: `${90 / 75 * 2}rem` }, 31.4 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ top: `${90 / 75 * 2}rem` }, 31.4 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').animate({ left: `${98 / 75 * 2}rem` }, 103.8 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ left: `${98 / 75 * 2}rem` }, 103.8 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').animate({ top: '4rem' }, 29.9 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ top: '4rem' }, 29.9 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').animate({ left: `${8.16}rem` }, 103.8 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ left: `${8.16}rem` }, 103.8 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').animate({ top: '4.8rem' }, 16.7 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { $('.monster-position').animate({ top: '4.8rem' }, 16.7 / 500.3 * STAGE3_TIME * 1000, 'linear', () => {
$('.monster-position').hide() $('.monster-position').hide()
$('.monster-position').css({ top: '4.8rem', left: `${28 * 2 / 75}rem` }) $('.monster-position').css({ top: '4.8rem', left: `${28 * 2 / 75}rem` })