lakala手续费修复

master
james.zhao 6 years ago
parent 537a4f5b3c
commit afee1234a3

@ -29,7 +29,7 @@
} }
.order-box{ .order-box{
height: 550px; height: 580px;
width: 800px; width: 800px;
margin: 2% auto; margin: 2% auto;
/*box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.21);*/ /*box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.21);*/

@ -7,8 +7,12 @@ var num = function(obj){
var surchargeData = calculateSurcharge(obj.value-0); var surchargeData = calculateSurcharge(obj.value-0);
var surchargeAmount = Decimal.add(surchargeData.surcharge,surchargeData.tax); var surchargeAmount = Decimal.add(surchargeData.surcharge,surchargeData.tax);
$('#surchargeAmount').html(surchargeAmount+''); var currency = '$';
$('#totalAmount').html(surchargeData.newPrice+''); if($('#select_currency').val()=='CNY'){
currency = '¥';
}
$('#surchargeAmount').html(currency+surchargeAmount+'');
$('#totalAmount').html(currency+surchargeData.newPrice+'');
if(surchargeAmount+0===0 || !window.c4surcharge){ if(surchargeAmount+0===0 || !window.c4surcharge){
$('.surcharge').hide(); $('.surcharge').hide();
}else { }else {

@ -10,8 +10,12 @@ var num = function (obj) {
var surchargeData = calculateSurcharge(obj.value - 0); var surchargeData = calculateSurcharge(obj.value - 0);
var surchargeAmount = Decimal.add(surchargeData.surcharge, surchargeData.tax); var surchargeAmount = Decimal.add(surchargeData.surcharge, surchargeData.tax);
$('#surchargeAmount').html(surchargeAmount + ''); var currency = '$';
$('#totalAmount').html(surchargeData.newPrice + ''); if($('#select_currency').val()=='CNY'){
currency = '¥';
}
$('#surchargeAmount').html(currency+surchargeAmount+'');
$('#totalAmount').html(currency+surchargeData.newPrice+'');
if (surchargeAmount - 0 === 0 || !window.c4surcharge) { if (surchargeAmount - 0 === 0 || !window.c4surcharge) {
$('.surcharge').hide(); $('.surcharge').hide();
} else { } else {

@ -7,8 +7,12 @@ var num = function(obj){
var surchargeData = calculateSurcharge(obj.value-0); var surchargeData = calculateSurcharge(obj.value-0);
var surchargeAmount = Decimal.add(surchargeData.surcharge,surchargeData.tax); var surchargeAmount = Decimal.add(surchargeData.surcharge,surchargeData.tax);
$('#surchargeAmount').html(surchargeAmount+''); var currency = '$';
$('#totalAmount').html(surchargeData.newPrice+''); if($('#select_currency').val()=='CNY'){
currency = '¥';
}
$('#surchargeAmount').html(currency+surchargeAmount+'');
$('#totalAmount').html(currency+surchargeData.newPrice+'');
if(surchargeAmount+0==0 || !window.c4surcharge){ if(surchargeAmount+0==0 || !window.c4surcharge){
$('.surcharge').hide(); $('.surcharge').hide();
}else { }else {

@ -10,8 +10,12 @@ var num = function (obj) {
var surchargeData = calculateSurcharge(obj.value - 0); var surchargeData = calculateSurcharge(obj.value - 0);
var surchargeAmount = Decimal.add(surchargeData.surcharge, surchargeData.tax); var surchargeAmount = Decimal.add(surchargeData.surcharge, surchargeData.tax);
$('#surchargeAmount').html(surchargeAmount + ''); var currency = '$';
$('#totalAmount').html(surchargeData.newPrice + ''); if($('#select_currency').val()=='CNY'){
currency = '¥';
}
$('#surchargeAmount').html(currency+surchargeAmount+'');
$('#totalAmount').html(currency+surchargeData.newPrice+'');
if (surchargeAmount - 0 == 0 || !window.c4surcharge) { if (surchargeAmount - 0 == 0 || !window.c4surcharge) {
$('.surcharge').hide(); $('.surcharge').hide();
} else { } else {

@ -7,8 +7,12 @@ var num = function(obj){
var surchargeData = calculateSurcharge(obj.value-0); var surchargeData = calculateSurcharge(obj.value-0);
var surchargeAmount = Decimal.add(surchargeData.surcharge,surchargeData.tax); var surchargeAmount = Decimal.add(surchargeData.surcharge,surchargeData.tax);
$('#surchargeAmount').html(surchargeAmount+''); var currency = '$';
$('#totalAmount').html(surchargeData.newPrice+''); if($('#select_currency').val()=='CNY'){
currency = '¥';
}
$('#surchargeAmount').html(currency+surchargeAmount+'');
$('#totalAmount').html(currency+surchargeData.newPrice+'');
if(surchargeAmount+0==0 || !window.c4surcharge){ if(surchargeAmount+0==0 || !window.c4surcharge){
$('.surcharge').hide(); $('.surcharge').hide();
}else { }else {

Loading…
Cancel
Save