shop-sidebar.phtml 1.51 KB
{{#brandBrowse}}
    <div class="brand-collect left-modular">
        {{#if title}}
            <h2 class="title">{{title}}</h2>
        {{/if}}
        <ul class="left-list">
            {{#each list}}
                <li class="{{#if cur}} on {{/if}}"><a href="{{url}}">{{brandName}}</a></li>
            {{/each}}
        </ul>
    </div>
{{/brandBrowse}}

{{#recommend}}
    <div class="classic-recommend left-modular">
        {{#if title}}
            <h2 class="title">{{title}}</h2>
        {{/if}}
        <ul class="left-list">
            {{#each list}}
                <li>
                    <a href="{{url}}">
                        <div class="classic-name">
                            {{#name}}
                                <p class="name">{{.}}</p>
                            {{/name}}
                            {{#enName}}
                                <p class="en-name">{{.}}</p>
                            {{/enName}}
                        </div>
                        <img src="{{img}}" />
                    </a>
                </li>
            {{/each}}
        </ul>
    </div>
{{/recommend}}

{{#hotRecommend}}
    <div class="sell-recommend left-modular">
        {{#if title}}
            <h2 class="title">{{title}}</h2>
        {{/if}}
        <ul class="left-list">
            {{#each list}}
                <li>
                    <a target="_blank" href="{{url}}"><img src="{{img}}" alt="{{title}}" /></a>
                </li>
            {{/each}}
        </ul>
    </div>
{{/hotRecommend}}