...
|
...
|
@@ -11,7 +11,8 @@ |
|
|
<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> 哦,所有商品价格、活动信息以登录后显示为准.
|
|
|
<strong>温馨提示:</strong>亲爱的顾客,您还没有 <a href="{{cart.loginUrl}}" class="a_eu">登录</a>
|
|
|
哦,所有商品价格、活动信息以登录后显示为准.
|
|
|
</div>
|
|
|
</div>
|
|
|
{{^}}
|
...
|
...
|
@@ -25,17 +26,19 @@ |
|
|
<div class="order-pay">
|
|
|
{{#if cart.isEmpty}}
|
|
|
<div class="pay-wapper">
|
|
|
<div class="shop-cart-empty">
|
|
|
<i class="iconfont"></i>
|
|
|
<p>购物车空空的哦,去看看心仪的商品吧~</p>
|
|
|
<a href="#">去购物</a>
|
|
|
</div>
|
|
|
<div class="shop-cart-empty">
|
|
|
<i class="iconfont"></i>
|
|
|
<p>购物车空空的哦,去看看心仪的商品吧~</p>
|
|
|
<a href="#">去购物</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="dev-revocation {{#unless cart.deleteShop}}none{{/unless}}">
|
|
|
<table>
|
|
|
{{# cart.deleteShop}}
|
|
|
<tr data-productnum="{{productNum}}" data-productsku="{{productSku}}">
|
|
|
<td style="width:40%; text-align: left;">成功删除<a class="title" href="{{link}}" target="_blank">{{productTitle}}</a></td>
|
|
|
<td style="width:40%; text-align: left;">成功删除<a class="title" href="{{link}}"
|
|
|
target="_blank">{{productTitle}}</a>
|
|
|
</td>
|
|
|
<td style="width:10%;"><span class="productPrice">{{productPrice}}</span></td>
|
|
|
<td style="width:10%;"></td>
|
|
|
<td style="width:10%;">{{productNum}}件</td>
|
...
|
...
|
@@ -53,7 +56,7 @@ |
|
|
<div class="pay-wapper">
|
|
|
<div class="cart-title">
|
|
|
<p class="left" style="width:6%;">
|
|
|
<i class="cart-item-check iconfont cart-item-checked"></i> 全选
|
|
|
<i class="cart-item-check iconfont cart-item-checked"></i> 全选
|
|
|
</p>
|
|
|
<p style="width:40%">商品信息</p>
|
|
|
<p style="width:14%">单价</p>
|
...
|
...
|
@@ -104,14 +107,24 @@ |
|
|
{{#if promotionInfos}}
|
|
|
<div class="gift-sell mt40">
|
|
|
{{#promotionInfos}}
|
|
|
<div data-role="promotion-wrap" >
|
|
|
<code class="{{#unless isReach}}order-pay-mark-white{{/unless}}">{{tag}}</code>{{promotionTitle}}
|
|
|
|
|
|
<div class="gift-sell-info" data-role="promotion-wrap">
|
|
|
<code class="order-pay-mark
|
|
|
{{#unless isReach}}order-pay-mark-white{{/unless}}">
|
|
|
{{tag}}
|
|
|
</code>{{promotionTitle}}
|
|
|
|
|
|
{{#if isGift}}
|
|
|
{{#if isNotReach}}<a href="javascript:void(0);" data-role="gift-view-btn">查看赠品</a>{{/if}}
|
|
|
{{#if isNotReach}}
|
|
|
<a class="order-pay-link" href="javascript:void(0);"
|
|
|
data-role="gift-view-btn">查看赠品</a>{{/if}}
|
|
|
{{#if isSelected}}
|
|
|
<a href="javascript:void(0);" data-role="gift-resel-btn">重选赠品</a>
|
|
|
<a class="order-pay-link" href="javascript:void(0);"
|
|
|
data-role="gift-resel-btn">重选赠品</a>
|
|
|
{{else}}
|
|
|
{{#if isReach}}<a href="javascript:void(0);" data-role="gift-sel-btn">领赠品</a>{{/if}}
|
|
|
{{#if isReach}}
|
|
|
<a class="order-pay-link" href="javascript:void(0);"
|
|
|
data-role="gift-sel-btn">领赠品</a>{{/if}}
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
|
...
|
...
|
@@ -126,7 +139,7 @@ |
|
|
{{/if}}
|
|
|
|
|
|
{{#if isNotReach}}
|
|
|
<a class="btn-clear blue" target="_blank" href="{{promotionPageUrl}}" data-together-id="1" >去凑单 ></a>
|
|
|
<a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 ></a>
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
|
...
|
...
|
@@ -189,7 +202,9 @@ |
|
|
{{#if promotionInfos}}
|
|
|
<div class="gift-sell mt20">
|
|
|
{{#promotionInfos}}
|
|
|
<p><code>{{tag}}</code>{{promotionTitle}}<a class="btn-clear blue" data-together-id="6">去凑单 ></a></p>
|
|
|
<p class="gift-sell-info"><code>{{tag}}</code>{{promotionTitle}}<a class="btn-clear blue"
|
|
|
data-together-id="6">去凑单 ></a>
|
|
|
</p>
|
|
|
{{/promotionInfos}}
|
|
|
</div>
|
|
|
{{/if}}
|
...
|
...
|
@@ -200,8 +215,10 @@ |
|
|
<div class="cartnew-sum">
|
|
|
{{#unless cart.isEmpty}}
|
|
|
<div class="left">
|
|
|
<a href="javascript:void(0);" class="btn_h" style="display:none;"><span>清空商品</span></a>
|
|
|
<i class="cart-item-check iconfont" id="cbSelAllGoods" {{#if cart.isCheckedAll}}checked="checked"{{/if}}></i>
|
|
|
<a href="javascript:void(0);" class="btn_h"
|
|
|
style="display:none;"><span>清空商品</span></a>
|
|
|
<i class="cart-item-check iconfont" id="cbSelAllGoods"
|
|
|
{{#if cart.isCheckedAll}}checked="checked"{{/if}}></i>
|
|
|
<span>全选</span>
|
|
|
<a class="delAll" href="javascript:void(0);">删除选中商品</a>
|
|
|
<a class="removeAll" href="javascript:void(0);">移入收藏夹</a>
|
...
|
...
|
@@ -210,8 +227,9 @@ |
|
|
{{/unless}}
|
|
|
<div class="right">
|
|
|
<p>
|
|
|
{{#if gainYohoCoin}}<a href="/help/?category_id=87" class="yoho-coin" target="_blank"></a>
|
|
|
共返有货币:{{gainYohoCoin}}个  {{/if}}
|
|
|
{{#if gainYohoCoin}}
|
|
|
<a href="/help/?category_id=87" class="yoho-coin" target="_blank"></a>
|
|
|
共返有货币:{{gainYohoCoin}}个  {{/if}}
|
|
|
已选商品<strong class="ins">{{selectedGoodsCount}}件</strong>  
|
|
|
商品金额:<b>¥ {{orderAmount}}</b>
|
|
|
</p>
|
...
|
...
|
@@ -225,65 +243,67 @@ |
|
|
<span>添加礼品袋</span>
|
|
|
<a href="javascript:void(0);" class="btn-account">去结算</a>
|
|
|
</div>
|
|
|
{{> cart-pre-sell-tpl }}
|
|
|
{{/stat}}
|
|
|
</div>
|
|
|
{{/cart}}
|
|
|
|
|
|
{{!--{{#cart.salesPromotion}}
|
|
|
<div class="salesPromotion">
|
|
|
<p>
|
|
|
{{#if salesTitle}}
|
|
|
<b>{{salesTitle}}</b>
|
|
|
{{/if}}
|
|
|
{{salesMessage}}</p>
|
|
|
<span><i></i>已参与</span>
|
|
|
</div>
|
|
|
{{/cart.salesPromotion}} --}}
|
|
|
{{!--{{#cart.salesPromotion}}
|
|
|
<div class="salesPromotion">
|
|
|
<p>
|
|
|
{{#if salesTitle}}
|
|
|
<b>{{salesTitle}}</b>
|
|
|
{{/if}}
|
|
|
{{salesMessage}}</p>
|
|
|
<span><i></i>已参与</span>
|
|
|
</div>
|
|
|
{{/cart.salesPromotion}} --}}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
{{#unless @root.pc.product.removeRecentView}}
|
|
|
<div class="lazy-load-object">
|
|
|
<div class="lazy-load-object">
|
|
|
<textarea class="datalazyload" style="visibility: hidden;">
|
|
|
<script>
|
|
|
fetchRecommend();
|
|
|
</script>
|
|
|
</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
{{#if cart.isEmpty}}
|
|
|
|
|
|
<div class="bottom-tab bottom-tab-slide">
|
|
|
<span class="bottom-title cur {{#unless cart.deleteShop}}none{{/unless}}">凑单商品</span>
|
|
|
<span class="bottom-title {{#unless cart.deleteShop}}cur{{/unless}}">为您优选</span>
|
|
|
<span class="bottom-title">最近浏览</span>
|
|
|
<span class="change">换一批
|
|
|
<div class="bottom-tab bottom-tab-slide">
|
|
|
<span class="bottom-title cur {{#unless cart.deleteShop}}none{{/unless}}">凑单商品</span>
|
|
|
<span class="bottom-title {{#unless cart.deleteShop}}cur{{/unless}}">为您优选</span>
|
|
|
<span class="bottom-title">最近浏览</span>
|
|
|
<span class="change">换一批
|
|
|
<span class="iconfont change-icon"></span>
|
|
|
</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="individual-slide">
|
|
|
<div class="individual-item individual-item-togetherGoods {{#unless cart.deleteShop}}none{{/unless}}">
|
|
|
<input id="" type="hidden" value="">
|
|
|
<div id="" class="goods clearfix">
|
|
|
{{>individual-slide}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="individual-item individual-item-recommendGoods {{#if cart.deleteShop}}none{{/if}}">
|
|
|
<input id="" type="hidden" value="{{latestWalk}}">
|
|
|
<div id="" class="goods clearfix">
|
|
|
{{>individual-slide}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="individual-item individual-item-latestWalk none">
|
|
|
<input id="latest-walk-count" type="hidden" value="">
|
|
|
<div id="latest-walk-goods" class="goods clearfix">
|
|
|
{{>individual-slide}}
|
|
|
</div>
|
|
|
|
|
|
<div class="individual-slide">
|
|
|
<div class="individual-item individual-item-togetherGoods {{#unless cart.deleteShop}}none{{/unless}}">
|
|
|
<input id="" type="hidden" value="">
|
|
|
<div id="" class="goods clearfix">
|
|
|
{{>individual-slide}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="individual-item individual-item-recommendGoods {{#if cart.deleteShop}}none{{/if}}">
|
|
|
<input id="" type="hidden" value="{{latestWalk}}">
|
|
|
<div id="" class="goods clearfix">
|
|
|
{{>individual-slide}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="individual-item individual-item-latestWalk none">
|
|
|
<input id="latest-walk-count" type="hidden" value="">
|
|
|
<div id="latest-walk-goods" class="goods clearfix">
|
|
|
{{>individual-slide}}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{> cart-together-tpl }}
|
|
|
{{/if}}
|
|
|
{{/unless}}
|
|
|
|
|
|
<div class="loading"><span></span>请稍后...</div>
|
...
|
...
|
@@ -293,36 +313,39 @@ |
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
/*<textarea data-role="gifts-cansel" class="hide" data-promotionid="{{promotionId}}">{{{giftGoodsListStr}}}</textarea>*/
|
|
|
</script>
|
|
|
|
|
|
<!-- 商品详细信息窗口 -->
|
|
|
|
|
|
<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);
|
|
|
(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}}} }
|
|
|
);
|
|
|
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']);
|
|
|
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> |
...
|
...
|
|