测试数据.

This commit is contained in:
zogodo
2019-10-10 16:48:15 +08:00
parent 7a771cf308
commit d011c14baf
3 changed files with 3 additions and 7 deletions

View File

@@ -256,7 +256,7 @@ function GetPowerRecord() {
var power = JSON.parse(re);
var html = "";
for (var i = 0; i < power.powers.length; i++) {
html += "<div class='power_pre' style='height:70px;left:20px;'></div>";
html += "<div class='power_pre' style='height:"+power.powers[i]+"px;left:"+((i+1)*10)+"px;'></div>";
power_line.innerHTML = html;
//滑动到最后
}