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
57763add
Commit
57763add
authored
Jan 13, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:ui修改
parent
811db3cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+3
-2
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 @
57763add
...
...
@@ -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/presenter/VerificationCodePresenterImpl.kt
View file @
57763add
...
...
@@ -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 @
57763add
...
...
@@ -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