Authored by 陈轩

fix YH-3940

... ... @@ -127,7 +127,7 @@ const fetchReplayInfo = (videoID) => {
d.background = helpers.image(d.background, 640, 968);
d.pic = helpers.image(d.pic, 640, 968);
d.master_pic = helpers.image(d.master_pic, 180, 180);
d.humanTime = _formatTime(data.living_start_time * 1000);
d.humanTime = _formatTime(data.live_start_time * 1000);
d.video_src = d.url;
let durationH = parseInt(d.live_last_time / 3600, 10); // 1h =3600s
... ... @@ -166,7 +166,7 @@ const fetchLiveInfo = (roomID) => {
d.background_pic = helpers.image(d.background_pic, 640, 968);
d.pic = helpers.image(d.pic, 640, 968);
d.master_pic = helpers.image(d.master_pic, 180, 180);
d.humanTime = _formatTime(d.living_start_time * 1000);
d.humanTime = _formatTime(d.live_start_time * 1000);
d.video_src = d.hls_downstream_address;
let durationH = parseInt(d.live_last_time / 3600, 10); // 1h =3600s
... ...
... ... @@ -70,20 +70,17 @@
<ul class="live-state-info">
<li class="audience text-center">
<span class="val">{{audience_num}}</span>
<br>
<span class="label">总观看人数</span>
</li>
<li class="duration">
<div class="inner pull-right">
<span class="val">{{duration}}</span>
<br>
<span class="label">直播时长</span>
</div>
</li>
<li class="favorite">
<div class="inner pull-left">
<span class="val">{{like_num}}</span>
<br>
<span class="label">点赞数</span>
</div>
</li>
... ... @@ -98,7 +95,7 @@
<div class="live-state is-no-start show" style="background-image: url('{{background_pic}}');">
<div class="live-state__txt">直播未开始</div>
<div class="live-state-info text-center">
<img src="{{master_pic}}" alt="" class="avatar"><br>
<img src="{{master_pic}}" alt="" class="avatar">
<span class="name">{{master_name}}</span><br>
<h5 class="title">直播主题: {{title}}</h5>
<p class="begin-time">开始时间: {{humanTime}}</p>
... ...
... ... @@ -67,6 +67,7 @@
}
.avatar {
display: block;
width: 112px;
height: 112px;
border-radius: 50%;
... ... @@ -77,7 +78,8 @@
.name {
display: inline-block;
margin-bottom: 44px;
font-size: 20px;
margin-bottom: 42px;
}
.title {
... ...