page_header.phtml 1.91 KB
{{#pageHeader}}
<header id="yoho-header" class="yoho-header{{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}">
    {{#navBack}}
    <a href="{{#if backUrl}}{{backUrl}}{{^}}javascript:history.go(-1);{{/if}}" class="iconfont nav-back buriedpoint">&#xe610;</a>
    {{/navBack}}
    {{#navBtn}}
    <span class="iconfont nav-home">&#xe638;</span>
    {{/navBtn}}
    {{#shopPage}}
    <a href="{{url}}" class="nav-sub-right">{{text}}</a>
    {{/shopPage}}
    {{#currencyPage}}
    <a href="/home/helpDetail?code=20151230-102233&caption=YOHO币介绍" class="iconfont nav-home">&#xe639;</a>
    {{/currencyPage}}
    {{#currencyDetailPage}}
    <a href="/home/helpDetail?code=20111130-152530&caption=如何使用YOHO币支付" class="iconfont nav-home">&#xe639;</a>
    {{/currencyDetailPage}}
    {{#orderDetail}}
    <a href="{{serviceUrl}}" target="_blank" class="iconfont nav-home">&#xe63c;</a>
    {{/orderDetail}}
    {{#navTitle}}
    <p class="nav-title">{{.}}</p>
    {{/navTitle}}
</header>
{{#navBtn}}
<div class="homebuttom hide {{#if ../boys}} boys{{/if}}{{#if ../girls}} girls{{/if}}{{#if ../kids}} kids{{/if}}{{#if ../lifeStyle}} life-style{{/if}}">
    <ul>
        <li>
            <a href="{{ indexUrl }}">
                <i class="iconfont">&#xe62a;</i>
                <span>首页</span>
            </a>
        </li>
        <li>
            <a href="{{ categoryUrl }}">
                <i class="iconfont">&#xe62d;</i>
                <span>分类</span>
            </a>
        </li>
        <li>
            <a href="{{ shoppingCartUrl }}">
                <i class="iconfont">&#xe62c;</i>
                <span>购物车</span>
            </a>
        </li>
        <li>
            <a href="{{ mineUrl }}">
                <i class="iconfont">&#xe62b;</i>
                <span>我的</span>
            </a>
        </li>
    </ul>
</div>
{{/navBtn}}

{{/pageHeader}}