cart.hbs
4.31 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
100
101
102
103
104
105
106
<div class="shop-cart yoho-page clearfix">
<div class="order-edit order-cart" id="cart-page">
<div class="order-title cart-page-title order-ensure-title">
{{> shopping-step}}
</div>
{{#unless cart.isLogin}}
<div class="cartnew-tips">
<div class="tipsbox" id="tipsbox">
<a href="javascript:void(0);" class="btn_close" title="关闭"></a>
<strong>温馨提示:</strong>亲爱的顾客,您还没有 <a href="{{cart.loginUrl}}" class="a_eu">登录</a>
哦,所有商品价格、活动信息以登录后显示为准.
</div>
</div>
{{^}}
<div class="cartnew-tips">
<div class="tipsbox" id="tipsbox">
<a href="javascript:void(0);" class="btn_close" title="关闭"></a>
<strong>温馨提示:</strong>1. 选购单中的商品不保留库存,请及时结算。 2. 商品的价格、相关活动信息及库存以订单提交时为准。
</div>
</div>
{{/unless}}
<div class="order-pay" id="Y_CartListWrap">
{{#cart}}
{{> mix/cart/cart-list}}
{{/cart}}
</div>
</div>
{{#unless @root.pc.product.removeRecentView}}
<div>
<textarea class="lazy-load-object" style="visibility: hidden;">
<script>
loadFineProduct();
fetchLatestWalk();
</script>
</textarea>
</div>
<div class="bottom-tab bottom-tab-slide none {{#unless cart.isEmpty}}mt30{{/unless}}">
{{!--<span class="bottom-title {{#if cart.deleteShop}}cur{{/if}}
{{#unless cart.deleteShop}}none{{/unless}}">凑单商品</span>--}}
<span class="bottom-title cur" data-type="fine" data-role="fine-tab">为您优选</span>
<span class="bottom-title" data-role="latestWalk-tab">最近浏览</span>
<span class="change">换一批
<span class="iconfont change-icon"></span>
</span>
</div>
<div class="individual-slide bottom-slide-content none">
<!--<div data-role="together-slide" class="slide-panel"></div>-->
<div data-role="fine-slide" class="slide-panel"></div>
<div data-role="latestWalk-slide" class="slide-panel" style="display:none;"></div>
</div>
{{> cart-together-tpl }}
{{/unless}}
<div class="loading loading-single"><span></span>请稍后...</div>
<div class="modal-overflow" style="display: none;" data-role="mdialog" id="Y_goodsSelectWinDialog">
<div class="body-modal-black"></div>
<div id="Y_goodsSelectWin" class="goods-select-win mmodal-dialog cart-togetherGoods" style="top:50px;">
<div class="close" data-role="mdialog-close">
<i class="iconfont"></i>
</div>
<div class="content goods-select-content">
<div class="detail-body"></div>
</div>
</div>
</div>
</div>
<!-- 商品详细信息窗口 -->
<!--
<script type="text/javascript">
(function (d) {
window.bd_cpro_rtid = "P1fsPWc";
var s = d.createElement("script");
s.type = "text/javascript";
s.async = true;
s.src = location.protocol + "//cpro.baidu.com/cpro/ui/rt.js";
var s0 = d.getElementsByTagName("script")[0];
s0.parentNode.insertBefore(s, s0);
})(document);
</script>
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
window.criteo_q.push(
{event: "setAccount", account: 16184},
{event: "setCustomerId", id: "{{uid}}"},
{event: "setSiteType", type: "d"},
{event: "viewBasket", item: {{{cart.criteo}}} }
);
</script>
-->
<!-- 聚效 -->
<!--
<script type="text/javascript">
var _mvq = window._mvq || [];
window._mvq = _mvq;
_mvq.push(['$setAccount', 'm-23428-1']);
_mvq.push(['$setGeneral', 'cartview', '', /*用户名*/ '', '{{uid}}']);
_mvq.push(['$logConversion']);
_mvq.push(['$addItem', '', /*商品id*/ '{{cart.ids}}', '', '']);
_mvq.push(['$logData']);
</script>
-->