Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
cf8a187d
Commit
cf8a187d
authored
Jan 13, 2021
by
YKai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/4.1.64' into 4.1.64
parents
6aab85d4
57763add
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+3
-2
VerificationCodeActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
+3
-0
VerificationCodePresenterImpl.kt
m-user/src/main/java/com/yidianling/user/ui/login/presenter/VerificationCodePresenterImpl.kt
+1
-1
user_activity_verification_code_new.xml
m-user/src/main/res/layout/user_activity_verification_code_new.xml
+1
-0
No files found.
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
cf8a187d
...
...
@@ -581,10 +581,11 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
* 自动登录成功
*/
override
fun
autoLoginSuccess
()
{
ll_success
.
visibility
=
View
.
VISIBLE
ll_success
.
visibility
=
View
.
GONE
ToastUtil
.
toastShort
(
"登录成功"
)
handler
!!
.
postDelayed
({
LoginUtils
.
LoginSuccessOperate
(
this
)
},
30
00
)
},
15
00
)
}
private
fun
finishPrePage
()
{
...
...
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
View file @
cf8a187d
...
...
@@ -434,9 +434,12 @@ class VerificationCodeActivity :
.
setContentView
(
R
.
layout
.
user_kefu_tipdialog
)
.
setOnClickListener
(
R
.
id
.
cancel_dialog
)
{
mKeFuDialog
?.
dismiss
()
mKeFuDialog
=
null
}
.
setAnimation
(
0
)
//取消动画
.
setOnClickListener
(
R
.
id
.
dial_right_now
)
{
mKeFuDialog
?.
dismiss
()
mKeFuDialog
=
null
val
dialIntent
=
Intent
(
Intent
.
ACTION_DIAL
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/presenter/VerificationCodePresenterImpl.kt
View file @
cf8a187d
...
...
@@ -142,7 +142,7 @@ class VerificationCodePresenterImpl(view: IVerificationCodeContract.View) : Base
.
subscribe
({
if
(
it
.
data
!=
null
)
{
//登录成功后toast提示
ToastUtil
.
toastShort
(
"
验证
成功"
)
ToastUtil
.
toastShort
(
"
登录
成功"
)
//验证码登录成功后清空本地保存时间
YDLCacheUtils
.
saveCodeTime
(
phone
,
""
)
...
...
m-user/src/main/res/layout/user_activity_verification_code_new.xml
View file @
cf8a187d
...
...
@@ -78,6 +78,7 @@
android:text=
"密码登录"
android:textColor=
"@color/platform_color_666666"
android:textSize=
"13sp"
android:visibility=
"invisible"
app:layout_constraintStart_toStartOf=
"@id/verify_code"
app:layout_constraintTop_toBottomOf=
"@id/verify_code"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment