shop-index.hbs
3.45 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
91
92
93
94
95
96
97
98
99
<div class="blk-page yoho-shop-index">
<div class="center-content">
{{# navPath}}
{{> path-nav}}
{{/ navPath}}
</div>
<div class="center-content clearfix">
{{> brand-banner-list }}
{{> list/shop-menu }}
{{> list/banner-info }}
</div>
{{# banner.resources}}
{{#if newProducts}}
<div class="center-content clearfix slide-warp">
{{#each largeSlideImg}}
{{#each data}}
<div class="slide-left">
<a href="{{url}}">
<img src="{{src}}" alt="">
</a>
</div>
{{/each}}
{{/each}}
<div class="slide-right">
{{#each oneRowTwoColImages}}
{{#each data}}
<a href="{{url}}">
<img src="{{src}}" alt="">
</a>
{{/each}}
{{/each}}
</div>
</div>
{{/if}}
{{#if newProducts}}
<div class="center-content clearfix new-arrival-warp">
<div class="floor-header clearfix">
<h2 class="floor-title en-size">NEW ARRIVALS</h2>
<p class="floor-title zh-size">最新上架</p>
<a class="floor-more" href="#">MORE</a>
</div>
<div class="goods-wrap">
{{#each newProducts}}
<div class="goods-info" data-skn="{{productSkn}}">
<a href="" target="_blank">
<img class="lazy thumb" data-original="{{src}}" style="display: block;">
</a>
<div class="desc">
<a class="name" href="" target="_blank">{{productName}}</a>
<p class="price">¥{{round salesPrice 2}}</p>
</div>
</div>
{{/each}}
</div>
</div>
{{/if}}
{{#if hotProducts}}
<div class="center-content clearfix hot-product-warp">
<div class="floor-header clearfix">
<h2 class="floor-title en-size">HOT</h2>
<p class="floor-title zh-size">人气单品</p>
<a class="floor-more" href="#">MORE</a>
</div>
<div class="goods-wrap">
{{#each hotProducts}}
<div class="goods-info" data-skn="{{productSkn}}">
<a href="" target="_blank">
<img class="lazy thumb" data-original="{{src}}" style="display: block;">
</a>
<div class="desc">
<a class="name" href="" target="_blank">{{productName}}</a>
<p class="price">¥{{round salesPrice 2}}</p>
</div>
</div>
{{/each}}
</div>
</div>
{{/if}}
{{/ banner.resources}}
<div class="center-content clearfix all-product-warp">
<div class="floor-header clearfix">
<h2 class="floor-title en-size">ALL</h2>
<p class="floor-title zh-size">全部商品</p>
</div>
{{> list/shop-sort}}
{{> list/order-area}}
<div class="goods-wrap">
</div>
</div>
</div>