4.0下半角色数
This commit is contained in:
parent
9a7fd50c65
commit
b669cf64d0
|
@ -2,7 +2,7 @@
|
||||||
achievement: 1037
|
achievement: 1037
|
||||||
|
|
||||||
# 角色数
|
# 角色数
|
||||||
avatar: 70
|
avatar: 71
|
||||||
|
|
||||||
# 等级
|
# 等级
|
||||||
level: 60
|
level: 60
|
||||||
|
|
|
@ -326,7 +326,7 @@ export default class RoleIndex extends base {
|
||||||
}
|
}
|
||||||
|
|
||||||
dayCount(num) {
|
dayCount(num) {
|
||||||
let daysDifference = Math.floor((new Date() - new Date('2020-09-15')) / (1000 * 60 * 60 * 24))
|
let daysDifference = Math.floor((new Date() - new Date('2020-09-15')) / (1000 * 60 * 60 * 24)) + 1
|
||||||
let days = Math.floor(num)
|
let days = Math.floor(num)
|
||||||
let msg = '活跃天数:' + days + `/${daysDifference}天`
|
let msg = '活跃天数:' + days + `/${daysDifference}天`
|
||||||
return msg
|
return msg
|
||||||
|
@ -469,7 +469,7 @@ export default class RoleIndex extends base {
|
||||||
? 'A'
|
? 'A'
|
||||||
: 'S') + `[${percentage}%]`
|
: 'S') + `[${percentage}%]`
|
||||||
|
|
||||||
let daysDifference = Math.floor((new Date() - new Date('2020-09-15')) / (1000 * 60 * 60 * 24))
|
let daysDifference = Math.floor((new Date() - new Date('2020-09-15')) / (1000 * 60 * 60 * 24)) + 1
|
||||||
|
|
||||||
let line = [
|
let line = [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue