brand-banner.hbs
1.26 KB
{{# brandBanner}}
<div class="brand-banner">
<div class="banner-img" style="{{# height}}height: {{.}}px;{{/ height}}background: {{bgColor}}{{#if bgImg}} url({{bgImg}}){{/if}}"></div>
<div class="opt-wrap">
<div class="center-content clearfix">
{{# brandLogo}}
<a href="{{link}}" class="brand-logo">
<img src="{{image img 108 45}}">
</a>
{{/ brandLogo}}
<p class="opt right">
{{# brandHome}}
<a href="{{link}}">
<i class="iconfont"></i>
{{text}}
</a>
{{/ brandHome}}
{{# brandIntro}}
<a href="{{link}}">
<i class="iconfont"></i>
{{text}}
</a>
{{/ brandIntro}}
<span id="brand-fav" class="brand-fav{{#if brandFav}} coll{{/if}}" data-id={{brandId}}>
<i class="iconfont"></i>
</span>
</p>
</div>
</div>
</div>
{{/ brandBanner}}