simple-header.hbs 2.04 KB
{{# simpleHeader}}
<div class="simple-header">
    <div class="header-inner clearfix">
        {{# logo}}
        <h1 class="logo">
            <a href="{{url}}">
                <img src="{{image2 img}}" alt="">
            </a>
        </h1>
        {{/ logo}}
        <ul class="header-tool clearfix">
            {{# tool}}
            <li>
                <span>Hi~</span>
                {{# user}}
                <a href="{{userCenter}}">{{.}}</a>
                {{/ user}}

                {{# loginHref}}
                <a href="{{.}}">[请登录]</a>
                {{/ loginHref}}

                {{# logoutHref}}
                <a href="{{.}}">[退出]</a>
                {{/ logoutHref}}

                {{# registerHref}}
                <a href="{{.}}">[免费注册]</a>
                {{/ registerHref}}
            </li>
            <li class="tool-options">
                <span><a href="{{userCenter}}">MY有货</a></span>
                <i class="options-icon down iconfont">&#xe610;</i>
                <i class="options-icon up iconfont">&#xe615;</i>
                <div class="tool-select">
                    <a href="{{favoriteHref}}">我的收藏</a>
                    <a href="{{couponHref}}">优惠券</a>
                </div>
            </li>
            <li>
                <a href="{{orderHref}}">订单中心</a>
            </li>
            <li class="tool-options tool-options-large">
                <span><a href="{{userCenter}}">客户服务</a></span>
                <i class="options-icon down iconfont">&#xe610;</i>
                <i class="options-icon up iconfont">&#xe615;</i>
                <div class="tool-select">
                    <a href="{{#if @root.pc.clientService.new}}http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409{{else}}//www.yohobuy.com/service/client{{/if}}">在线客服</a>
                    <a href="{{helpHref}}">帮助中心</a>
                </div>
            </li>
            {{/ tool}}
        </ul>
    </div>
</div>
{{/ simpleHeader}}