header.hbs 2.89 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/index">帮助中心</a>
                </li>
                <li class="tag-phone">
                    <span class="iconfont tools-icon icon-phone">&#xe649;</span>
                    手机版
                    <div class="down-app-box sub-wrapper">
                        <div class="down-qr"></div>
                        <p>扫描二维码<br>下载YOHO!BLK手机客户端</p>
                        <a href="/download" class="more-app">更多客户端下载请点击</a>
                    </div>
                </li>
                <li class="tag-bag">
                    <a href="{{../siteUrl}}/shopping/cart">
                    <span class="iconfont tools-icon icon-bag">&#xe6b2;</span>
                        购物袋
                    </a>
                    <div class="mini-bag-box-wrap">
                        <div class="mini-bag-box sub-wrapper">
                        <div class="bag-goods">
                            <div class="mini-goods-list-wrap nano"><div class="nano-content"><dl class="mini-goods-list"></dl></div></div>
                            <div class="go-bag-btn">
                                <a href="{{../siteUrl}}/shopping/cart">去购物车结算</a>
                            </div>
                        </div>
                        <div class="bag-content">
                            <p class="cn">您的购物袋暂无商品</p>
                            <p class="en">
                                Your shopping bag is empty ,<br>
                                welcome to go shopping !
                            </p>
                        </div>
                    </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
{{/ pageHeader}}
{{> nav-menu}}