| | |
| | | import com.okgoincar.bean.OrderStatueBean |
| | | import com.okgoincar.netUtls.Api |
| | | import com.okgoincar.netUtls.timeOver |
| | | import com.okgoincar.slab.util.DialogUtil |
| | | import com.okgoincar.utils.MyUtils |
| | | import kotlinx.android.synthetic.main.activity_order_over.* |
| | | import kotlinx.android.synthetic.main.dialog_sure_and_del_slab.view.* |
| | | import java.lang.Exception |
| | | |
| | | class SlabOrderOverActivity : MySlabBaseActivity() { |
| | |
| | | MyApplication.getTTsManager() |
| | | .setVideoText("请确认乘客车内付款后,再点击返回首页") |
| | | time = timeOver(60000 * 6) { |
| | | tv_title_slab.text = "已完成($it)" |
| | | tv_title_slab.text = "待支付($it)" |
| | | if (it == 0) { |
| | | if (time != null) { |
| | | time!!.cancel() |
| | |
| | | } |
| | | |
| | | tv_complete.clickDelay { |
| | | overOrder() |
| | | var pop = DialogUtil.getSlabDelAndSurePopWindow(this,"请确认是否收到乘客线下付款",{}){ |
| | | overOrder() |
| | | } |
| | | pop.contentView.tv_close_base.text = "未收款" |
| | | pop.contentView.tv_sure_base.text = "已收款" |
| | | pop.showCenter(window.decorView) |
| | | |
| | | } |
| | | } |
| | | |