diff --git a/view/molistar/common/local/langHandler.js b/view/molistar/common/local/langHandler.js index 5f556ed..1efe71f 100644 --- a/view/molistar/common/local/langHandler.js +++ b/view/molistar/common/local/langHandler.js @@ -34,7 +34,8 @@ function initLocalLang() { window.lang.code = 'id' window.lang.defaults = false } 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" + '土耳其') window.lang = langTr diff --git a/view/molistar/modules/superLucky/js/index.js b/view/molistar/modules/superLucky/js/index.js index 672981c..b057275 100644 --- a/view/molistar/modules/superLucky/js/index.js +++ b/view/molistar/modules/superLucky/js/index.js @@ -223,7 +223,12 @@ function listRank() { $('.page1 .my .user p img').attr('src', my.userLevelVo.experUrl); $('.page1 .my .user p b').text(my.nick); $('.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 { toastMsg(res.message) }