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
479154b3
Commit
479154b3
authored
Feb 25, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// vip
parent
e32f9bf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
YHMyUserInfoView.swift
.../galaxy/Classes/Modules/Mine(我的)/V/YHMyUserInfoView.swift
+10
-1
No files found.
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHMyUserInfoView.swift
View file @
479154b3
...
...
@@ -17,16 +17,25 @@ class YHMyUserInfoView: UIView {
var
vipLevel
:
YHUserVipLevel
=
.
none
{
didSet
{
var
vipImg
=
""
var
vipImgWidth
=
0.0
if
vipLevel
==
.
gold
{
vipImg
=
"mine_vip_1"
vipImgWidth
=
43.0
}
else
if
vipLevel
==
.
platinum
{
vipImg
=
"mine_vip_2"
vipImgWidth
=
43.0
}
else
if
vipLevel
==
.
diamond
{
vipImg
=
"mine_vip_3"
vipImgWidth
=
43.0
}
vipImgView
.
image
=
UIImage
(
named
:
vipImg
)
vipImgView
.
snp
.
updateConstraints
{
make
in
make
.
width
.
equalTo
(
vipImgWidth
)
}
}
}
...
...
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