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
55a39d93
Commit
55a39d93
authored
Jul 12, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 待完善清单
parent
810af019
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
YHMyFileListViewController.swift
...e(服务中心)/FileList(文件清单)/C/YHMyFileListViewController.swift
+3
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/C/YHMyFileListViewController.swift
View file @
55a39d93
...
@@ -378,7 +378,8 @@ extension YHMyFileListViewController : UITableViewDelegate, UITableViewDataSourc
...
@@ -378,7 +378,8 @@ extension YHMyFileListViewController : UITableViewDelegate, UITableViewDataSourc
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
printLog
(
"offset:
\(
scrollView
.
contentOffset
.
y
)
"
)
printLog
(
"offset:
\(
scrollView
.
contentOffset
.
y
)
"
)
let
gap
=
self
.
consentInsetTop
-
k_Height_NavigationtBarAndStatuBar
-
self
.
topSegmentHeight
let
segmentHeight
=
self
.
items
.
count
<=
1
?
0.0
:
46.0
let
gap
=
self
.
consentInsetTop
-
k_Height_NavigationtBarAndStatuBar
-
self
.
topSegmentHeight
+
segmentHeight
self
.
navStatusBar
.
backgroundColor
=
scrollView
.
contentOffset
.
y
>
gap
?
UIColor
.
white
:
UIColor
.
clear
self
.
navStatusBar
.
backgroundColor
=
scrollView
.
contentOffset
.
y
>
gap
?
UIColor
.
white
:
UIColor
.
clear
self
.
topSegmentView
.
backgroundColor
=
scrollView
.
contentOffset
.
y
>
gap
?
UIColor
.
white
:
UIColor
.
clear
self
.
topSegmentView
.
backgroundColor
=
scrollView
.
contentOffset
.
y
>
gap
?
UIColor
.
white
:
UIColor
.
clear
self
.
topSegmentView
.
isHidden
=
scrollView
.
contentOffset
.
y
<
gap
self
.
topSegmentView
.
isHidden
=
scrollView
.
contentOffset
.
y
<
gap
...
@@ -437,6 +438,7 @@ extension YHMyFileListViewController {
...
@@ -437,6 +438,7 @@ extension YHMyFileListViewController {
@objc
func
clickSaveBtn
()
{
@objc
func
clickSaveBtn
()
{
YHHUD
.
show
(
.
progress
(
message
:
"正在生成图片"
))
YHHUD
.
show
(
.
progress
(
message
:
"正在生成图片"
))
TYSnapshotScroll
.
screenSnapshot
(
self
.
tableView
)
{
TYSnapshotScroll
.
screenSnapshot
(
self
.
tableView
)
{
[
weak
self
]
image
in
[
weak
self
]
image
in
YHHUD
.
hide
()
YHHUD
.
hide
()
...
...
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