You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
6.6 KiB
156 lines
6.6 KiB
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
{insert_scripts files='transport_jquery.js,utils.js'}
|
|
|
|
<div id="ECS_ORDERTOTAL">
|
|
<div class="order-summary">
|
|
<div class="statistic">
|
|
<div class="list">
|
|
<span>{$lang.goods_all_price}:</span>
|
|
<em class="price" id="warePriceId">{$total.goods_price_formated}</em>
|
|
</div>
|
|
<!-- {if $total.discount gt 0} 折扣 -->
|
|
<div class="list">
|
|
<span>{$lang.discount}:</span>
|
|
<em class="price" id="cachBackId"> -{$total.discount_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.tax gt 0} 税 -->
|
|
<div class="list">
|
|
<span>{$lang.tax}:</span>
|
|
<em class="price" id="cachBackId"> +{$total.tax_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.shipping_fee > 0} 配送费用 -->
|
|
<div class="list">
|
|
<span>{$lang.shipping_fee}:</span>
|
|
<em class="price" id="freightPriceId">
|
|
{$total.shipping_fee_formated}
|
|
</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
|
|
<!-- {if $total.shipping_insure > 0} 保价费用 -->
|
|
<div class="list">
|
|
<span>{$lang.insure_fee}:</span>
|
|
<em class="price" id="cachBackId"> +{$total.shipping_insure_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.pay_fee > 0} 支付费用 -->
|
|
<div class="list">
|
|
<span>{$lang.pay_fee}:</span>
|
|
<em class="price" id="cachBackId"> +{$total.pay_fee_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.pack_fee > 0} 包装费用-->
|
|
<div class="list">
|
|
<span>{$lang.pack_fee}:</span>
|
|
<em class="price" id="cachBackId"> +{$total.pack_fee_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.card_fee > 0} 贺卡费用-->
|
|
<div class="list">
|
|
<span>{$lang.card_fee}:</span>
|
|
<em class="price" id="cachBackId"> +{$total.card_fee_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
|
|
<!-- {if $total.surplus > 0 or $total.integral > 0 or $total.bonus > 0} 使用余额或积分或红包 -->
|
|
<!-- {if $total.surplus > 0} 使用余额 -->
|
|
<div class="list">
|
|
<span>{$lang.use_surplus}:</span>
|
|
<em class="price" id="cachBackId"> -{$total.surplus_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.integral > 0} 使用积分 -->
|
|
<div class="list">
|
|
<span>{$lang.use_integral}:</span>
|
|
<em class="price" id="cachBackId"> -{$total.integral_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {if $total.bonus > 0} 使用红包 -->
|
|
<div class="list">
|
|
<span>{$lang.use_bonus}:</span>
|
|
<em class="price" id="cachBackId"> -{$total.bonus_formated}</em>
|
|
</div>
|
|
<!-- {/if} -->
|
|
<!-- {/if} 使用余额或积分或红包 -->
|
|
</div>
|
|
</div>
|
|
<div class="trade-foot">
|
|
<div class="checkout-buttons">
|
|
<div class="sticky-wrap">
|
|
<div class="inner">
|
|
<input name="rec_number_str" value="" type="hidden">
|
|
<div class="btn-area">
|
|
<input type="submit" class="submit-btn" value="提交订单"/>
|
|
</div>
|
|
<span class="total">
|
|
<!--{if $total.exchange_integral }消耗积分-->
|
|
<span class="txt flow_exchange_goods">{$lang.notice_eg_integral}</span>
|
|
<strong id="payPriceId" class="flow_exchange_goods">{$total.exchange_integral}</strong>
|
|
<span class="txt" style="padding-left:15px; display:none">
|
|
使用支付类型:
|
|
<select name="pay_type" id="sel_pay_type">
|
|
<option value="0">RMB支付</option>
|
|
<option value="1" {if $is_exchange_goods eq 1}selected{/if}>积分支付</option>
|
|
</select>
|
|
</span>
|
|
|
|
<!--{/if}-->
|
|
|
|
<span class="txt flow_general_goods">{$lang.total_fee}:</span>
|
|
<strong id="payPriceId" class="flow_general_goods">{$total.amount_formated}</strong>
|
|
</span>
|
|
<div class="amount-sum">已选择<em>{$cart_goods_number}</em>件商品</div>
|
|
{if $is_group_buy}<div class="amount-sum"><strong>{$lang.notice_gb_order_amount}</strong></div>{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="consignee-foot">
|
|
<p>寄送至:{$consignee.consignee_address}</p>
|
|
<p>收货人:{$consignee.consignee} {$consignee.mobile}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
$("input[name='rec_number']").each(function(index, element) {
|
|
if($(element).val() == 1){
|
|
$(".inner .btn-area").addClass('no_goods');
|
|
$(".inner .btn-area").attr('data-url', 'ajax_dialog.php?act=goods_stock_exhausted&warehouse_id=' + {$warehouse_id} + '&area_id=' + {$area_id});
|
|
$(".inner .btn-area").html('<input type="button" class="submit-btn" value="提交订单"/>');
|
|
return false;
|
|
}
|
|
});
|
|
|
|
var rec_number = new Array();
|
|
$("input[name='rec_number']").each(function(index, element) {
|
|
if($(element).val() == 1){
|
|
rec_number.push($(element).attr('id'));
|
|
}
|
|
});
|
|
|
|
$("input[name='rec_number_str']").val(rec_number);
|
|
|
|
<!--{if $is_exchange_goods eq 1 || $total.real_goods_count eq 0}-->
|
|
$('.flow_exchange_goods').show();
|
|
|
|
$('#sel_pay_type').change(function(){
|
|
var T = $(this);
|
|
var val = T.val();
|
|
if(val == 1){
|
|
$('.payment-list').parent().parent('.step-complete').hide();
|
|
$('.flow_general_goods').hide();
|
|
$('.flow_exchange_goods').show();
|
|
}else{
|
|
$('.payment-list').parent().parent('.step-complete').show();
|
|
$('.flow_general_goods').show();
|
|
$('.flow_exchange_goods').hide();
|
|
}
|
|
});
|
|
<!--{/if}-->
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|