chore(游戏王排行榜): 删除无用代码
This commit is contained in:
parent
4f5bc2acee
commit
dfa6833391
@ -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']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user