list.hbs 2.6 KB

{{# brandBanner}}
    <div class="brand-banner">
        <div class="banner-img" style="height: {{bannerHeight}}px;background: url({{banner}})"></div>
        <div class="opt-wrap">
            <p class="opt center-content">
                <a href="{{brandHome}}">
                    <i class="iconfont">&#xe61a;</i>
                    品牌首页
                </a>
                <a href="{{brandIntro}}">
                    <i class="iconfont">&#xe62a;</i>
                    品牌介绍
                </a>
                <span id="brand-favor" class="brand-favor" data-id="{{dataId}}">
                    <i class="iconfont{{#if coled}} coled{{/if}}">&#xe611;</i>
                </span>
            </p>
        </div>
    </div>
{{/ brandBanner}}

{{# shopBanner}}
    <div class="brand-banner base-shop-banner">
        <div class="banner-img" style="height: {{bannerHeight}}px;background: url({{banner}})"></div>
        <div class="opt-wrap">
            <p class="opt center-content">
                {{#if showShopName}}
                <span class="shop-name">{{shopName}}</span>
                {{/if}}
                <a href="{{shopHome}}">
                    <i class="iconfont">&#xe61a;</i>
                    店铺首页
                </a>
                <a href="{{shopIntro}}">
                    <i class="iconfont">&#xe62a;</i>
                    店铺介绍
                </a>
                <span id="shop-favor" class="brand-favor shop-favor" data-id="{{shopId}}">
                    <i class="iconfont{{#if coled}} coled{{/if}}">&#xe611;</i>
                </span>
            </p>
        </div>
    </div>
{{/ shopBanner}}

<div class="center-content clearfix">
    {{> common/path-nav}}

    {{# brandAbout}}
        <div class="brand-about">
            {{{brandIntro}}}
        </div>
    {{^}}
        <div class="list-left pull-left">
            {{> product/left-content}}
        </div>

        <div class="list-right pull-right">
            {{> list/top-coupon}}

        	{{# sortIntro}}
    			<div class="sort-intro clearfix">
    				<div class="texts pull-left">
    					<p class="name">{{name}}</p>
    					<p class="en-name">{{enName}}</p>
    					<p class="desc">{{{description}}}</p>
    					<div class="key-entry">
    						{{#each keyEntry}}
    							<a href="{{url}}">{{name}}</a>
    						{{/each}}
    					</div>
    				</div>
    				<img class="pull-right img" src="{{img}}">
    			</div>
    		{{/ sortIntro}}

    		{{> list/shop-entry}}

            {{> product/standard-content}}

            {{> product/latest-walk}}

        </div>
    {{/ brandAbout}}
</div>