shop-sidebar.phtml
1.51 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
{{#brandBrowse}}
<div class="brand-collect left-modular">
{{#if title}}
<h2 class="title">{{title}}</h2>
{{/if}}
<ul class="left-list">
{{#each list}}
<li class="{{#if cur}} on {{/if}}"><a href="{{url}}">{{brandName}}</a></li>
{{/each}}
</ul>
</div>
{{/brandBrowse}}
{{#recommend}}
<div class="classic-recommend left-modular">
{{#if title}}
<h2 class="title">{{title}}</h2>
{{/if}}
<ul class="left-list">
{{#each list}}
<li>
<a href="{{url}}">
<div class="classic-name">
{{#name}}
<p class="name">{{.}}</p>
{{/name}}
{{#enName}}
<p class="en-name">{{.}}</p>
{{/enName}}
</div>
<img src="{{img}}" />
</a>
</li>
{{/each}}
</ul>
</div>
{{/recommend}}
{{#hotRecommend}}
<div class="sell-recommend left-modular">
{{#if title}}
<h2 class="title">{{title}}</h2>
{{/if}}
<ul class="left-list">
{{#each list}}
<li>
<a target="_blank" href="{{url}}"><img src="{{img}}" alt="{{title}}" /></a>
</li>
{{/each}}
</ul>
</div>
{{/hotRecommend}}