From fd284d9f6bfbb5f1bc2ede7a16b0d0db6ffeca5d Mon Sep 17 00:00:00 2001 From: langren1353 <14857127+langren1353@users.noreply.github.com> Date: Tue, 4 Feb 2020 16:17:14 +0800 Subject: [PATCH] Update serverstatus.js --- web/js/serverstatus.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/js/serverstatus.js b/web/js/serverstatus.js index 36f9d77..1aefbd6 100644 --- a/web/js/serverstatus.js +++ b/web/js/serverstatus.js @@ -86,6 +86,7 @@ function moneyText2money(moneyText){ "3year" : 0.333333, "hyr" : 0.333333, "annually" : 1, + "semi-annually" : 0.5, "semi annually" : 0.5, "mon" : 12, "month" : 12, @@ -146,8 +147,8 @@ function uptime() { "加载中" + "加载中" + "加载中" + - "加载中" + "加载中" + + "加载中" + "加载中" + "加载中" + "加载中" + @@ -361,7 +362,7 @@ function uptime() { } }; - $("#totalPrice").html("续费金额: " + totalPrice.toFixed(2)); + $("#totalPrice").html(`共 ${result.servers.length} 个,年续费成本 ≈ ${totalPrice.toFixed(2)} 元`); d = new Date(result.updated*1000); error = 0;