product-list.hbs
2.01 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
<div id="ssr" class="product-list " style="position: absolute; top: 0; width: 100%;">
<div class="blk-header-wrap" class="is-fixed">
<div class="blk-header">
<div class="blk-header-left">
<i class="icon icon-back go-back-btn"></i>
</div>
<div class="blk-header-right">
</div>
<div class="blk-header-main">
<span class="blk-header-title">{{navTitle}}</span>
</div>
</div>
<div class="blk-header-gap"></div>
</div>
<div class="top-filter clearfix">
<div class="filter-content">
<ul class="filter-type">
<li
class="type-item"><span class="sort-label">新品<i class="icon down icon-sort-down"></i></span></li>
<li
class="type-item"><span class="sort-label">筛选
<i class="icon down icon-sort-down"></i></span></li>
</ul>
</div>
</div>
<div class="goods-box list-items">
<ul class="cardlist card-large clearfix">
{{#list}}
<li class="card">
<div class="card-pic">
<a>
<img src="{{resizeImage default_images 330 440}}" alt="{{product_name}}">
</a>
</div>
<div class="card-bd">
<h2 class="card-label">
<a class="line-clamp-1">{{product_name}}</a>
</h2>
<span class="good-price sale-price">¥{{toFixed sales_price
2}}</span>
{{#if market_price}}
<span class="good-price old-price">
¥{{toFixed market_price 2}}
</span>
{{/if}}
</div>
</li>
{{/list}}
</ul>
</div>
</div>
<div id="product-list"></div>