shop-header.phtml 1.9 KB
{{# shopTopBanner}}
    <div class="shop-banner">
        <div class="banner-img" style="height: {{bannerHeight}}px;background: url({{banner}})"></div>
        {{#if isShowShopName}}
        <div class="shop-name">
            {{brandIntro.brandName}}
        </div>
        {{/if}}
        <div class="opt-wrap">
            <div class="shop-intro">
                <i class="shop-intro-ico"></i>
                店铺介绍
            </div>
            <div class="shop-collect" data-id="{{brandIntro.shopId}}">
                <i class="shop-collect-ico {{#if brandIntro.isFavorite}}on{{/if}}"></i>
                <span class="shop-collect-text">
                    {{#if brandIntro.isFavorite}}
                        已收藏
                    {{else}}
                        收藏
                    {{/if}}
                </span>
            </div>
        </div>
    </div>
    {{#brandIntro}}
        <div class="pop-shop-intro">
            <div class="shop-intro-bg"></div>
            <div class="shop-intro-area">
                <i class="close-btn"></i>
                <div class="brand-cont">
                    <div class="intro-title">
                        <h2>{{brandName}}</h2>
                        <p>品牌介绍</p>
                    </div>
                    <div class="intro-cont">
                        {{{brandCont}}}
                    </div>
                </div>
            </div>
        </div>
    {{/brandIntro}}
    <div class="mask"></div>
{{/ shopTopBanner}}

{{#if navigationBar}}
    <ul class="shop-nav clearfix">
        {{#navigationBar}}
        <li class="nav-item {{#if @first}}first{{/if}} {{#if current}}current{{/if}}">
            <a href="{{url}}">
                {{name}}
                {{#if arrow}}
                    <span class="iconfont">&#xe63a;</span>
                {{/if}}
            </a>
        </li>
        {{/navigationBar}}
    </ul>
{{/if}}