From b6b1ea70ad5b69be834249573ab345edec538aae Mon Sep 17 00:00:00 2001 From: chenruiye <862859104@qq.com> Date: Wed, 2 Apr 2025 11:56:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E8=8B=B1=E8=AF=AD=E5=8C=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/modules/guild-ar/js/index.js | 22 ++++++++++++++++------ view/molistar/modules/guild-ar/local/ar.js | 1 + view/molistar/modules/guild-ar/local/en.js | 1 + view/molistar/modules/guild-ar/local/tr.js | 1 + view/molistar/modules/guild-ar/local/zh.js | 1 + view/molistar/modules/newRank/js/index.js | 7 +++++++ 6 files changed, 27 insertions(+), 6 deletions(-) diff --git a/view/molistar/modules/guild-ar/js/index.js b/view/molistar/modules/guild-ar/js/index.js index bb30c91..3f22c4d 100644 --- a/view/molistar/modules/guild-ar/js/index.js +++ b/view/molistar/modules/guild-ar/js/index.js @@ -99,14 +99,14 @@ function translateFun() { $('.newtext7').text(langReplace(localLang.demoModule.newtext7)); $('.audit').text(langReplace(localLang.demoModule.audit)); $('.weeklyRewardsText1').text(langReplace(localLang.demoModule.weeklyRewardsText1)); - if (window.localStorage.getItem('partitionId') == 2) { - $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2)); - } else if (window.localStorage.getItem('partitionId') == 8) { - $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText22)); - } + // if (window.localStorage.getItem('partitionId') == 2) { + // $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2)); + // } else if (window.localStorage.getItem('partitionId') == 8) { + // $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText22)); + // } $('.weeklyRewardsText3').text(langReplace(localLang.demoModule.weeklyRewardsText3)); $('.weeklyRewardsText4').text(langReplace(localLang.demoModule.weeklyRewardsText4)); - $('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText5)); + // $('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText5)); } // 判断公会身份函数 function guildFun(type) { @@ -152,6 +152,16 @@ function get() { if (partitionId == 8) { $('.weeklyRewards').hide(); } + if (partitionId == 2) { + $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2)); + } else if (partitionId == 8) { + $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText22)); + } + if(partitionId == 16){ + $('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText6)); + }else{ + $('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText5)); + } // 判断身份 roleTypes = res.data.roleType; if (roleTypes == 1 && res.data.isReview == true) { diff --git a/view/molistar/modules/guild-ar/local/ar.js b/view/molistar/modules/guild-ar/local/ar.js index dfa140e..37d37cf 100644 --- a/view/molistar/modules/guild-ar/local/ar.js +++ b/view/molistar/modules/guild-ar/local/ar.js @@ -54,6 +54,7 @@ langAr = { weeklyRewardsText33: `تم الاستلام`, weeklyRewardsText4: 'مستوى المضيف', weeklyRewardsText5: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+3)', + weeklyRewardsText6: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+8)', }, adminSet: { text1: `إعدادات المشرف`, diff --git a/view/molistar/modules/guild-ar/local/en.js b/view/molistar/modules/guild-ar/local/en.js index ba6d8e3..1d7a2b1 100644 --- a/view/molistar/modules/guild-ar/local/en.js +++ b/view/molistar/modules/guild-ar/local/en.js @@ -52,6 +52,7 @@ langEn = { weeklyRewardsText33: 'Got', weeklyRewardsText4: 'Host Lv', weeklyRewardsText5: 'Reset time: Monday 0:00 (GMT+3)', + weeklyRewardsText6: 'Reset time: Monday 0:00 (GMT+8)', }, adminSet: { text1: `Administrator`, diff --git a/view/molistar/modules/guild-ar/local/tr.js b/view/molistar/modules/guild-ar/local/tr.js index 23bf700..1312d2b 100644 --- a/view/molistar/modules/guild-ar/local/tr.js +++ b/view/molistar/modules/guild-ar/local/tr.js @@ -52,6 +52,7 @@ langTr = { weeklyRewardsText33: 'Alındı', weeklyRewardsText4: ' Seviyesi', weeklyRewardsText5: 'Sıfırlama Zamanı: Pazartesi 0:00 (GMT+3)', + weeklyRewardsText6: 'Sıfırlama Zamanı: Pazartesi 0:00 (GMT+8)', }, adminSet: { text1: `Yönetici`, diff --git a/view/molistar/modules/guild-ar/local/zh.js b/view/molistar/modules/guild-ar/local/zh.js index 9ed1a14..6cf724d 100644 --- a/view/molistar/modules/guild-ar/local/zh.js +++ b/view/molistar/modules/guild-ar/local/zh.js @@ -54,6 +54,7 @@ langZh = { weeklyRewardsText33: '已獲得', weeklyRewardsText4: '主播等級', weeklyRewardsText5: '重置時間:週一 0:00(GMT+3)', + weeklyRewardsText6: '重置時間:週一 0:00(GMT+8)', }, adminSet: { text1: `管理員設置`, diff --git a/view/molistar/modules/newRank/js/index.js b/view/molistar/modules/newRank/js/index.js index 5bb1229..30b8267 100644 --- a/view/molistar/modules/newRank/js/index.js +++ b/view/molistar/modules/newRank/js/index.js @@ -297,6 +297,9 @@ $('.header .tabBox div').click(function () { if (partitionId == 2) { $(`.header .monthlyRewards`).hide(); } + if (partitionId == 16) { + $(`.header .monthlyRewards`).hide(); + } }) // 日榜周榜切换tab $('.header .sTab div').click(function () { @@ -304,7 +307,11 @@ $('.header .sTab div').click(function () { $(this).addClass('act').siblings().removeClass('act'); timeType = $(this).attr('type'); if (timeType == 5) { + if (partitionId == 16) { + $(`.header .monthlyRewards`).hide(); + }else{ $('.header .monthlyRewards').show(); + } } else { $('.header .monthlyRewards').hide(); }