From eb6124e310ae8875a0150ee5d2edd52d5a579d87 Mon Sep 17 00:00:00 2001
From: 18034727885 <973609879@qq.com>
Date: 星期四, 02 七月 2026 17:08:21 +0800
Subject: [PATCH] 快件订单优化
---
app/src/main/java/com/driver/igotrip/ui/main/OrderOverActivity.kt | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/app/src/main/java/com/driver/igotrip/ui/main/OrderOverActivity.kt b/app/src/main/java/com/driver/igotrip/ui/main/OrderOverActivity.kt
index 483a759..1662fe4 100644
--- a/app/src/main/java/com/driver/igotrip/ui/main/OrderOverActivity.kt
+++ b/app/src/main/java/com/driver/igotrip/ui/main/OrderOverActivity.kt
@@ -58,6 +58,12 @@
private val tv_end_address by lazy { find<TextView>(R.id.tv_end_address) }
private val tv_red_money by lazy { find<TextView>(R.id.tv_red_money) }
private val remark by lazy { find<TextView>(R.id.remark) }
+ private val ll_order_money by lazy { find<LinearLayout>(R.id.ll_order_money) }
+ private val tv_order_money by lazy { find<TextView>(R.id.tv_order_money) }
+ private val ll_service_money by lazy { find<LinearLayout>(R.id.ll_service_money) }
+ private val tv_service_money by lazy { find<TextView>(R.id.tv_service_money) }
+ private val ll_real_income by lazy { find<LinearLayout>(R.id.ll_real_income) }
+ private val tv_real_income by lazy { find<TextView>(R.id.tv_real_income) }
private val tv_cancel_to by lazy { find<TextView>(R.id.tv_cancel_to) }
private val tv_cancel_money by lazy { find<TextView>(R.id.tv_cancel_money) }
private val tv_cancel_result by lazy { find<TextView>(R.id.tv_cancel_result) }
@@ -108,6 +114,9 @@
if(orderType == "1"){
tv_red_money.gone()
}
+ tv_order_money.text = getString(R.string.money) + it.orderMoney
+ tv_service_money.text = getString(R.string.money) + it.platformServerMoney
+ tv_real_income.text = getString(R.string.money) + it.driverServerMoney
when (orderBean.orderState) {
10,12-> {
ll_order_cancel.visible()
--
Gitblit v1.7.1