Authored by zzzzzzz

修复bug

... ... @@ -61,7 +61,8 @@ const _getBestList = () => {
item.now_living = true;
break;
case 2:
item.rec_living = true;
//直播结束不显示
result.data = [];
break;
}
... ...
... ... @@ -16,8 +16,10 @@
{{/content}}
{{#if content}}
{{#if best}}
<div class="head_margin"></div>
{{/if}}
{{/if}}
{{! 精选房间}}
{{#if best}}
... ... @@ -49,9 +51,11 @@
{{/if}}
{{! 直播中房间}}
{{#if living}}
<h2 class="living_title">直播中</h2>
{{/if}}
{{#living}}
<div class="liveliving">
<h2 class="title">直播中</h2>
<header>
<img class="main-head" src="{{image master_pic 120 120}}" alt="头像">
<div class="header-info">
... ... @@ -96,9 +100,11 @@
{{/if}}
{{! 精彩回看}}
{{#if record}}
<h2 class="living_title">精彩回看</h2>
{{/if}}
{{#record}}
<div class="liveliving">
<h2 class="title">精彩回看</h2>
<header>
<img class="main-head" src="{{image master_pic 120 120}}" alt="头像">
<div class="header-info">
... ...
... ... @@ -114,17 +114,17 @@ $border: #e0e0e0;
}
}
.liveliving {
.title {
width: 640px;
height: 80px;
text-align: center;
line-height: 80px;
color: $black;
background: $titlebg;
font-size: 32px;
}
.living_title {
width: 640px;
height: 80px;
text-align: center;
line-height: 80px;
color: $black;
background: $titlebg;
font-size: 32px;
}
.liveliving {
header {
position: relative;
height: 102px;
... ...