From 1b11c1c91de29336f291c082877f83fe8ebceb36 Mon Sep 17 00:00:00 2001 From: libai <libai@yazhai.co> Date: Wed, 16 Jun 2021 16:57:49 +0800 Subject: [PATCH] 测试 --- gzh/myData.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gzh/myData.html b/gzh/myData.html index c50f2e3..2226a3c 100644 --- a/gzh/myData.html +++ b/gzh/myData.html @@ -180,7 +180,7 @@ $(".face-box").html(html); var html=[]; html+='<div class="list-top-box1">'; - html+='<p>'+Math.floor(data.result.data.totalTime/60*10)+'小时+'+Math.floor(data.result.data.totalEtime/60*10)+'小时</p>'; + html+='<p>'+Math.floor(data.result.data.totalTime/60*10)/10+'小时+'+Math.floor(data.result.data.totalEtime/60*10)+'小时</p>'; html+='<p>直播总时长</p>'; html+='</div>'; html+='<div class="list-top-box2">'; @@ -204,7 +204,7 @@ html+='<li>'; html+='<span class="list-span1">'; html+='<p class="list-span1-p1">'+list.statdate+'</p>'; - html+='<p class="list-span1-p2">'+Math.floor(list.time/60*10)+'小时+'+Math.floor(list.etime/60*10)+'小时</p>'; + html+='<p class="list-span1-p2">'+Math.floor(list.time/60*10)/10+'小时+'+Math.floor(list.etime/60*10)/10+'小时</p>'; html+='<p class="list-span1-p3">直播时长</p>'; html+='</span>'; html+='<span class="list-span2">'; -- libgit2 0.25.0