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
11218e24
Commit
11218e24
authored
Sep 29, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 人脉
parent
48e8d997
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
YHConnectListViewController.swift
...y(社区)/Connections(人脉)/C/YHConnectListViewController.swift
+11
-9
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Connections(人脉)/C/YHConnectListViewController.swift
View file @
11218e24
...
...
@@ -34,14 +34,9 @@ class YHConnectListViewController: YHBaseViewController {
}
return
tableView
}()
lazy
var
emptyDataTipsView
:
YHMyFriendsNoDataView
=
{
let
view
=
YHMyFriendsNoDataView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
))
view
.
bottomBtnClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
lazy
var
noDataView
:
YHEmptyDataView
=
{
let
view
=
YHEmptyDataView
.
createView
(
"暂无数据"
,
kEmptyCommonBgName
)
view
.
isHidden
=
true
return
view
}()
...
...
@@ -51,19 +46,26 @@ class YHConnectListViewController: YHBaseViewController {
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
.
white
view
.
addSubview
(
tableView
)
view
.
addSubview
(
emptyDataTipsView
)
tableView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
0
)
make
.
right
.
equalTo
(
0
)
make
.
bottom
.
equalToSuperview
()
make
.
top
.
equalToSuperview
()
.
offset
(
0
)
}
view
.
addSubview
(
noDataView
)
noDataView
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
width
.
equalTo
(
KScreenWidth
)
make
.
height
.
equalTo
(
150
)
}
reguestData
(
true
)
}
func
reguestData
(
_
isFirstPage
:
Bool
)
{
self
.
viewModel
.
getList
(
isFirstPage
)
{
_
,
_
in
self
.
arr
.
append
(
contentsOf
:
(
self
.
viewModel
.
contacts
))
self
.
noDataView
.
isHidden
=
self
.
arr
.
count
>
0
self
.
tableView
.
reloadData
()
self
.
tableView
.
es
.
stopLoadingMore
()
self
.
tableView
.
es
.
stopPullToRefresh
()
...
...
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