Commit 94571ad844c56a98f742ce87fd56eebcdeb7c6ad

Authored by pengye
1 parent beb3003b

邀请函弹框送券金额有多位小数时,保留2位小数

... ... @@ -1225,7 +1225,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1304,7 +1304,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1314,7 +1314,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1171,7 +1171,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1126,7 +1126,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1126,7 +1126,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1125,7 +1125,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1083,7 +1083,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1126,7 +1126,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1125,7 +1125,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...
... ... @@ -1166,7 +1166,7 @@ Page({
setTimeout(() => {
this.setData({
couponArr,
totalPrice,
totalPrice:parseFloat(totalPrice.toFixed(2)),
})
this.couponModal.showModal()
}, 3000);
... ...