mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
15dd63b610
commit
ed7ccfea8a
8
app.js
8
app.js
@ -36,12 +36,12 @@ let opts = {
|
||||
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||
|
||||
|
||||
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||
//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||
app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||
app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||
|
||||
|
||||
app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
|
||||
app.use('/app',proxy('http://192.168.1.16:8012',opts));
|
||||
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
|
||||
//app.use('/app',proxy('http://192.168.1.16:8012',opts));
|
||||
|
||||
//app.listen(3000);
|
||||
app.use(express.json());
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
};
|
||||
|
||||
vc.component.payFeeOrderInfo.totalFeePrice = vc.component.payFeeOrderInfo.feePrice;
|
||||
vc.component.payFeeOrderInfo.receivedAmount = vc.component.payFeeOrderInfo.totalFeePrice;
|
||||
vc.component.payFeeOrderInfo.receivedAmount = $that._mathCeil(vc.component.payFeeOrderInfo.totalFeePrice);
|
||||
|
||||
|
||||
|
||||
@ -177,14 +177,14 @@
|
||||
_newCycles = $that.payFeeOrderInfo.paymentCycles[0];
|
||||
}
|
||||
vc.component.payFeeOrderInfo.totalFeePrice = Math.floor(parseFloat(_newCycles) * parseFloat(vc.component.payFeeOrderInfo.feePrice) * 100) / 100;
|
||||
vc.component.payFeeOrderInfo.receivedAmount = vc.component.payFeeOrderInfo.totalFeePrice;
|
||||
vc.component.payFeeOrderInfo.receivedAmount = $that._mathCeil(vc.component.payFeeOrderInfo.totalFeePrice);
|
||||
},
|
||||
changeCycle: function (_cycles) {
|
||||
if (_cycles == '') {
|
||||
return;
|
||||
}
|
||||
vc.component.payFeeOrderInfo.totalFeePrice = Math.floor(parseFloat(_cycles) * parseFloat(vc.component.payFeeOrderInfo.feePrice) * 100) / 100;
|
||||
vc.component.payFeeOrderInfo.receivedAmount = vc.component.payFeeOrderInfo.totalFeePrice;
|
||||
vc.component.payFeeOrderInfo.receivedAmount = $that._mathCeil(vc.component.payFeeOrderInfo.totalFeePrice);
|
||||
},
|
||||
_back: function () {
|
||||
$('#payFeeResult').modal("hide");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user