新英语区调整

This commit is contained in:
chenruiye
2025-04-02 11:56:31 +08:00
parent 5ffb9e4e5b
commit 577b21d32d
6 changed files with 27 additions and 6 deletions

View File

@@ -99,14 +99,14 @@ function translateFun() {
$('.newtext7').text(langReplace(localLang.demoModule.newtext7)); $('.newtext7').text(langReplace(localLang.demoModule.newtext7));
$('.audit').text(langReplace(localLang.demoModule.audit)); $('.audit').text(langReplace(localLang.demoModule.audit));
$('.weeklyRewardsText1').text(langReplace(localLang.demoModule.weeklyRewardsText1)); $('.weeklyRewardsText1').text(langReplace(localLang.demoModule.weeklyRewardsText1));
if (window.localStorage.getItem('partitionId') == 2) { // if (window.localStorage.getItem('partitionId') == 2) {
$('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2)); // $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText2));
} else if (window.localStorage.getItem('partitionId') == 8) { // } else if (window.localStorage.getItem('partitionId') == 8) {
$('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText22)); // $('.weeklyRewardsText2').text(langReplace(localLang.demoModule.weeklyRewardsText22));
} // }
$('.weeklyRewardsText3').text(langReplace(localLang.demoModule.weeklyRewardsText3)); $('.weeklyRewardsText3').text(langReplace(localLang.demoModule.weeklyRewardsText3));
$('.weeklyRewardsText4').text(langReplace(localLang.demoModule.weeklyRewardsText4)); $('.weeklyRewardsText4').text(langReplace(localLang.demoModule.weeklyRewardsText4));
$('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText5)); // $('.weeklyRewardsText5').text(langReplace(localLang.demoModule.weeklyRewardsText5));
} }
// 判断公会身份函数 // 判断公会身份函数
function guildFun(type) { function guildFun(type) {
@@ -152,6 +152,16 @@ function get() {
if (partitionId == 8) { if (partitionId == 8) {
$('.weeklyRewards').hide(); $('.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; roleTypes = res.data.roleType;
if (roleTypes == 1 && res.data.isReview == true) { if (roleTypes == 1 && res.data.isReview == true) {

View File

@@ -54,6 +54,7 @@ langAr = {
weeklyRewardsText33: `تم الاستلام`, weeklyRewardsText33: `تم الاستلام`,
weeklyRewardsText4: 'مستوى المضيف', weeklyRewardsText4: 'مستوى المضيف',
weeklyRewardsText5: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+3)', weeklyRewardsText5: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+3)',
weeklyRewardsText6: 'وقت إعادة التعيين: الاثنين 0:00 (GMT+8)',
}, },
adminSet: { adminSet: {
text1: `إعدادات المشرف`, text1: `إعدادات المشرف`,

View File

@@ -52,6 +52,7 @@ langEn = {
weeklyRewardsText33: 'Got', weeklyRewardsText33: 'Got',
weeklyRewardsText4: 'Host Lv', weeklyRewardsText4: 'Host Lv',
weeklyRewardsText5: 'Reset time: Monday 0:00 (GMT+3)', weeklyRewardsText5: 'Reset time: Monday 0:00 (GMT+3)',
weeklyRewardsText6: 'Reset time: Monday 0:00 (GMT+8)',
}, },
adminSet: { adminSet: {
text1: `Administrator`, text1: `Administrator`,

View File

@@ -52,6 +52,7 @@ langTr = {
weeklyRewardsText33: 'Alındı', weeklyRewardsText33: 'Alındı',
weeklyRewardsText4: ' Seviyesi', weeklyRewardsText4: ' Seviyesi',
weeklyRewardsText5: 'Sıfırlama Zamanı: Pazartesi 0:00 (GMT+3)', weeklyRewardsText5: 'Sıfırlama Zamanı: Pazartesi 0:00 (GMT+3)',
weeklyRewardsText6: 'Sıfırlama Zamanı: Pazartesi 0:00 (GMT+8)',
}, },
adminSet: { adminSet: {
text1: `Yönetici`, text1: `Yönetici`,

View File

@@ -54,6 +54,7 @@ langZh = {
weeklyRewardsText33: '已獲得', weeklyRewardsText33: '已獲得',
weeklyRewardsText4: '主播等級', weeklyRewardsText4: '主播等級',
weeklyRewardsText5: '重置時間:週一 0:00GMT+3', weeklyRewardsText5: '重置時間:週一 0:00GMT+3',
weeklyRewardsText6: '重置時間:週一 0:00GMT+8',
}, },
adminSet: { adminSet: {
text1: `管理員設置`, text1: `管理員設置`,

View File

@@ -297,6 +297,9 @@ $('.header .tabBox div').click(function () {
if (partitionId == 2) { if (partitionId == 2) {
$(`.header .monthlyRewards`).hide(); $(`.header .monthlyRewards`).hide();
} }
if (partitionId == 16) {
$(`.header .monthlyRewards`).hide();
}
}) })
// 日榜周榜切换tab // 日榜周榜切换tab
$('.header .sTab div').click(function () { $('.header .sTab div').click(function () {
@@ -304,7 +307,11 @@ $('.header .sTab div').click(function () {
$(this).addClass('act').siblings().removeClass('act'); $(this).addClass('act').siblings().removeClass('act');
timeType = $(this).attr('type'); timeType = $(this).attr('type');
if (timeType == 5) { if (timeType == 5) {
if (partitionId == 16) {
$(`.header .monthlyRewards`).hide();
}else{
$('.header .monthlyRewards').show(); $('.header .monthlyRewards').show();
}
} else { } else {
$('.header .monthlyRewards').hide(); $('.header .monthlyRewards').hide();
} }