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">
                    {{# brandHome}}
                        <a href="{{https link}}">
                            <i class="iconfont">&#xe634;</i>
                            {{text}}
                        </a>
                    {{/ brandHome}}

                    {{# brandIntro}}
                        <a href="{{https link}}">
                            <i class="iconfont">&#xe63d;</i>
                            {{text}}
                        </a>
                    {{/ brandIntro}}

                    <span id="brand-fav" class="brand-fav{{#if brandFav}} coll{{/if}}" data-id={{brandId}}>
                        <i class="iconfont">&#xe627;</i>
                    </span>
                </p>
            </div>
        </div>
    </div>
{{/ brandBanner}}