header.hbs 2.59 KB
{{# pageHeader}}
<div class="blk-header">
    <div class="center-content">
        <div class="yoho-group-map">
            <span class="iconfont">&#xe600;</span>
            <a href="javascript:;">YOHO!BLK</a>
            <ul class="yoho-group">
                {{# yohoGroup}}
                <li>
                    <a href="{{link}}" data-en="{{en}}" data-cn="{{cn}}">{{en}}</a>
                </li>
                {{/ yohoGroup}}
            </ul>
        </div>
        <div class="header-tools right">
            <ul>
                <li>
                    {{#if userName}}
                        Hi~
                        <a href="{{../siteUrl}}/me">{{userName}}</a>
                        <a href="{{../siteUrl}}/passport/logout">[退出]</a>
                    {{^}}
                        <a href="{{../siteUrl}}/passport/login">登录</a> | 
                        <a href="{{../siteUrl}}/passport/reg">注册</a>
                    {{/if}}
                </li>
                <li>
                    <a href="{{../siteUrl}}/me">个人中心</a>
                </li>
                <li>
                    <a href="{{../siteUrl}}/help">帮助中心</a>
                </li>
                <li class="tag-phone">
                    <span class="tools-icon icon-phone"></span>
                    手机版
                    <div class="down-app-box sub-wrapper">
                        <div class="down-qr"></div>
                        <p>扫描二维码<br>下载YOHO!BLK手机客户端</p>
                        <a href="#" class="more-app">更多客户端下载请点击</a>
                    </div>
                </li>
                <li class="tag-bag">
                    <a href="{{../siteUrl}}/shopping/cart">
                        <span class="tools-icon icon-bag">
                            <b class="bag-num"></b>
                        </span>
                        购物袋
                    </a>
                    <div class="mini-bag-box sub-wrapper">
                        <div class="bag-goods bag-empty">
                            <dl class="mini-goods-list"></dl>
                            <div class="go-bag-btn">
                                <a href="{{../siteUrl}}/shopping/cart">去购物车结算</a>
                            </div>
                        </div>
                        <div class="bag-content">
                            购物袋空空的哦,去看看心仪的商品吧~
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
{{/ pageHeader}}
{{> nav-menu}}