Authored by Aiden Xu

分期订单

... ... @@ -317,8 +317,8 @@ const orderDetail = (req, res, next) => {
return options.inverse(this);
},
geZero: function(value, options) {
if (value >= 0) {
greaterThanZero: function(value, options) {
if (value && parseFloat(value) > 0) {
return options.fn(this);
}
... ...
<div class="installment-order-page yoho-page">
{{#order}}
<div class="order-info">
{{#geZero refundNum}}
{{#greaterThanZero refundedAmt}}
<div class="refund-text">
该订单已退款¥{{refundNum}}
该订单已退款¥{{refundedAmt}}
</div>
{{/geZero}}
{{/greaterThanZero}}
<div class="order-detail">
{{#orderGoods}}
<div class="image-box">
... ...