break-code.hbs 1.75 KB
<div class="break-code-page goods-page yoho-page">

    {{#content}}
        {{! 头部banner}}
        {{> resources/banner-top}}
    {{/content}}

    {{# nav}}
        <ul id="list-nav" class="list-nav clearfix">

            {{# sortData}}
                <li data-id="{{sortId}}" data-allSub="{{allSub}}">
                    <a href="javascript:void(0);">
                        <span class="span-test">{{sortName}}</span>
                    </a>
                </li>
            {{/ sortData}}

            <li class="filter">
                <a href="javascript:void(0);">
                    <span class="span-test">筛选</span>
                    <span class="iconfont cur">&#xe613;</span>
                </a>
            </li>
        </ul>
        <div class="sub-size">
            {{# sub}}
            <div class="size-area">
                <div class="swiper-size" id="size-swiper-{{key}}" {{#if @first}}style="display:block"{{/if}}>
                    <ul class="swiper-wrapper">
                        {{# this}}
                        <li class="swiper-slide" data-id="{{sizeId}}">{{sizeName}}</li>
                        {{/ this}}
                    </ul>
                </div>
            </div>
            {{/ sub}}
        </div>
    {{/ nav}}

    <div id="goods-container" class="goods-container">
        <div class="coat-goods container clearfix">
            {{# goods}}
                {{> common/goods}}
            {{/ goods}}
        </div>
        <div class="trouser-goods container hide clearfix"></div>
        <div class="shoes-goods container hide clearfix"></div>
        <div class="other-goods container hide clearfix"></div>

        {{> common/filter}}

    </div>

    {{> common/query-param}}

    {{> common/suspend-cart}}

</div>