Showing
3 changed files
with
6 additions
and
7 deletions
@@ -127,7 +127,7 @@ const fetchReplayInfo = (videoID) => { | @@ -127,7 +127,7 @@ const fetchReplayInfo = (videoID) => { | ||
127 | d.background = helpers.image(d.background, 640, 968); | 127 | d.background = helpers.image(d.background, 640, 968); |
128 | d.pic = helpers.image(d.pic, 640, 968); | 128 | d.pic = helpers.image(d.pic, 640, 968); |
129 | d.master_pic = helpers.image(d.master_pic, 180, 180); | 129 | d.master_pic = helpers.image(d.master_pic, 180, 180); |
130 | - d.humanTime = _formatTime(data.living_start_time * 1000); | 130 | + d.humanTime = _formatTime(data.live_start_time * 1000); |
131 | d.video_src = d.url; | 131 | d.video_src = d.url; |
132 | 132 | ||
133 | let durationH = parseInt(d.live_last_time / 3600, 10); // 1h =3600s | 133 | let durationH = parseInt(d.live_last_time / 3600, 10); // 1h =3600s |
@@ -166,7 +166,7 @@ const fetchLiveInfo = (roomID) => { | @@ -166,7 +166,7 @@ const fetchLiveInfo = (roomID) => { | ||
166 | d.background_pic = helpers.image(d.background_pic, 640, 968); | 166 | d.background_pic = helpers.image(d.background_pic, 640, 968); |
167 | d.pic = helpers.image(d.pic, 640, 968); | 167 | d.pic = helpers.image(d.pic, 640, 968); |
168 | d.master_pic = helpers.image(d.master_pic, 180, 180); | 168 | d.master_pic = helpers.image(d.master_pic, 180, 180); |
169 | - d.humanTime = _formatTime(d.living_start_time * 1000); | 169 | + d.humanTime = _formatTime(d.live_start_time * 1000); |
170 | d.video_src = d.hls_downstream_address; | 170 | d.video_src = d.hls_downstream_address; |
171 | 171 | ||
172 | let durationH = parseInt(d.live_last_time / 3600, 10); // 1h =3600s | 172 | let durationH = parseInt(d.live_last_time / 3600, 10); // 1h =3600s |
@@ -70,20 +70,17 @@ | @@ -70,20 +70,17 @@ | ||
70 | <ul class="live-state-info"> | 70 | <ul class="live-state-info"> |
71 | <li class="audience text-center"> | 71 | <li class="audience text-center"> |
72 | <span class="val">{{audience_num}}</span> | 72 | <span class="val">{{audience_num}}</span> |
73 | - <br> | ||
74 | <span class="label">总观看人数</span> | 73 | <span class="label">总观看人数</span> |
75 | </li> | 74 | </li> |
76 | <li class="duration"> | 75 | <li class="duration"> |
77 | <div class="inner pull-right"> | 76 | <div class="inner pull-right"> |
78 | <span class="val">{{duration}}</span> | 77 | <span class="val">{{duration}}</span> |
79 | - <br> | ||
80 | <span class="label">直播时长</span> | 78 | <span class="label">直播时长</span> |
81 | </div> | 79 | </div> |
82 | </li> | 80 | </li> |
83 | <li class="favorite"> | 81 | <li class="favorite"> |
84 | <div class="inner pull-left"> | 82 | <div class="inner pull-left"> |
85 | <span class="val">{{like_num}}</span> | 83 | <span class="val">{{like_num}}</span> |
86 | - <br> | ||
87 | <span class="label">点赞数</span> | 84 | <span class="label">点赞数</span> |
88 | </div> | 85 | </div> |
89 | </li> | 86 | </li> |
@@ -98,7 +95,7 @@ | @@ -98,7 +95,7 @@ | ||
98 | <div class="live-state is-no-start show" style="background-image: url('{{background_pic}}');"> | 95 | <div class="live-state is-no-start show" style="background-image: url('{{background_pic}}');"> |
99 | <div class="live-state__txt">直播未开始</div> | 96 | <div class="live-state__txt">直播未开始</div> |
100 | <div class="live-state-info text-center"> | 97 | <div class="live-state-info text-center"> |
101 | - <img src="{{master_pic}}" alt="" class="avatar"><br> | 98 | + <img src="{{master_pic}}" alt="" class="avatar"> |
102 | <span class="name">{{master_name}}</span><br> | 99 | <span class="name">{{master_name}}</span><br> |
103 | <h5 class="title">直播主题: {{title}}</h5> | 100 | <h5 class="title">直播主题: {{title}}</h5> |
104 | <p class="begin-time">开始时间: {{humanTime}}</p> | 101 | <p class="begin-time">开始时间: {{humanTime}}</p> |
@@ -67,6 +67,7 @@ | @@ -67,6 +67,7 @@ | ||
67 | } | 67 | } |
68 | 68 | ||
69 | .avatar { | 69 | .avatar { |
70 | + display: block; | ||
70 | width: 112px; | 71 | width: 112px; |
71 | height: 112px; | 72 | height: 112px; |
72 | border-radius: 50%; | 73 | border-radius: 50%; |
@@ -77,7 +78,8 @@ | @@ -77,7 +78,8 @@ | ||
77 | 78 | ||
78 | .name { | 79 | .name { |
79 | display: inline-block; | 80 | display: inline-block; |
80 | - margin-bottom: 44px; | 81 | + font-size: 20px; |
82 | + margin-bottom: 42px; | ||
81 | } | 83 | } |
82 | 84 | ||
83 | .title { | 85 | .title { |
-
Please register or login to post a comment