@ -185,6 +185,8 @@ JS
//计算价格
if ($order->status == OrderStatus::PAY_EARNEST) {
$price = $order->price - $order->paid_money;
} elseif (in_array($order->pay_type, [PayType::DEPOSIT_PAY, PayType::EARNEST_PAY])) {
$price = $order->prepay_price;
} else {
$price = $order->price;
}