diff --git a/src/pages/aoshi/index/index.vue b/src/pages/aoshi/index/index.vue index 9782e26..765431d 100644 --- a/src/pages/aoshi/index/index.vue +++ b/src/pages/aoshi/index/index.vue @@ -3,8 +3,8 @@ 公告:开奖结果同步傲拾 - 投注记录 - 开奖记录 + 投注记录 + 开奖记录 @@ -48,7 +48,10 @@ - {{ Number(kjData.nowPeriods) + 1 || 0 }}期开奖还剩: {{ timeStr || '0分0秒' }} + 正在开奖中,已停止投注!!! + + {{ Number(kjData.nowPeriods) + 1 || 0 }}期开奖还剩: {{ timeStr || '0分0秒' }} + @@ -130,6 +133,8 @@ const get_list = async () => { const timeStr = ref('') +const isKj = ref(false) + const countdownFn = () => { const currentTimestamp = dayjs().valueOf() const timeLeft = kjData.value.drawTime * 1000 - currentTimestamp @@ -139,11 +144,13 @@ const countdownFn = () => { const s = Number(dayjs(timeLeft).format('ss')) if (m === 0 && s === 0) { - console.log('结束') clearInterval(timeId.value) + // setTimeout(() => { get_list() get_info() + // }, 5000) } + isKj.value = m === 0 && s < 40 ? true : false } const get_info = async () => {