Commit 65e16ad3 by libai

测试

parent 1b11c1c9
......@@ -201,7 +201,7 @@
.list-ul .list-span1-p2 {
color: #040404;
font-size: 0.35rem;
margin-left: 0.2rem;
text-align: center;
font-weight: 700;
padding-top: 0.05rem;
}
......@@ -209,7 +209,7 @@
color: #979797;
font-size: 0.3rem;
padding-top: 0.1rem;
text-indent: 0.8rem;
text-align: center;
}
.list-ul .list-span2 {
width: 2.7rem;
......
......@@ -204,7 +204,8 @@
.list-span1-p2{
color: #040404;
font-size: 0.35rem;
margin-left: 0.2rem;
// margin-left: 0.2rem;
text-align: center;
font-weight: 700;
padding-top: 0.05rem;
}
......@@ -212,7 +213,8 @@
color: #979797;
font-size: 0.3rem;
padding-top: 0.1rem;
text-indent: 0.8rem;
// text-indent: 0.8rem;
text-align: center;
}
.list-span2{
width: 2.7rem;
......
......@@ -180,7 +180,8 @@
$(".face-box").html(html);
var html=[];
html+='<div class="list-top-box1">';
html+='<p>'+Math.floor(data.result.data.totalTime/60*10)/10+'小时+'+Math.floor(data.result.data.totalEtime/60*10)+'小时</p>';
if(data.result.data.totalEtime>0)html+='<p>'+Math.floor(data.result.data.totalTime/60*10)/10+'小时+'+Math.floor(data.result.data.totalEtime/60*10)+'小时</p>';
else html+='<p>'+Math.floor(data.result.data.totalTime/60*10)/10+'小时</p>';
html+='<p>直播总时长</p>';
html+='</div>';
html+='<div class="list-top-box2">';
......@@ -204,7 +205,8 @@
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)/10+'小时+'+Math.floor(list.etime/60*10)/10+'小时</p>';
if(list.etime>0)html+='<p class="list-span1-p2">'+Math.floor(list.time/60*10)/10+'小时+'+Math.floor(list.etime/60*10)/10+'小时</p>';
else html+='<p class="list-span1-p2">'+Math.floor(list.time/60*10)/10+'小时</p>';
html+='<p class="list-span1-p3">直播时长</p>';
html+='</span>';
html+='<span class="list-span2">';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment