| | |
| | | } |
| | | |
| | | tv_privacy_rule.clickDelay { |
| | | showDialog() |
| | | HttpManager.getH5(LoginRuleDialog.TYPE_PRIVACY).request(this@LoginActivity){ _, data-> |
| | | data?.let { |
| | | startActivityForResult<H5Activity>(1,"title" to "隐私协议","url" to it) |
| | |
| | | } |
| | | } |
| | | tv_user_rule.clickDelay { |
| | | showDialog() |
| | | HttpManager.getH5(LoginRuleDialog.TYPE_USER).request(this@LoginActivity){ _, data-> |
| | | data?.let { |
| | | startActivityForResult<H5Activity>(2,"title" to "用户协议","url" to it) |
| | |
| | | } |
| | | |
| | | override fun initView() { |
| | | //todo test |
| | | et_phone.setText("18111223301") |
| | | et_code.setText("123456") |
| | | cb_rule.isChecked = true |
| | | // //todo test |
| | | // et_phone.setText("18111223301") |
| | | // et_code.setText("123456") |
| | | // cb_rule.isChecked = true |
| | | |
| | | bg_title.gone() |
| | | titleBar.gone() |