brands.hbs
1.58 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
<div class="home-page yoho-page brands" data-page="brands">
{{# brands}}
{{> common/path-nav}}
{{#if isTab}}
<div class="brands-tabs">
<ul class="clearfix">
{{#each tabHeader}}
<li>
<a href="{{url}}">
<div class="g-mask"></div>
<p class="tips">{{name}}</p>
<img class="lazy" data-original="{{src}}"/>
</a>
</li>
{{/each}}
</ul>
<div class="hover-contain">
<div class="hoverarr">
<i></i>
</div>
</div>
</div>
{{^}}
<ul class="brands-ad clearfix">
{{#each tabHeader}}
<li>
<a href="{{url}}" target="_blank">
<img class="lazy" data-original="{{src}}">
</a>
</li>
{{/each}}
</ul>
{{/if}}
<div class="brands-logo clearfix">
{{#each logos}}
<a href="{{url}}" title="{{name}}" target="_blank">
<img class="lazy" data-original="{{src}}">
</a>
{{/each}}
</div>
<div class="brands-category">
<div class="category-nav">
<span>BRANDS A-Z:</span>
{{#each navigation}}
<a href="#{{this}}">{{this}}</a>
{{/each}}
</div>
</div>
<div class="brands-list" >
{{> brand-list}}
</div>
{{/ brands}}
</div>