From dfa6833391ba5dec0e82e5628e820f154cff3f9c Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Thu, 18 Dec 2025 17:58:16 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E6=B8=B8=E6=88=8F=E7=8E=8B=E6=8E=92?= =?UTF-8?q?=E8=A1=8C=E6=A6=9C):=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Ranking/GamesKing/index.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/views/Ranking/GamesKing/index.vue b/src/views/Ranking/GamesKing/index.vue index b50c120..68e7acc 100644 --- a/src/views/Ranking/GamesKing/index.vue +++ b/src/views/Ranking/GamesKing/index.vue @@ -571,10 +571,6 @@ import maskLayer from '@/components/MaskLayer.vue' const isInAppEnvironment = ref(false) // 检测是否在APP环境中 const maskLayerShow = ref(false) //帮助模块 -const current = ref(1) //排行榜第几页 -const RankingLoadmore = ref(null) //触底模块 -const showRankingLoading = ref(true) //触底加载功能 - const langStore = useLangStore() // 当前语言类型 const currentLangType = computed(() => { @@ -664,7 +660,6 @@ const getCountdown = () => { if (diff <= 0) { // 初始化数据 initData() - resetPage() targetTime.value += 7 * 86400000 // +7天 (更新闭包变量) diff = targetTime.value - now @@ -677,13 +672,6 @@ const getCountdown = () => { Second.value = formatTime(Math.floor(totalSeconds % 60)) } -// 重置数据 -const resetPage = () => { - current.value = 1 //排行榜第几页 - showRankingLoading.value = true //触底加载功能 - Ranking.value = [] // 排行榜 -} - // 格式化奖励的展示信息 const showDetail = (type, reward) => { let showamount = ['GOLD', 'DIAMOND', 'GIFT', 'FRAGMENTS']