header.hbs
2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{{# pageHeader}}
<div class="yoho-header">
<div class="center-content">
<div class="yoho-group-map">
<span class="iconfont"></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-content">
购物袋空空的哦,去看看心仪的商品吧~
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
{{/ pageHeader}}
{{> nav-menu}}