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
7a960ef3
Commit
7a960ef3
authored
Jun 28, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授权成功之后主动匹配
parent
7a76dbee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
YHMatchUserViewController.swift
...s/Modules/Community(社区)/C/YHMatchUserViewController.swift
+9
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHMatchUserViewController.swift
View file @
7a960ef3
...
@@ -13,6 +13,7 @@ import Lottie
...
@@ -13,6 +13,7 @@ import Lottie
class
YHMatchUserViewController
:
YHBaseViewController
{
class
YHMatchUserViewController
:
YHBaseViewController
{
let
viewModel
=
YHMatchUserViewModel
()
let
viewModel
=
YHMatchUserViewModel
()
var
informationAuthorizeViewModel
:
YHInformationAuthorizeViewModel
=
YHInformationAuthorizeViewModel
()
var
informationAuthorizeViewModel
:
YHInformationAuthorizeViewModel
=
YHInformationAuthorizeViewModel
()
var
needToMatch
:
Bool
=
false
lazy
var
topLabel
:
UILabel
=
{
lazy
var
topLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
...
@@ -96,7 +97,13 @@ class YHMatchUserViewController: YHBaseViewController {
...
@@ -96,7 +97,13 @@ class YHMatchUserViewController: YHBaseViewController {
self
.
bottomBtn
.
setTitle
(
"AI人脉雷达匹配"
,
for
:
.
normal
)
self
.
bottomBtn
.
setTitle
(
"AI人脉雷达匹配"
,
for
:
.
normal
)
}
}
}
}
viewModel
.
requestUserAuthorization
{
success
,
error
in
}
viewModel
.
requestUserAuthorization
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
if
self
.
needToMatch
&&
self
.
viewModel
.
setModel
.
authorization_basic_information
==
2
{
self
.
needToMatch
=
false
self
.
didMatchBtnClicked
()
}
}
}
else
{
}
else
{
self
.
firstImageView
.
isHidden
=
false
self
.
firstImageView
.
isHidden
=
false
self
.
bottomLabel
.
isHidden
=
false
self
.
bottomLabel
.
isHidden
=
false
...
@@ -190,6 +197,7 @@ class YHMatchUserViewController: YHBaseViewController {
...
@@ -190,6 +197,7 @@ class YHMatchUserViewController: YHBaseViewController {
YHCommonAlertView
.
show
(
""
,
"您暂未开启AI人脉匹配授权"
,
"取消"
,
"去开启"
)
{
YHCommonAlertView
.
show
(
""
,
"您暂未开启AI人脉匹配授权"
,
"取消"
,
"去开启"
)
{
}
callBack
:
{
}
callBack
:
{
self
.
needToMatch
=
true
let
vc
=
YHInformationAuthorizationStepTwoViewController
()
let
vc
=
YHInformationAuthorizationStepTwoViewController
()
vc
.
stepFlag
=
false
vc
.
stepFlag
=
false
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
...
...
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