lmw
2024-07-16 935a87b3578806ca37fee37f03da8c419a3896ce
app/src/main/java/com/dollearn/student/ui/login/LoginActivity.kt
@@ -16,7 +16,6 @@
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
@@ -54,6 +53,7 @@
        }
        tv_privacy_rule.clickDelay {
            showDialog()
            HttpManager.getH5(LoginRuleDialog.TYPE_PRIVACY).request(this@LoginActivity){ _, data->
                data?.let {
                    startActivityForResult<H5Activity>(1,"title" to "隐私协议","url" to it)
@@ -61,6 +61,7 @@
            }
        }
        tv_user_rule.clickDelay {
            showDialog()
            HttpManager.getH5(LoginRuleDialog.TYPE_USER).request(this@LoginActivity){ _, data->
                data?.let {
                    startActivityForResult<H5Activity>(2,"title" to "用户协议","url" to it)