修改流量统计首页滚动条数字对齐
(cherry picked from commit 2ca0a4714dfedbea53272f43169e4cf502e377f9)
This commit is contained in:
@@ -519,11 +519,12 @@ function ajaxinfo(){
|
||||
$(".c2sNum").text(inoctetsNum);
|
||||
$(".s2cNum").text(outoctetsNum);
|
||||
|
||||
// $(".numberRun4-unit").text(" "+unit);
|
||||
$(".numberRun4-unit").text(" "+unit);
|
||||
|
||||
bandwidth=parseFloat(inoctetsNum)+parseFloat(outoctetsNum);
|
||||
dataScroll2(".numberRun4",bandwidth);
|
||||
$(".numberRun4").append(" "+unit);
|
||||
// $(".numberRun4").append(" "+unit);
|
||||
// $(".numberRun4").append("<span class='mt-number-animate2'>"+unit+"<span>");
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -1002,7 +1003,7 @@ function unit1000(id,inNum){
|
||||
unit="P lnk/h";
|
||||
};
|
||||
dataScroll2(id,inNum);
|
||||
$(id).append(""+unit);
|
||||
$(id).append("<span class='mt-number-unit'>"+unit+"<span>");
|
||||
}
|
||||
// 1024单位转换
|
||||
function unit1024(id,inNum){
|
||||
@@ -1036,7 +1037,7 @@ function unit1024(id,inNum){
|
||||
};
|
||||
console.log(inNum)
|
||||
dataScroll2(id,inNum);
|
||||
$(id).append(""+unit);
|
||||
$(id).append("<span class='mt-number-unit'>"+unit+"<span>");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user