nav-menu.hbs
4.13 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
78
79
80
81
82
83
84
85
86
87
88
89
90
{{# 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="{{link}}"{{#if isNewPage}} target="_blank"{{/if}}>
{{en}}{{cn}}
</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="{{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="{{link}}">{{name}}</a>
{{#if hot}}
<span class="hot"></span>
{{/if}}
</dt>
{{^}}
<dd>
<a href="{{link}}">{{name}}</a>
{{#if hot}}
<span class="hot"></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">
<li class="cur">
<a href="#">
<span>大衣</span>
<span class="right">约300个商品</span>
</a>
</li>
</ul>
<div class="hot-search hide">
<a href="#">外套</a>
<a href="#">长裤</a>
<a href="#">大衣</a>
<a href="#">毛衣</a>
<a href="#">图案</a>
<a href="#">简约连衣裙</a>
</div>
</div>
</div>
</div>
</div>
</div>
{{/ navMenu}}