Authored by 郝肖肖

潮流优选 APP固定头部,banner€被遮挡

<div class='yoho-page plusstar-page'>
{{#if result.channel}}
<div class="tab-nav {{#if isApp}}isApp{{/if}}">
<ul>
{{#each result.channel}}
<li class='{{#if focus}} focus {{/if}}' data-code='{{code}}'>
<span>{{mame}}</span>
</li>
{{/each}}
</ul>
</div>
<div class="tab-nav {{#if isApp}}isapp{{/if}}">
<ul>
{{#each result.channel}}
<li class='{{#if focus}} focus {{/if}}' data-code='{{code}}'>
<span>{{mame}}</span>
</li>
{{/each}}
</ul>
</div>
{{#if isApp}}<div class='isapp-margin-bottom'></div>{{/if}}
{{/if}}
<!--/tab-nav-->
... ...
... ... @@ -20,7 +20,7 @@
background-color: #fff;
top: 0;
&.isApp {
&.isapp {
position: fixed;
}
... ... @@ -59,6 +59,10 @@
}
}
.isapp-margin-bottom {
margin-bottom: 80px;
}
.empty-height {
height: 72px;
}
... ...