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
5f370b45
Commit
5f370b45
authored
Nov 28, 2024
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无数据展示
parent
e80a05b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
YHPreviewFamilyMemberViewController.swift
...oList(个人信息预览)/C/YHPreviewFamilyMemberViewController.swift
+25
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/C/YHPreviewFamilyMemberViewController.swift
View file @
5f370b45
...
...
@@ -35,10 +35,25 @@ class YHPreviewFamilyMemberViewController: YHPreviewBaseViewController {
// private var brotherButton : UIButton!
private
var
arrButtons
:
[
UIButton
]
=
[]
lazy
var
noNetWorkTipsView
:
YHEmptyDataView
=
{
let
view
=
YHEmptyDataView
.
createView
(
"暂无内容"
,
kEmptyCommonBgName
)
view
.
topMargin
=
0
view
.
backgroundColor
=
.
white
view
.
isHidden
=
true
return
view
}()
}
private
extension
YHPreviewFamilyMemberViewController
{
func
setupUI
()
{
noNetWorkTipsView
.
isHidden
=
false
noNetWorkTipsView
.
backgroundColor
=
UIColor
.
contentBkgColor
view
.
addSubview
(
self
.
noNetWorkTipsView
)
self
.
noNetWorkTipsView
.
topMargin
=
20
view
.
addSubview
(
buttonHoldView
)
buttonHoldView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
...
...
@@ -259,6 +274,16 @@ private extension YHPreviewFamilyMemberViewController {
previewVM
.
arrDataForMainApplicationInfo
=
[]
}
homeTableView
.
reloadData
()
if
previewVM
.
arrDataForMainApplicationInfo
.
count
>
0
{
self
.
noNetWorkTipsView
.
isHidden
=
true
self
.
homeTableView
.
isHidden
=
false
}
else
{
self
.
noNetWorkTipsView
.
isHidden
=
false
self
.
homeTableView
.
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