index.phtml 3.37 KB
{{> layout/header}}
<div class="default-me-page me-page yoho-page clearfix">
    {{# me}}
        {{> home/path}}

        {{> home/navigation}}

        <div class="me-main">
            {{# content}}
                {{#if messages}}   
                    <p class="message-tip">
                        消息提示:
                        {{# messages}}
                            <a href="{{href}}">{{name}}</a>
                            <b>({{count}})</b>
                        {{/ messages}}

                        <span id="close-message" class="close iconfont">&#xe602;</span>
                    </p>
                {{/if}}

                {{# latestOrders}}
                    <div class="latest-orders block">
                        <h2 class="title">
                            <a class="more-orders more" href="{{more}}">
                                更多订单
                            </a>
                        </h2>
                        {{> home/order-block}}
                    </div>
                {{/ latestOrders}}

                {{# favBrand}}
                    <div class="brands block">
                        <h2 class="title">
                            <a class="more-orders more" href="{{more}}">
                                更多品牌
                            </a>
                        </h2>
                        <ul class="clearfix">
                            {{# brands}}
                                <li>
                                    <a href="{{href}}">
                                        <img class="brand-logo" src="{{logo}}">
                                        <span class="brand-name">{{name}}</span>
                                    </a>
                                </li>
                            {{/ brands}}
                        </ul>
                    </div>
                {{/ favBrand}}

                {{#if newArrival}}
                    <div class="new-arrival block">
                        <h2 class="title">
                            <p class="na-pager-wrap">
                                <span class="na-pager pre no-visible">
                                    <i class="iconfont">&#xe622;</i>
                                </span>
                                <span class="na-pager next">
                                    <i class="iconfont">&#xe621;</i>
                                </span>
                            </p>
                        </h2>
                        <ul class="clearfix">
                            {{# newArrival}}
                                <li>
                                    <a href="{{href}}">
                                        <img class="thumb" src="{{thumb}}">
                                        <p class="name">{{name}}</p>
                                        <span class="price">¥{{price}}</span>
                                    </a>
                                </li>
                            {{/ newArrival}}
                        </ul>
                    </div>
                {{/if}}

                {{# banner}}
                    <a class="banner block" href="{{href}}">
                        <img class="banner" src="{{img}}">
                    </a>
                {{/ banner}}
            {{/ content}}

            {{> home/help-us}}
        </div>
    {{/ me}}
</div>
{{> layout/footer}}