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
b2b002ee
Commit
b2b002ee
authored
May 28, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 登录
parent
12635324
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
YHLoginMethodManager.swift
...sses/Modules/AutoLogin(一键登录)/M/YHLoginMethodManager.swift
+4
-1
YHAutoLoginView.swift
...y/Classes/Modules/AutoLogin(一键登录)/V/YHAutoLoginView.swift
+5
-0
No files found.
galaxy/galaxy/Classes/Modules/AutoLogin(一键登录)/M/YHLoginMethodManager.swift
View file @
b2b002ee
...
@@ -185,7 +185,10 @@ extension YHLoginMethodManager {
...
@@ -185,7 +185,10 @@ extension YHLoginMethodManager {
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
}
}
videoBgView
.
changeLoginBlock
=
{
videoBgView
.
changeLoginBlock
=
{
// let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
let
vc
=
YHPhoneLoginWithVideoBkgViewController
()
// vc.modalPresentationStyle = .custom
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
model
.
customViewBlock
=
{
model
.
customViewBlock
=
{
superCustomView
in
superCustomView
in
...
...
galaxy/galaxy/Classes/Modules/AutoLogin(一键登录)/V/YHAutoLoginView.swift
View file @
b2b002ee
...
@@ -49,6 +49,7 @@ class YHAutoLoginView: UIView {
...
@@ -49,6 +49,7 @@ class YHAutoLoginView: UIView {
button
.
setTitle
(
"其他登录方式"
,
for
:
.
normal
)
button
.
setTitle
(
"其他登录方式"
,
for
:
.
normal
)
button
.
setTitleColor
(
.
white
,
for
:
.
normal
)
button
.
setTitleColor
(
.
white
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
.
PFSC_R
(
ofSize
:
14
)
button
.
titleLabel
?
.
font
=
.
PFSC_R
(
ofSize
:
14
)
button
.
addTarget
(
self
,
action
:
#selector(
didChangeLoginButtonClicked
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -78,6 +79,10 @@ class YHAutoLoginView: UIView {
...
@@ -78,6 +79,10 @@ class YHAutoLoginView: UIView {
self
.
closeBlock
?()
self
.
closeBlock
?()
}
}
@objc
func
didChangeLoginButtonClicked
()
{
self
.
changeLoginBlock
?()
}
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
super
.
init
(
frame
:
frame
)
setupUI
()
setupUI
()
...
...
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