shop-reds.hbs 2.52 KB
{{!--
    desc: 红人店铺
--}}
{{> mip-download}}
<div class="reds-shop">
    {{> mip-head}}
    {{!--shop-header--}}
    <div class="shop-header brand-header">
        {{#if banner}}
           <div class="branner-top">
                <div class="shop-back-img">
                    <mip-img src="{{image2 banner w=750 h=234}}"></mip-img>
                </div>
                {{#if shopInfo.shop_logo}}
                    <mip-img class="logo" src="{{image2 shopInfo.shop_logo w=100 h=100}}"></mip-img>
                {{/if}}
                <h1 class="store-name">{{shopInfo.shop_name}}</h1>
                <div class="fav-box clearfix">
                    <div class="favs pull-left">粉丝数: {{favCount}} </div>
                </div>
            </div>
        {{/if}}
    </div>

    <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 data-target="#red-index" data-trigger="tab" data-funHome>首页</span>
                    <em>|</em>
                </li>
                <li class="shop-tab-nav tab-nav">
                    <span data-target="#all-goods" data-trigger="tab" data-funGetNewGoods>新品</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">
                        {{# defaultGoods}}
                            {{> mip-product-list}}
                        {{/ defaultGoods}}
                    </div>
                </div>
                <div class="all-goods">
                    <a href="{{allGoodsUrl}}">点击查看全部商品</a>
                </div>
            </div>

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

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