cart-medley.hbs
1.91 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
<!-- 凑单,最近浏览商品记录 -->
<script id="togetherProduct" type="text/x-handlebars-template">
<div class="cartnew-goodslist cartnew-goodslist-open" id="orderProduct">
<div class="title">
<h2>
<i class="icon-minus"></i>
<i class="icon-add none"></i>
\{{header}}
</h2>
<div class="right" id="orderProductPage">
\{{#if hasPrev}}
<span class="pageprev btn_type1"><a href="javascript:void(0);" title="上一页"><span></span></a></span>
\{{/if}}
\{{#if hasNext}}
<span class="pagenext btn_type1"><a href="javascript:void(0);" title="下一页"><span></span></a></span>
\{{/if}}
</div>
</div>
<div class="main">
<ul>
\{{# item}}
<li>
<div class="list">
<div class="thumb">
<a href="\{{href}}" title="\{{title}}" target="_blank">
<img src="\{{img}}" alt="\{{alt}}">
</a>
</div>
<div class="name">
<a href="\{{href}}" target="_blank">
<h3>\{{title}}</h3>
</a>
</div>
<div class="price">
\{{#if marketPrice}}
<del>¥\{{marketPrice}}</del>
\{{/if}}
¥\{{price}}</div>
<div class="op">
<a href="javascript:void(0);" data-id="\{{id}}" class="btn_view_s"></a>
</div>
</div>
</li>
\{{/ item}}
</ul>
</div>
</div>
</script>