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
1442f54a
Commit
1442f54a
authored
Feb 25, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整积分中心nav头部
parent
29c71b0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
YHMemberCenterViewController.swift
...ses/Modules/Mine(我的)/C/YHMemberCenterViewController.swift
+19
-1
No files found.
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMemberCenterViewController.swift
View file @
1442f54a
...
...
@@ -88,7 +88,7 @@ class YHMemberCenterViewController: YHBaseViewController {
private
func
setupUI
()
{
gk_navBarAlpha
=
0
gk_nav
igationBar
.
b
ackgroundColor
=
.
clear
gk_nav
B
ackgroundColor
=
.
clear
view
.
backgroundColor
=
UIColor
.
contentBkgColor
view
.
addSubview
(
bgIcon
)
view
.
addSubview
(
tableView
)
...
...
@@ -504,4 +504,22 @@ extension YHMemberCenterViewController: UITableViewDelegate, UITableViewDataSour
let
view
=
UIView
()
return
view
}
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
if
scrollView
.
contentOffset
.
y
>
0
{
var
alpha
=
scrollView
.
contentOffset
.
y
/
(
k_Height_NavigationtBarAndStatuBar
)
if
alpha
>
1.0
{
alpha
=
1.0
}
gk_navBarAlpha
=
alpha
gk_navBackgroundColor
=
.
white
gk_navTitle
=
"银河会员中心"
bgIcon
.
isHidden
=
true
}
else
{
bgIcon
.
isHidden
=
false
gk_navBarAlpha
=
0.0
gk_navBackgroundColor
=
.
clear
gk_navTitle
=
nil
}
}
}
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