chore(游戏王排行榜): 删除无用代码

This commit is contained in:
hzj 2025-12-18 17:58:16 +08:00
parent 4f5bc2acee
commit dfa6833391

View File

@ -571,10 +571,6 @@ import maskLayer from '@/components/MaskLayer.vue'
const isInAppEnvironment = ref(false) // APP const isInAppEnvironment = ref(false) // APP
const maskLayerShow = ref(false) // const maskLayerShow = ref(false) //
const current = ref(1) //
const RankingLoadmore = ref(null) //
const showRankingLoading = ref(true) //
const langStore = useLangStore() const langStore = useLangStore()
// //
const currentLangType = computed(() => { const currentLangType = computed(() => {
@ -664,7 +660,6 @@ const getCountdown = () => {
if (diff <= 0) { if (diff <= 0) {
// //
initData() initData()
resetPage()
targetTime.value += 7 * 86400000 // +7 () targetTime.value += 7 * 86400000 // +7 ()
diff = targetTime.value - now diff = targetTime.value - now
@ -677,13 +672,6 @@ const getCountdown = () => {
Second.value = formatTime(Math.floor(totalSeconds % 60)) Second.value = formatTime(Math.floor(totalSeconds % 60))
} }
//
const resetPage = () => {
current.value = 1 //
showRankingLoading.value = true //
Ranking.value = [] //
}
// //
const showDetail = (type, reward) => { const showDetail = (type, reward) => {
let showamount = ['GOLD', 'DIAMOND', 'GIFT', 'FRAGMENTS'] let showamount = ['GOLD', 'DIAMOND', 'GIFT', 'FRAGMENTS']