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
0038855c
Commit
0038855c
authored
Jul 02, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消 Ai 动画
parent
48676ea3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
YHMatchUserViewController.swift
...s/Modules/Community(社区)/C/YHMatchUserViewController.swift
+25
-8
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHMatchUserViewController.swift
View file @
0038855c
...
...
@@ -281,11 +281,24 @@ extension YHMatchUserViewController: YHMatchProtocol {
self
.
launchLottieView
.
isHidden
=
true
self
.
rotateLottieView
.
isHidden
=
false
self
.
rotateLottieView
.
loopMode
=
.
loop
self
.
rotateLottieView
.
play
()
DispatchQueue
.
global
()
.
asyncAfter
(
deadline
:
.
now
()
+
2.0
,
execute
:
{
self
.
requestMatchUserList
()
})
self
.
rotateLottieView
.
play
{
[
weak
self
]
completed
in
if
completed
{
print
(
"yyyyyyyyy"
)
}
else
{
print
(
"nnnnnnnnnn"
)
self
?
.
isStartMatch
=
false
self
?
.
resetAnimation
()
}
}
}
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
2.0
,
execute
:
{
if
self
.
isStartMatch
{
self
.
requestMatchUserList
()
}
else
{
self
.
resetAnimation
()
}
})
}
}
...
...
@@ -297,10 +310,14 @@ extension YHMatchUserViewController {
let
vc
=
YHMatchResultListViewController
()
vc
.
delegate
=
self
vc
.
matchUsersArr
=
self
.
viewModel
.
matchUserArr
self
.
navigationController
?
.
pushViewController
(
vc
,
completion
:
{
self
.
resetAnimation
()
})
self
.
resetAnimation
()
if
let
curVc
=
UIViewController
.
current
as?
YHCommunityViewController
,
curVc
.
segmentedView
.
selectedIndex
==
0
{
curVc
.
navigationController
?
.
pushViewController
(
vc
,
completion
:
{
})
}
else
{
printLog
(
"hhhhhhhhhhhhhhhhhhhhhhhh"
)
}
}
else
{
var
msg
=
"匹配失败"
if
let
errorMsg
=
error
?
.
errorMsg
,
!
errorMsg
.
isEmpty
{
...
...
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