| | |
| | | import com.dollearn.student.ui.TransparentStatusBarActivity |
| | | import com.dollearn.student.utils.Const |
| | | import com.dollearn.student.utils.extention.clickDelay |
| | | import kotlinx.android.synthetic.main.activity_field.* |
| | | import kotlinx.android.synthetic.main.activity_login.* |
| | | import org.jetbrains.anko.sdk27.coroutines.onClick |
| | | import org.jetbrains.anko.startActivity |
| | |
| | | } |
| | | |
| | | 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) |