| | |
| | | tv_time_send_prove.textColor(this,R.color.write) |
| | | tv_current_time.textColor(this,R.color.write) |
| | | } else { |
| | | ll_order_top.setBackgroundResource(R.drawable.write) |
| | | ll_info_top.setBackgroundResource(R.drawable.write) |
| | | ll_order_top.setBackgroundResource(R.drawable.write_bottom_10) |
| | | ll_info_top.setBackgroundResource(R.drawable.write_top_10) |
| | | rl_back.setBackgroundResource(R.drawable.write) |
| | | iv_back_slab.setImageResource(R.mipmap.icon_back_black) |
| | | tv_title_slab.textColor(this,R.color.black) |
| | |
| | | callNet(this, Api.queryOrderInfo, map) { |
| | | orderBean = gson.fromJson(it, OrderBean::class.java) |
| | | showUi(orderBean) |
| | | Handler(Looper.getMainLooper()).postDelayed({ |
| | | startActivity<SlabOrderOverActivity>("orderId" to orderBean.data.orderId.toString() , "orderType" to orderBean.data.type.toString()) |
| | | },1000) |
| | | } |
| | | callPersion() |
| | | } |
| | |
| | | recycler_view_start.adapter = SlabStartAdapter(it.score.toDouble()) |
| | | tv_company.text = "公司:" + it.company |
| | | tv_time_send_prove.text = "发证日期:" + it.networkCarlssueDate |
| | | GlideUtil.load(this, it.avatar, iv_head, 1) |
| | | GlideUtil.load(this, it.avatar, iv_head, 8) |
| | | tv_current_time.text = DateUtil.getTime( |
| | | DateUtil.TYPE7, |
| | | System.currentTimeMillis() |
| | |
| | | MyApplication.currentOrderType = "" |
| | | finish() |
| | | } |
| | | BaseEvent.UP_TRIP ->{ |
| | | callOrder() |
| | | } |
| | | |
| | | BaseEvent.SURE_MONEY -> { |
| | | startActivity<SlabOrderOverActivity>("orderId" to orderBean.data.orderId.toString() , "orderType" to orderBean.data.type.toString()) |
| | | finish() |
| | | } |
| | | } |
| | | } |
| | | } |