{{fragmentsList[i].name}}
{{tools.changeUnits(fragmentsList[i].cellRankCost)}}
* {{currentStarNum}}
* 0
我的世界排名为{{rank}}名
查看脑力排行榜
var starNum = function(n) {
var arr = []
for (var i = 0; i < n; i ++) {
arr += i
}
return arr
}
var starImg = function(c, n) {
if (c > n) {
return "../../resource/fragments_list_star_s.png"
} else {
return "../../resource/fragments_list_star_n.png"
}
}
var changeUnits = function(u) {
if (u >= 10000) {
return u / 10000 + "亿"
} else {
return u + "万"
}
}
module.exports.starNum = starNum
module.exports.starImg = starImg
module.exports.changeUnits = changeUnits