hotrank.phtml 2.37 KB
{{> layout/header}}
<div class="hotrank-page home-page yoho-page">
{{# hotrank}}
    {{! 头部banner}}
    {{# slide}}
        {{> index/slide-banner}}
    {{/ slide}}
    
    {{! 人气单品}}
    {{# popular}}
    {{> index/floor-header}}
    <div class="popular-goods"> 
        <div class="popular-list clearfix">
            {{# list}}
            <li class="popular-item{{@index}}">
                <div class="item-img">
                    <a target="_blank" href="{{href}}"><img class="lazy" data-original="{{img}}"></a>
                    <i class="polular-icon">{{rank}}</i>
                </div>
                <div class="item-content">
                    <h2>{{title}}</h2>
                    <p>¥{{# price}}<span>{{.}}</span>{{/ price}{{sPrice}}</p>
                </div>
            </li>
            {{/ list}} 
        </div>
    </div>
    {{/ popular}}
    
    {{! 热门品牌}}
    {{# hotBrands}}
    {{> index/floor-header}}
    <div class="hot-brands logo-brand clearfix" data-url="{{brandUrl}}"></div>
    {{/ hotBrands}}

    {{! 一周热卖}}
    {{# hotWeek}}
    {{> index/floor-header}}
    <div class="hot-week">
        <div class="hot-cate">
            <ul class="clearfix">
                {{# nav}}
                <li data-sid="{{sid}}">
                    <a href="javascript:;">{{textCn}}</a>
                </li>
                {{/ nav}}
            </ul>
        </div>
        <div class="hot-week-list clearfix"> 
            {{# list}}
            <!-- <li>
                <div class="item-img">
                    <a target="_blank" href="{{url}}"><img class="lazy" data-original="{{img}}"></a>
                    <i class="polular-icon">{{rank}}</i>
                </div>
                <div class="item-content">
                    <h2>{{title}}</h2>
                    <p>{{# price}}<span>{{.}}</span>{{/ price}}{{sPrice}}</p>
                </div>
            </li> -->
            {{> product/good}}
            {{/ list}}
        </div>
        <div class="floatlayer">
            <ul>
                {{# nav}}
                <li data-sid="{{sid}}">
                    <a href="javascript:;"><span>{{textCn}}</span></a>
                </li>
                {{/ nav}}
            </ul>
        </div>
    </div>
    {{/ hotWeek}}
{{/ hotrank}}
</div>
{{> layout/footer}}