新英语区调整

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));
$('.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) {

View File

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

View File

@@ -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`,

View File

@@ -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`,

View File

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

View File

@@ -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();
}