index.phtml 2.94 KB
{{> layout/header}}
<div class="good-list-page yoho-page">
    {{# goodList}}
        {{# search}}
            <div id="search-input" class="search-input">
                <i class="search-icon iconfont">&#xe60f;</i>
                <input type="text" value={{default}}>
                <i class="clear-input iconfont hide">&#xe61a;</i>
                <button id="search" class="search">搜索</button>
            </div>
        {{/ search}}

        {{# brandWay}}
            <div class="brand-way">
                <a  href={{url}}>
                    <img class="brand-thumb" src={{thumb}}>
                    <span>{{name}}</span>
                    <span class="entry">
                        进入品牌
                        <i class="iconfont">&#xe614;</i>
                    </span>
                </a>
            </div>
        {{/ brandWay}}

        {{# brand}}
            <div class="brand-header" data-id={{id}}>
                <img class="lazy" data-original={{banner}}>
                <a class="btn-intro" href="javascript:void(0);">
                    品牌介绍
                </a>
                <a class="btn-col" href="javascript:void(0);">
                    <span class="iconfont">&#xe622;</span>
                    收藏
                </a>
            </div>
            <div class="brand-intro-box">
                <div id="brand-intro" class="brand-intro">{{intro}}</div>
            </div>
        {{/ brand}}

        <ul id="list-nav" class="list-nav clearfix">
            <li class="new active">
                <a href="javascript:void(0);">
                    最新
                    <span class="iconfont cur">&#xe616;</span>
                </a>
            </li>
            <li class="price">
                <a href="javascript:void(0);">
                    价格
                    <span class="icon">
                        <i class="iconfont up">&#xe615;</i>
                        <i class="iconfont down cur">&#xe616;</i>
                    </span>
                </a>
            </li>
            <li class="discount">
                <a href="javascript:void(0);">
                    折扣
                    <span class="icon">
                        <i class="iconfont up">&#xe615;</i>
                        <i class="iconfont down cur">&#xe616;</i>
                    </span>
                </a>
            </li>
            <li class="filter">
                <a href="javascript:void(0);">
                    筛选
                    <span class="iconfont">&#xe613;</span>
                </a>
            </li>
        </ul>
        <div id="goods-container" class="goods-container">
            <div class="new-goods">
                {{# new}}
                    {{> good}}
                {{/ new}}
            </div>
            <div class="price-goods hide"></div>
            <div class="discount-goods hide"></div>

            {{> filter}}
        </div>

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