nav-menu.hbs
3.63 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{{# navMenu}}
<div class="blk-nav">
<div class="main-nav">
<div class="center-content">
<ul class="main-nav-list">
{{# navbars}}
<li class="nav-item{{#if cur}} cur{{/if}}">
<a href="{{https link}}"{{#if isNewPage}} target="_blank"{{/if}}>
<span class="nav-en">{{en}}</span>
<span class="nav-cn">{{cn}}</span>
</a>
</li>
{{/ navbars}}
</ul>
<div class="main-logo">
<a href="{{../siteUrl}}"></a>
</div>
</div>
</div>
<div class="sub-nav">
<div class="center-content">
<ul class="sub-nav-list clearfix">
{{# subNav}}
<li{{#if thirdNav}} class="contain-third"{{/if}}>
<a href="{{https link}}">
{{en}}{{cn}}
</a>
{{#if thirdNav}}
<div class="third-nav-wrapper">
<div class="center-content">
{{# thirdNav}}
<dl class="category-list">
{{# this}}
{{#if category}}
<dt>
<a href="{{https link}}">{{name}}</a>
{{#if hot}}
<span class="hot iconfont"></span>
{{/if}}
</dt>
{{^}}
<dd>
<a href="{{https link}}">{{name}}</a>
{{#if hot}}
<span class="hot iconfont"></span>
{{/if}}
</dd>
{{/if}}
{{/ this}}
</dl>
{{/ thirdNav}}
<div class="show-detail" data-code="{{imgCode}}">
</div>
</div>
</div>
{{/if}}
</li>
{{/ subNav}}
</ul>
<div class="search-entry">
<span class="iconfont"></span>
<div class="search-wrapper">
<div class="search-input">
<form id="search-form" action="{{../siteUrl}}/product/query">
<span class="iconfont left"></span>
<input type="text" name="query" id="search-key" class="search-key" autocomplete="off">
<span class="iconfont right clear-input"></span>
</form>
</div>
<ul class="search-hint clearfix"></ul>
<div class="hot-search hide"></div>
</div>
</div>
</div>
</div>
</div>
{{/ navMenu}}