| | |
| | | import android.widget.ImageView |
| | | import android.widget.LinearLayout |
| | | import android.widget.TextView |
| | | import androidx.core.view.isVisible |
| | | import cn.sinata.xldutils.utils.clickDelay |
| | | import cn.sinata.xldutils.utils.doubleOne |
| | | import cn.sinata.xldutils.utils.gone |
| | |
| | | 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_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_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) } |
| | |
| | | } |
| | | 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 |
| | | when (orderBean.orderState) { |
| | | 10,12-> { |