brand-banner.hbs
1.27 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="{{https link}}" class="brand-logo">
<img src="{{image img 108 45}}">
</a>
{{/ brandLogo}}
<p class="opt right">
<span id="brand-fav" class="brand-fav{{#if brandFav}} coll{{/if}}" data-id={{brandId}}>
<i class="iconfont"></i>
</span>
{{# brandHome}}
<a href="{{https link}}">
<i class="iconfont"></i>
{{text}}
</a>
{{/ brandHome}}
{{# brandIntro}}
<a href="{{https link}}">
<i class="iconfont"></i>
{{text}}
</a>
{{/ brandIntro}}
</p>
</div>
</div>
</div>
{{/ brandBanner}}