list.phtml 2.76 KB
{{> layout/header}}
<div class="product-list-page product-page yoho-page">
    {{# list}}
        {{# 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">&#xe617;</i>
                            品牌首页
                        </a>
                        <a href="{{brandIntro}}">
                            <i class="iconfont">&#xe618;</i>
                            品牌介绍
                        </a>
                        <span id="brand-favor" class="brand-favor">
                            <i class="iconfont{{#if coled}} coled{{/if}}">&#xe616;</i>
                        </span>
                    </p>
                </div>
            </div>
        {{/ brandBanner}}

        <div class="center-content clearfix">
            {{> layout/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">
                    {{# shopEntry}}
                        <div class="shop-entry clearfix">
                            <a class="pull-left" href="{{home}}">
                                <img class="logo" src="{{logo}}">
                            </a>

                            <div class="name pull-left">
                                <a class="shop-name" href="{{home}}">{{shopName}}</a>
                                <p class="sorts">
                                    {{#each sort}}
                                        <a href="{{href}}">{{name}}</a>

                                        {{#unless @last}}
                                            /
                                        {{/unless}}
                                    {{/each}}
                                </p>
                            </div>

                            <a class="entry-btn pull-right" href="{{home}}">
                                进入品牌店铺
                                <span class="iconfont">&#xe601;</span>
                            </a>
                        </div>
                    {{/ shopEntry}}

                    {{> product/standard-content}}

                    {{> product/latest-walk}}
                </div>
            {{/ brandAbout}}
        </div>
    {{/ list}}
</div>
{{> layout/footer}}