Commit cf8a187d by YKai

Merge remote-tracking branch 'origin/4.1.64' into 4.1.64

parents 6aab85d4 57763add
...@@ -581,10 +581,11 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -581,10 +581,11 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
* 自动登录成功 * 自动登录成功
*/ */
override fun autoLoginSuccess() { override fun autoLoginSuccess() {
ll_success.visibility = View.VISIBLE ll_success.visibility = View.GONE
ToastUtil.toastShort("登录成功")
handler!!.postDelayed({ handler!!.postDelayed({
LoginUtils.LoginSuccessOperate(this) LoginUtils.LoginSuccessOperate(this)
}, 3000) }, 1500)
} }
private fun finishPrePage() { private fun finishPrePage() {
......
...@@ -434,9 +434,12 @@ class VerificationCodeActivity : ...@@ -434,9 +434,12 @@ class VerificationCodeActivity :
.setContentView(R.layout.user_kefu_tipdialog) .setContentView(R.layout.user_kefu_tipdialog)
.setOnClickListener(R.id.cancel_dialog) { .setOnClickListener(R.id.cancel_dialog) {
mKeFuDialog?.dismiss() mKeFuDialog?.dismiss()
mKeFuDialog=null
} }
.setAnimation(0)//取消动画 .setAnimation(0)//取消动画
.setOnClickListener(R.id.dial_right_now) { .setOnClickListener(R.id.dial_right_now) {
mKeFuDialog?.dismiss()
mKeFuDialog=null
val dialIntent = val dialIntent =
Intent( Intent(
Intent.ACTION_DIAL, Intent.ACTION_DIAL,
......
...@@ -142,7 +142,7 @@ class VerificationCodePresenterImpl(view: IVerificationCodeContract.View) : Base ...@@ -142,7 +142,7 @@ class VerificationCodePresenterImpl(view: IVerificationCodeContract.View) : Base
.subscribe({ .subscribe({
if (it.data != null) { if (it.data != null) {
//登录成功后toast提示 //登录成功后toast提示
ToastUtil.toastShort("验证成功") ToastUtil.toastShort("登录成功")
//验证码登录成功后清空本地保存时间 //验证码登录成功后清空本地保存时间
YDLCacheUtils.saveCodeTime(phone, "") YDLCacheUtils.saveCodeTime(phone, "")
......
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
android:text="密码登录" android:text="密码登录"
android:textColor="@color/platform_color_666666" android:textColor="@color/platform_color_666666"
android:textSize="13sp" android:textSize="13sp"
android:visibility="invisible"
app:layout_constraintStart_toStartOf="@id/verify_code" app:layout_constraintStart_toStartOf="@id/verify_code"
app:layout_constraintTop_toBottomOf="@id/verify_code" /> app:layout_constraintTop_toBottomOf="@id/verify_code" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment