diff --git a/view/molistar/modules/pkRank/js/index.js b/view/molistar/modules/pkRank/js/index.js
index ebbf842a..900eac19 100644
--- a/view/molistar/modules/pkRank/js/index.js
+++ b/view/molistar/modules/pkRank/js/index.js
@@ -178,7 +178,7 @@ function getRecord() {
success(res) {
if (res.code === 200) {
var str = '';
- if (res.data.length == 0 && pageNumPk == 1) {
+ if (res.data.length == 0) {
lockPk = false;
} else {
res.data.forEach((res, i) => {
diff --git a/view/molistar/modules/room_rank/hourRankLicense.html b/view/molistar/modules/room_rank/hourRankLicense.html
index e47ae90b..1d39e07c 100644
--- a/view/molistar/modules/room_rank/hourRankLicense.html
+++ b/view/molistar/modules/room_rank/hourRankLicense.html
@@ -59,5 +59,5 @@
-
+
\ No newline at end of file
diff --git a/view/molistar/modules/room_rank/js/hourRankLicense.js b/view/molistar/modules/room_rank/js/hourRankLicense.js
index a6430187..6ac5d366 100644
--- a/view/molistar/modules/room_rank/js/hourRankLicense.js
+++ b/view/molistar/modules/room_rank/js/hourRankLicense.js
@@ -88,9 +88,6 @@ const renderLastHourThree = () => {
}
let str = ''
lastHourRank.map((item, index) => {
- if (item.score > 10000) {
- item.score = (Math.floor(item.score / 1000)) / 10 + 'W'
- }
str += `
@@ -101,7 +98,7 @@ const renderLastHourThree = () => {
${index == 0 ?
'

' :
- `
${item.score}${langReplace(localLang.demoModule.hour_text8)}`
+ `
${unitProcessingAr(item.score,1)}${langReplace(localLang.demoModule.hour_text8)}`
}
@@ -156,9 +153,6 @@ const renderCurrentList = () => {
}
let str = ''
currHourRank.map((item, index) => {
- if (item.score > 10000) {
- item.score = (Math.floor(item.score / 1000)) / 10 + 'W'
- }
str += `
${index + 1}
@@ -169,7 +163,7 @@ const renderCurrentList = () => {
${index === 0 ?
`${langReplace(localLang.demoModule.hour_text10)}` :
- `${langReplace(localLang.demoModule.hour_text8)}
${item.score}`
+ `${langReplace(localLang.demoModule.hour_text8)}
${unitProcessingAr(item.score,1)}`
}
@@ -184,11 +178,12 @@ const renderCurrentRoomInfo = () => {
currHourRank.forEach((item, index) => {
if (item.uid == currRoomInfo.uid) {
rank = index + 1
- if (item.score > 10000) {
- score = (Math.floor(item.score / 1000)) / 10 + 'W'
- } else {
- score = item.score
- }
+ // if (item.score > 10000) {
+ // score = (Math.floor(item.score / 1000)) / 10 + 'W'
+ // } else {
+ // score = item.score
+ // }
+ score = unitProcessingAr(item.score,1)
}
})
$('.mine_index').html(rank ? rank : `${langReplace(localLang.demoModule.hour_text11)}`)