shop-list.hbs 2.61 KB
{{> mip-download}}
<div class="good-list-page yoho-page">
    {{> mip-head}}
    <!-- 基础店铺页面 -->
    {{# shopInfo}}
    <div id="brand-header" class="brand-header" data-id={{shops_id}} data-isbaseshop="{{isBaseShop}}">
        {{#if banner}}
        <mip-img src="{{image2 banner w=750 h=176 q=60}}"></mip-img>
        {{/if}}
        <button on="tap:introBox.toggle" class="btn-intro" id="shopIntroBtn" role="button" tabindex="0">
            店铺介绍
        </button>
    </div>

    <mip-lightbox
        id="introBox"
        layout="nodisplay"
        class="mip-hidden brand-intro-box"
        content-scroll>
        <div id="shopIntro" class="brand-intro">
            <h2>店铺介绍</h2>
            <div class="con">
                {{{shop_intro}}}
            </div>
            <p class="fo">
                <span class="fo-icon"></span> 100%品牌授权正品
            </p>
            <span id="closeIntroBtn" on="tap:introBox.toggle" class="iconfont close-intro"></span>
        </div>
    </mip-lightbox>
    {{/ shopInfo}}

    <div class="goods-tab-area">
        <mip-vd-tabs class="tab">
            <section class="shop-tabs tab-navs">
                <li class="shop-tab-nav tab-nav active">
                    <span>首页</span>
                    <em>|</em>
                </li>
                <li class="shop-tab-nav tab-nav">
                    <span>新品</span>
                    <em>|</em>
                </li>
            </section>
            {{!--shop-tab: 首页--}}
            <div id="red-index" class="tab-panel red-shop-index">
                {{> shop/mip-modules}}
                <div id="indexGoodsContainer" class="goods-container">
                    <div class="default-goods container clearfix">
                        {{> mip-product-list list=defaultGoods}}
                    </div>
                </div>

                {{#if defaultGoods}}
                    <div class="all-goods">
                        <a href="{{allGoodsUrl}}">点击查看全部商品</a>
                    </div>
                {{/if}}
            </div>

            {{!--shop-tab: 最新--}}
            <div class="new-goods">
                {{> mip-product-list list=newGoods}}

                {{#if newGoods}}
                    <div class="all-goods">
                        <a href="{{allGoodsUrl}}&type=new">点击查看全部商品</a>
                    </div>
                {{/if}}
            </div>
        </mip-vd-tabs>
        <a href="{{allGoodsUrl}}" class="all-goods-tab">
            <span>全部商品</span>
        </a>
    </div>
</div>
{{> mip-suspend-cart}}
{{> mip-footer}}