18034727885
2026-07-16 9f61ea79464fcaef437e5a9dffe7d62adc1a4ffb
app/src/main/java/com/driver/igotrip/ui/main/small_cargo/SmallOverActivity.kt
@@ -4,6 +4,7 @@
import android.view.View
import android.widget.LinearLayout
import android.widget.TextView
import androidx.core.view.isVisible
import cn.sinata.xldutils.utils.*
import com.driver.igotrip.R
import com.driver.igotrip.base.BaseEvent
@@ -46,6 +47,8 @@
    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_coupon_price by lazy { find<TextView>(R.id.tv_coupon_price) }
    private val ll_coupon_price by lazy { find<LinearLayout>(R.id.ll_coupon_price) }
    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) }
@@ -108,6 +111,8 @@
            tv_pay_result_title.text = getString(R.string.订单) + getSmallStatue(it.orderState)
            tv_order_money.text = getString(R.string.money) + it.orderMoney
            tv_service_money.text = getString(R.string.money) + it.platformServerMoney
            tv_coupon_price.text = getString(R.string.money) + it.couponMoney
            ll_coupon_price.isVisible = (it.couponMoney?.toDoubleOrNull() ?: 0.0) > 0
            tv_real_income.text = getString(R.string.money) + it.driverServerMoney
            ll_pay_result.visible()
            if (it.orderState in 6..7) {