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
49320b4b
Commit
49320b4b
authored
Jul 02, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// tab
parent
50f7a08e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
YHCommunityViewController.swift
...s/Modules/Community(社区)/C/YHCommunityViewController.swift
+1
-1
YHMatchUserViewController.swift
...s/Modules/Community(社区)/C/YHMatchUserViewController.swift
+21
-0
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHCommunityViewController.swift
View file @
49320b4b
...
...
@@ -35,7 +35,7 @@ class YHCommunityViewController: YHBaseViewController {
dataSource
.
isItemSpacingAverageEnabled
=
false
dataSource
.
itemWidth
=
JXSegmentedViewAutomaticDimension
dataSource
.
itemSpacing
=
2
4
dataSource
.
itemSpacing
=
2
8.0
return
dataSource
}()
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHMatchUserViewController.swift
View file @
49320b4b
...
...
@@ -72,6 +72,16 @@ class YHMatchUserViewController: YHBaseViewController {
return
label
}()
lazy
var
matchTipsLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
text
=
"AI 人脉雷达正在为您智能匹配..."
label
.
textAlignment
=
.
center
label
.
textColor
=
UIColor
.
white
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
16
)
label
.
isHidden
=
true
return
label
}()
lazy
var
firstImageView
:
UIImageView
=
{
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"people_first_bg_image"
)
...
...
@@ -143,6 +153,7 @@ class YHMatchUserViewController: YHBaseViewController {
self
.
view
.
addSubview
(
launchLottieView
)
self
.
view
.
addSubview
(
rotateLottieView
)
self
.
view
.
addSubview
(
headLottieView
)
self
.
view
.
addSubview
(
matchTipsLabel
)
self
.
headLottieView
.
play
()
launchLottieView
.
snp
.
makeConstraints
{
make
in
...
...
@@ -184,6 +195,13 @@ class YHMatchUserViewController: YHBaseViewController {
make
.
top
.
equalTo
(
self
.
bottomBtn
.
snp
.
bottom
)
.
offset
(
12
)
}
self
.
matchTipsLabel
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
top
.
equalTo
(
self
.
launchLottieView
.
snp
.
bottom
)
.
offset
(
20
)
make
.
height
.
equalTo
(
18.0
)
}
self
.
wingLeftImgV
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
19
)
make
.
right
.
equalTo
(
self
.
topLabel
.
snp
.
left
)
...
...
@@ -233,6 +251,8 @@ class YHMatchUserViewController: YHBaseViewController {
self
.
wingRightImgV
.
isHidden
=
false
self
.
topLabel
.
isHidden
=
false
self
.
bottomBtn
.
isHidden
=
false
self
.
matchTipsLabel
.
isHidden
=
true
}
}
...
...
@@ -246,6 +266,7 @@ extension YHMatchUserViewController: YHMatchProtocol {
@objc
func
startMatchUsers
()
{
self
.
isStartMatch
=
true
self
.
bottomBtn
.
isHidden
=
true
self
.
matchTipsLabel
.
isHidden
=
false
self
.
headLottieView
.
isHidden
=
true
self
.
launchLottieView
.
isHidden
=
false
self
.
topLabel
.
isHidden
=
true
...
...
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