list.hbs 5.77 KB
{{# goodList}}
    {{# search}}
        <div id="search-input" class="search-input">
            <form id="search-form" action="{{url}}" method="get">
                <i class="search-icon iconfont">&#xe60f;</i>
                <input type="text" value="{{default}}" name="query" class="buriedpoint" data-bp-id="shop-search_input_1" autocomplete="off">
                <input type="hidden" value="search" name="from">
                <i class="clear-input iconfont hide">&#xe626;</i>
                <span id="search" class="search buriedpoint" type="submit" data-bp-id="shop-search_btn_0">搜索</span>
            </form>
        </div>
        <ul class="search-associate"></ul>
    {{/ search}}

    {{# brandWay}}
        <div class="brand-way">
            <a  href={{url}}>
                <img class="brand-thumb" src={{thumb}}>
                <span class="brand-name">{{name}}</span>
                <span class="entry">
                    进入店铺
                    <i class="iconfont">&#xe614;</i>
                </span>
            </a>
        </div>
    {{/ brandWay}}

    {{# shopBanner}}
        <div class="brand-header">
            <img class="lazy" data-original={{banner}}>
        </div>
    {{/ shopBanner}}
    <!-- 品牌页面 -->
    {{# brandHome}}
        <div id="brand-header" class="brand-header" data-id={{id}}>
            <img class="lazy" data-original={{banner}}>
            <a class="btn-intro" href="javascript:void(0);">
                品牌介绍
            </a>
            <a class="btn-col" href="javascript:void(0);">
                <span class="iconfont">&#xe622;</span>
                <span class="txt"></span>
            </a>
        </div>
        <div id="intro-box" class="brand-intro-box hide">
            <div id="brand-intro" class="brand-intro">
                <h2>品牌介绍</h2>
                <div class="con">
                    {{{intro}}}
                </div>
                <p class="fo">
                    <span class="iconfont">&#xe629;</span>
                    100%品牌授权正品
                </p>
                <span class="iconfont close-intro">&#xe623;</span>
            </div>
        </div>
    {{/ brandHome}}
    <!-- /品牌页面 -->

    <!-- 基础店铺页面 -->
    {{# baseShopHome}}
        <div id="brand-header" class="brand-header" data-id={{id}} data-isbaseshop="{{isBaseShop}}">
            <img class="lazy" data-original={{banner}}>
            <a class="btn-intro" href="javascript:void(0);">
                店铺介绍
            </a>
            <a class="btn-col" href="javascript:void(0);">
                <span class="iconfont">&#xe622;</span>
                <span class="txt"></span>
            </a>
        </div>
        <div id="intro-box" class="brand-intro-box hide">
            <div id="brand-intro" class="brand-intro">
                <h2>店铺介绍</h2>
                <div class="con">
                    {{{intro}}}
                </div>
                <p class="fo">
                    <span class="iconfont">&#xe629;</span>
                    100%品牌授权正品
                </p>
                <span class="iconfont close-intro">&#xe623;</span>
            </div>
        </div>
        <input type="hidden" name="app_version" value="{{appVersion}}">
    {{/ baseShopHome}}
    <!-- /基础店铺页面 -->

    <!-- 优惠卷 -->
    <div class="coupon-group"></div>

    <div>
        <ul id="list-nav" class="list-nav clearfix">
            <li class="default active buriedpoint first-li-more" data-bp-id="shop_listnav_default_1">
                <a href="javascript:void(0);">
                    <span class="nav-txt">默认</span>
                    <span class="iconfont up cur hide">&#xe615;</span>
                    <span class="iconfont down cur">&#xe616;</span>
                </a>
            </li>
            <li class="price buriedpoint" data-bp-id="shop_listnav_price_1">
                <a href="javascript:void(0);">
                    <span class="nav-txt">价格</span>
                    <span class="icon">
                        <i class="iconfont up cur">&#xe615;</i>
                        <i class="iconfont down">&#xe616;</i>
                    </span>
                </a>
            </li>
            <li class="discount buriedpoint" data-bp-id="shop_listnav_discount_1">
                <a href="javascript:void(0);">
                    <span class="nav-txt">折扣</span>
                    <span class="icon">
                        <i class="iconfont up cur">&#xe615;</i>
                        <i class="iconfont down">&#xe616;</i>
                    </span>
                </a>
            </li>
            <li class="filter buriedpoint" data-bp-id="shop_listnav_filter_1">
                <a href="javascript:void(0);">
                    <span class="nav-txt">筛选</span>
                    <span class="iconfont cur">&#xe613;</span>
                </a>
            </li>
        </ul>
        <div class='new-list hide'>
            <ul>
                <li class='active default' data-bp-id='shop_listnav_default_1'>默认</li>
                <li class='new' data-bp-id='shop_listnav_new_1'>最新</li>
            </ul>
        </div>
    </div>

    <div id="goods-container" class="goods-container">
        <div class="default-goods container clearfix"></div>
        <div class="new-goods container clearfix"></div>
        <div class="sale-goods container clearfix"></div>
        <div class="price-goods container clearfix hide"></div>
        <div class="discount-goods container clearfix hide"></div>

        {{> common/filter}}
    </div>

    {{> common/query-param}}
    {{> common/suspend-home}}
    {{> common/suspend-cart}}
{{/ goodList}}

<input type="hidden" class="domain" value={{domain}}>
<input type="hidden" class="shopId shop-id" value={{shopId}}>