From 44a39d96d94cf82bc203be03e6f15b8c33e2bb04 Mon Sep 17 00:00:00 2001 From: Dragon <13925835632@139.com> Date: Mon, 19 Feb 2024 18:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=88=E6=8A=A4=E6=98=9F=E7=90=83=E5=86=8D?= =?UTF-8?q?=E6=AC=A1=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/act-guard-planet/js/index.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/view/peko/activity/act-guard-planet/js/index.js b/view/peko/activity/act-guard-planet/js/index.js index 93de7e0..909966d 100644 --- a/view/peko/activity/act-guard-planet/js/index.js +++ b/view/peko/activity/act-guard-planet/js/index.js @@ -297,7 +297,7 @@ const showView = (data, monsterImg, drawId) => { console.log('isStatus3的值------------', isStatus3); // 判断处于怪兽进攻动画阶段还是结果弹窗展示阶段 - if (userComeinTime - showResultStageStartTime > STAGE3_TIME * 10000) { + if (userComeinTime - showResultStageStartTime > STAGE3_TIME * 1000) { console.log('结果弹窗展示阶段'); // 准备中 不可召唤 @@ -415,7 +415,7 @@ const showCountDown = (timestamp, startTime, endTime) => { // hideLoading(layerIndex) setTimeout(() => { getNewestAct() - }, delayTime * 10000) + }, delayTime * 1000) isStatus2 = false } else { showLoading() @@ -427,19 +427,19 @@ const showCountDown = (timestamp, startTime, endTime) => { setTimeout(() => { getNewestAct() // getListItem(roundId) - }, delayTime * 10000) + }, delayTime * 1000) // getNewestAct() // getListItem() isStatus3 = false } else { setTimeout(() => { getNewestAct() - }, delayTime * 10000) + }, delayTime * 1000) } } else { $countDown.html(countDownTime + 'S') } - }, interval * 10000) + }, interval * 1000) } //判断status的状态 @@ -542,13 +542,13 @@ const monsterAnimation = () => { if (isStatus3) { $('.monster-position').attr('src', img) $('.monster-position').show() - $('.monster-position').animate({ top: '0.64rem' }, 75.6 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { - $('.monster-position').animate({ left: '8.16rem' }, 139.1 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { - $('.monster-position').animate({ top: `${90 / 75 * 2}rem` }, 31.4 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { - $('.monster-position').animate({ left: `${98 / 75 * 2}rem` }, 103.8 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { - $('.monster-position').animate({ top: '4rem' }, 29.9 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { - $('.monster-position').animate({ left: `${8.16}rem` }, 103.8 / 500.3 * STAGE3_TIME * 10000, 'linear', () => { - $('.monster-position').animate({ top: '4.8rem' }, 16.7 / 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 * 1000, '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 * 1000, '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 * 1000, 'linear', () => { + $('.monster-position').animate({ top: '4.8rem' }, 16.7 / 500.3 * STAGE3_TIME * 1000, 'linear', () => { $('.monster-position').hide() $('.monster-position').css({ top: '4.8rem', left: `${28 * 2 / 75}rem` })