index.phtml 3.56 KB
{{> layout/header}}
    {{# shopIndex}}
    <div class="shop-index yoho-page">
        <div class="search-area">
            <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" placeholder="搜索店铺内潮品" name="query">
                    <input type="hidden" name="from" value="search">
                    <i class="clear-input iconfont hide">&#xe626;</i>
                    <span id="search" class="search" type="submit">搜索</span>
                </form>
            </div>
        </div>
        <div class="branner-top">
            <img src="{{branerImg}}">
            <div class="collect"></div>
        </div>

        <ul id="nav1" class="nav">
            <li><a href="#" tab="home-page">首页</a></li><li><a href="#" tab="new-arrival">上新</a></li>
             <li><a href="#" tab="popularity">人气</a></li>
            <li><a href="{{goodList}}" target="_blank">全部商品</a></li>
        </ul> 

        <ul>
            <li id="home-page" class="main">
                <div class="coupon">
                    {{#each coupon}}
                    <img src="{{couponType}}">
                    {{/each}}
                </div>
                
                {{#unless  brands}}
                <div class="multi-brands">
                    <h2>品牌一览</h2>
                    <div class="brand-img">
                        {{#each brandImg}}
                        <img src="{{brandType}}">
                        {{/each}}
                    </div>
                </div>
                {{/unless}}

                <div class="centerimg">
                    <img src="{{preferential}}">
                </div>

                <ul class="spring">
                    {{#each spring}}
                    <li>
                        <img src="{{springType}}">
                    </li>
                    {{/each}}
                </ul>

                {{! 热门品类}}
                {{# hotCategory}}
                    {{> home/hot_category}}
                {{/ hotCategory}}

                <div class="title">
                    人气单品
                    <a class="more" href="{{more_url}}">&#xe618;</a>
                </div>
                    <ul class="product-list">
                        {{#each hotList}}
                        <li>
                            <img src="{{listUrl}}">
                            <div class="list-price">
                                <p>VANS AP M BERZE</p>
                                <p><span class="red">{{originalPrice}}</span>
                                    <span>{{presentPrice}}</span>
                                </p>
                            </div>
                        </li>
                        {{/each}}
                    </ul>
            </li>

             <li id="new-arrival" class="main list hide">
                {{# newGood}}
                    {{> good}}
                {{/ newGood}}
            </li>

            <li id="popularity" class="main list hide">
                {{# popuGood}}
                    {{> good}}
                {{/ popuGood}}
            </li>
           
           
       
        <div class="discount-area">
            {{> product/goods-nav-top}}
        </div>        
        
        <div class="fotter">
            <ul>
                <li>商品分类</li>
                <li>店铺简介</li>
            </ul>
       </div>
    </div>
    {{/ shopIndex}}
{{> layout/footer}}