From c4a6fcd10e6ce8b2ec07db9efbd5c410a75ce827 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Tue, 3 Feb 2026 19:37:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B8=B8=E6=88=8F=E7=8E=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2):=20=E8=B0=83=E6=95=B4=E5=9B=BE=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Ranking/GamesKing/index.vue | 40 ++++++++------------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/src/views/Ranking/GamesKing/index.vue b/src/views/Ranking/GamesKing/index.vue index f14502f..b9fdb28 100644 --- a/src/views/Ranking/GamesKing/index.vue +++ b/src/views/Ranking/GamesKing/index.vue @@ -242,16 +242,12 @@ - - - + @@ -779,7 +775,7 @@ const historyTopIndex = ref(0) const Ranking = ref([]) // 排行榜 const myRanking = ref({}) // 我的排名 const rewardsList = ref([]) // 奖励列表 -const specialReward = ref({}) // 奖励列表 +// const specialReward = ref({}) // 奖励列表 const topImg = ref([ imageUrl('top1RewardBg'), @@ -928,7 +924,7 @@ const initData = async () => { getAllTopOne(), // 获取历史榜首 getListAndMy(), // 获取排行榜和我的排名 getRewardsAndGifts(), // 获取本周的礼物和奖励列表 - getActivityResource(), // 获取指定类型活动资源 + // getActivityResource(), // 获取指定类型活动资源 ]) } @@ -1011,30 +1007,16 @@ const completePreloading = async () => { // 预加载其他图片 const preloadOtherImages = async () => { const criticalImages = [ - imageUrl('historyTopBg'), + imageUrl(getImgName('historyTopBg')), imageUrl('historyTopFrame'), - imageUrl('specialRewardsBg'), + imageUrl(getImgName('specialRewards')), imageUrl('top1RewardBg'), imageUrl('top2_4RewardBg'), imageUrl('top5_7RewardBg'), imageUrl('top8_10RewardBg'), ] - const criticalImages_ar = [ - imageUrl('historyTopBg_ar'), - imageUrl('historyTopFrame'), - imageUrl('specialRewardsBg_ar'), - imageUrl('top1RewardBg'), - imageUrl('top2_4RewardBg'), - imageUrl('top5_7RewardBg'), - imageUrl('top8_10RewardBg'), - ] - - if (currentLangType.value == 'en') { - await preloadImages(criticalImages) - } else if (currentLangType.value == 'ar') { - await preloadImages(criticalImages_ar) - } + await preloadImages(criticalImages) } // 使用工具函数连接APP