Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
mobile-group
galaxy-iOS
Commits
5023cc76
Commit
5023cc76
authored
Jul 01, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录细节优化
parent
e67cb13b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
YHUserInfoSettingViewController.swift
...Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
+3
-2
No files found.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
View file @
5023cc76
...
@@ -30,14 +30,15 @@ class YHUserInfoSettingViewController: YHBaseViewController {
...
@@ -30,14 +30,15 @@ class YHUserInfoSettingViewController: YHBaseViewController {
userViewModel
.
requestUserInfo
{[
weak
self
]
success
,
error
in
userViewModel
.
requestUserInfo
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
url
=
URL
(
string
:
self
.
userViewModel
.
model
.
avatar
)
let
url
=
URL
(
string
:
self
.
userViewModel
.
model
.
avatar
)
self
.
headUrl
=
self
.
userViewModel
.
model
.
avatar
self
.
photoImageView
.
kf
.
setImage
(
with
:
url
)
self
.
photoImageView
.
kf
.
setImage
(
with
:
url
)
self
.
nameTextField
.
text
=
self
.
userViewModel
.
model
.
username
self
.
nameTextField
.
text
=
self
.
userViewModel
.
model
.
username
if
self
.
nameTextField
.
text
?
.
count
!=
0
{
if
self
.
nameTextField
.
text
?
.
count
!=
0
{
self
.
nextButton
.
isEnabled
=
true
self
.
nextButton
.
isEnabled
=
true
self
.
nextButton
.
backgroundColor
=
UIColor
.
brandMainColor
self
.
nextButton
.
backgroundColor
=
UIColor
.
brandMainColor
}
else
{
}
else
{
self
.
nextButton
.
isEnabled
=
false
self
.
nextButton
.
isEnabled
=
false
self
.
nextButton
.
backgroundColor
=
UIColor
.
brandMainColor
.
withAlphaComponent
(
0.4
)
self
.
nextButton
.
backgroundColor
=
UIColor
.
brandMainColor
.
withAlphaComponent
(
0.4
)
}
}
}
}
}
}
...
...
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