第一名隐藏自己分数
This commit is contained in:
@@ -34,7 +34,8 @@ function initLocalLang() {
|
|||||||
window.lang.code = 'id'
|
window.lang.code = 'id'
|
||||||
window.lang.defaults = false
|
window.lang.defaults = false
|
||||||
} else if (lang === 'tr' || window.location.href.match('=tr')) {
|
} else if (lang === 'tr' || window.location.href.match('=tr')) {
|
||||||
if (window.location.href.match('superLucky') || window.location.href.match('newRank') || window.location.href.match('roomLevel') || window.location.href.match('rechargeNew') || window.location.href.match('2024-newYear') || window.location.href.match('guild-ar') || window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) {
|
if (window.location.href.match('dailyConsumption') || window.location.href.match('2024-cpActive') || window.location.href.match('superLucky') || window.location.href.match('newRank') || window.location.href.match('roomLevel') || window.location.href.match('rechargeNew') || window.location.href.match('2024-newYear') || window.location.href.match('guild-ar') || window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) {
|
||||||
|
window.location.href.match('superLucky') ||
|
||||||
// 土耳其
|
// 土耳其
|
||||||
console.log("langHandler" + '土耳其')
|
console.log("langHandler" + '土耳其')
|
||||||
window.lang = langTr
|
window.lang = langTr
|
||||||
|
@@ -223,7 +223,12 @@ function listRank() {
|
|||||||
$('.page1 .my .user p img').attr('src', my.userLevelVo.experUrl);
|
$('.page1 .my .user p img').attr('src', my.userLevelVo.experUrl);
|
||||||
$('.page1 .my .user p b').text(my.nick);
|
$('.page1 .my .user p b').text(my.nick);
|
||||||
$('.page1 .my .user span').text('ID:' + my.erbanNo);
|
$('.page1 .my .user span').text('ID:' + my.erbanNo);
|
||||||
$('.page1 .my .score').text(my.rank == 0 ? '-' : `${langReplace(localLang.demoModule.text14)} ${unitProcessingAr(lists[my.rank - 2].score - my.score, 1)}`);
|
if(my.rank == 1){
|
||||||
|
$('.page1 .my .score').hide();
|
||||||
|
}
|
||||||
|
if (my.rank > 1) {
|
||||||
|
$('.page1 .my .score').text(my.rank == 0 ? '-' : `${langReplace(localLang.demoModule.text14)} ${unitProcessingAr(lists[my.rank - 2].score - my.score, 1)}`);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
toastMsg(res.message)
|
toastMsg(res.message)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user