| | |
| | | lateinit var aMap: AMap |
| | | lateinit var orderBean: OrderBean |
| | | |
| | | |
| | | override fun setContentView() { |
| | | setContentView(R.layout.activity_trip) |
| | | } |
| | |
| | | } |
| | | } |
| | | 5, 6 -> { |
| | | MyApplication.finishRecord() |
| | | it.data.orderState = 6 |
| | | when(orderType){ |
| | | "2" -> { |
| | | showMoneyTypeDialog() |
| | | } |
| | | "1" -> { |
| | | "1","10" -> { |
| | | callStatue(6,{ |
| | | startActivity<MajorSureMoneyActivity>( |
| | | "orderId" to orderId, |
| | |
| | | |
| | | private fun callOrder() { |
| | | MyApplication.currentOrderId = orderId |
| | | MyApplication.recordRoomId = orderId |
| | | MyApplication.currentOrderType = orderType |
| | | var map = getMapByAny() |
| | | map["orderId"] = orderId |
| | |
| | | tv_red_money.gone() |
| | | } |
| | | tv_red_money.text = it.data.tipMoney.toString() + "元红包" |
| | | if (orderType == "10"){//公务出行 |
| | | tv_red_money.text = "${it.data.peopleNumber}人" |
| | | tv_red_money.setCompoundDrawablesRelativeWithIntrinsicBounds(R.mipmap.icon_people_gray,0,0,0) |
| | | } |
| | | showStatueMapUI(it) |
| | | } |
| | | } |
| | |
| | | slide_btn.changeButtonText("乘客已上车") |
| | | } |
| | | 5, 6 -> { |
| | | if (it.data.orderState == 5) |
| | | MyApplication.startRecord() |
| | | closeTimeStart() |
| | | iv_to_gd.visible() |
| | | tv_Right.gone() |