Authored by zzzzzzz

修改bug

... ... @@ -20,7 +20,8 @@ exports.index = (req, res, next) => {
living: result[1],
pre: result[2],
record: result[3],
content: result[4]
content: result[4],
isApp: req.yoho.isApp
});
}).catch(next);
};
... ...
<div class="yoho-live yoho-page">
{{! 导航条}}
{{#unless isApp}}
<div class="home-header clearfix yoho-header">
<a href="javascript:history.go(-1);" class="iconfont nav-back buriedpoint" data-bp-id="page_header_back_0"></a>
<p class="nav-title">YOHO!BUY有货直播间</p>
</div>
{{/unless}}
{{#content}}
... ... @@ -13,6 +15,10 @@
{{/if}}
{{/content}}
{{#if content}}
<div class="head_margin"></div>
{{/if}}
{{! 精选房间}}
{{#if best}}
<div class="liverec">
... ...
... ... @@ -5,11 +5,14 @@ $red: #d0021b;
$gray: #b0b0b0;
$border: #e0e0e0;
.head_margin {
height: 30px;
width: 100%;
border-bottom: 1px solid $border;
}
.liverec {
margin-top: 30px;
height: 423px;
width: 640px;
border-top: 1px solid $border;
&_child {
position: relative;
... ... @@ -85,14 +88,14 @@ $border: #e0e0e0;
}
.name-tag {
position: absolute;
top: 0;
position: relative;
top: -2px;
display: inline-block;
height: 26px;
width: 86px;
font-size: 17.9px;
background: $black;
margin-left: 10px;
margin-left: 5px;
border-radius: 20px;
color: $white;
text-align: center;
... ...