| | |
| | | tv_long_distance_money.text = it.data.longDistanceMoney.toString()+"元" |
| | | tv_long_go_money.text = it.data.roadTollMoney.toString()+"元" |
| | | et_stop_car_money.text = it.data.parkMoney.toString()+"元" |
| | | et_coupon_money.text = "-"+it.data.couponMoney.toString()+"元" |
| | | et_platform_money.text = "-"+it.data.platformFee.toString()+"元" |
| | | tv_all_money.text = "¥"+it.data.orderMoney.toString()+"" |
| | | rl_start_num.visibility = if (it.data.startMoney == 0.0) View.GONE else View.VISIBLE |
| | | rl_wait_name.visibility = if (it.data.wait == 0.0) View.GONE else View.VISIBLE |
| | |
| | | rl_long_distance_money.visibility = if (it.data.longDistanceMoney == 0.0) View.GONE else View.VISIBLE |
| | | rl_long_go_money.visibility = if (it.data.roadTollMoney == 0.0) View.GONE else View.VISIBLE |
| | | rl_stop_car_money.visibility = if (it.data.parkMoney == 0.0) View.GONE else View.VISIBLE |
| | | |
| | | |
| | | rl_platform_money.visibility = if (it.data.platformFee == 0.0) View.GONE else View.VISIBLE |
| | | rl_coupon_money.visibility = if (it.data.couponMoney == 0.0) View.GONE else View.VISIBLE |
| | | } |
| | | } |
| | | |