index.phtml 1.79 KB
{{> layout/header}}

<div class="home-page yoho-page girls" data-page="girls" data-newarrivls='{"url":"/girls/commodity","pageCount":"4","flag":"girls"}'>
    {{# girls}}

    {{! 头部banner}}
    {{# debrisSlider}}
    <div class="debris-slider clearfix">
        <div class="left-col col">
            {{# left}}
            <a href="{{href}}">
                <img class="lazy" data-original="{{img}}">
            </a>
            {{/ left}}
        </div>
        <div class="center-col col">
            <ul class="slide-wrapper">
                {{# center}}
                <li>
                    <a href="{{href}}">
                        <img class="lazy" data-original="{{img}}">
                    </a>
                </li>
                {{/ center}}
            </ul>
            <div class="slide-switch">
                <a class="prev" href="javascript:;">
                    <span class="iconfont">&#xe60c;</span>
                </a>
                <a class="next" href="javascript:;">
                    <span class="iconfont">&#xe60b;</span>
                </a>
            </div>
        </div>
        <div class="right-col col">
            {{# right}}
            <a href="{{href}}">
                <img class="lazy" data-original="{{img}}">
            </a>
            {{/ right}}
        </div>
    </div>
    {{/ debrisSlider}}

    {{! 优选品牌}}
    {{# preferenceBrands}}
        {{> index/preference-brand}}
    {{/ preferenceBrands}}

    {{! 品类推荐}}  
    {{# recommend}}
        {{> index/girl-recommend}} 
    {{/ recommend}}
    
    {{! 单品/广告}}  
    {{# singlehot}}
        {{> index/girl-singlehot}} 
    {{/ singlehot}}


    {{! 新品上架}}
    {{# newArrivls}}
        {{> index/commodity}}
    {{/ newArrivls}}

    {{/ girls}}
</div>
{{> layout/footer}}