Commit a7df695d by 朱继来

添加附加费

parent 54aa24ca
......@@ -10,7 +10,7 @@ return [
'search'=> 'http://' . env('LOGIN_DOMAIN', '') . '/api/search',
],
'domain' => 'liexin.com',
'domain' => 'liexin.net',
// 订单系统
'order_url' => 'http://order.liexin.net',
......
......@@ -152,7 +152,7 @@ li {
padding: 5px;
resize: none;
}
.preferential_price{ /* 优惠金额 */
.preferential_price, .extend_fee { /* 优惠金额、附加费 */
display: none;
}
......
......@@ -647,6 +647,11 @@
$('.preferential_price_val').empty().text(data.preferential_price_format);
}
if (data.extend_fee) {
$('.extend_fee').show();
$('.extend_fee_val').empty().text(data.extend_fee_format); // 附加费
}
if (goods_type == 2 && address_id) {
$('.express_fee_val').empty().text(data.finally_shipping_price_format); // 运费
}
......
......@@ -374,6 +374,11 @@
<p class="con-val preferential_price_val">0.00</p>
</div>
<div class="row extend_fee">
<p class="con-title"><span>附加费:</span></p>
<p class="con-val extend_fee_val">0.00</p>
</div>
<div class="row">
<p class="con-title"><span>运费:</span></p>
<p class="con-val express_fee_val">0.00</p>
......
......@@ -394,6 +394,11 @@
<p class="con-val preferential_price_val">0.00</p>
</div>
<div class="row extend_fee">
<p class="con-title"><span>附加费:</span></p>
<p class="con-val extend_fee_val">0.00</p>
</div>
<div class="row">
<p class="con-title"><span>应付金额:</span></p>
<p class="con-val text-danger order_amount"></p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment