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
f7ee2578
Commit
f7ee2578
authored
Feb 24, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// vip
parent
8fc85a3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
0 deletions
+113
-0
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+8
-0
YHVipLevelRightViewController.swift
...es/Modules/Mine(我的)/C/YHVipLevelRightViewController.swift
+73
-0
YHVipLevelRightInfoCell.swift
.../Classes/Modules/Mine(我的)/V/YHVipLevelRightInfoCell.swift
+32
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
f7ee2578
...
@@ -1205,6 +1205,8 @@
...
@@ -1205,6 +1205,8 @@
04AFEF492D5DDE180007A011
/* YHMyFunctionGroupItem2Cell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF482D5DDE180007A011
/* YHMyFunctionGroupItem2Cell.swift */
;
};
04AFEF492D5DDE180007A011
/* YHMyFunctionGroupItem2Cell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF482D5DDE180007A011
/* YHMyFunctionGroupItem2Cell.swift */
;
};
04AFEF4B2D5DF3710007A011
/* YHMyUserInfoView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF4A2D5DF3710007A011
/* YHMyUserInfoView.swift */
;
};
04AFEF4B2D5DF3710007A011
/* YHMyUserInfoView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF4A2D5DF3710007A011
/* YHMyUserInfoView.swift */
;
};
04AFEF4D2D5EEF860007A011
/* YHUserVipInfoView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF4C2D5EEF860007A011
/* YHUserVipInfoView.swift */
;
};
04AFEF4D2D5EEF860007A011
/* YHUserVipInfoView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF4C2D5EEF860007A011
/* YHUserVipInfoView.swift */
;
};
04AFEF4F2D684EEC0007A011
/* YHVipLevelRightViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF4E2D684EEC0007A011
/* YHVipLevelRightViewController.swift */
;
};
04AFEF512D6878030007A011
/* YHVipLevelRightInfoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF502D6878030007A011
/* YHVipLevelRightInfoCell.swift */
;
};
04E4CF3E2D5C6D32004D4013
/* YHCountryMessageView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04E4CF3D2D5C6D32004D4013
/* YHCountryMessageView.swift */
;
};
04E4CF3E2D5C6D32004D4013
/* YHCountryMessageView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04E4CF3D2D5C6D32004D4013
/* YHCountryMessageView.swift */
;
};
04E4CF402D5C83AE004D4013
/* YHSelectPhoneCountryViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04E4CF3F2D5C83AE004D4013
/* YHSelectPhoneCountryViewController.swift */
;
};
04E4CF402D5C83AE004D4013
/* YHSelectPhoneCountryViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04E4CF3F2D5C83AE004D4013
/* YHSelectPhoneCountryViewController.swift */
;
};
04EA376D2BEA06EF00DBAF64
/* WebKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04EA376C2BEA06EF00DBAF64
/* WebKit.framework */
;
};
04EA376D2BEA06EF00DBAF64
/* WebKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04EA376C2BEA06EF00DBAF64
/* WebKit.framework */
;
};
...
@@ -2448,6 +2450,8 @@
...
@@ -2448,6 +2450,8 @@
04AFEF482D5DDE180007A011
/* YHMyFunctionGroupItem2Cell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyFunctionGroupItem2Cell.swift
;
sourceTree
=
"<group>"
;
};
04AFEF482D5DDE180007A011
/* YHMyFunctionGroupItem2Cell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyFunctionGroupItem2Cell.swift
;
sourceTree
=
"<group>"
;
};
04AFEF4A2D5DF3710007A011
/* YHMyUserInfoView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyUserInfoView.swift
;
sourceTree
=
"<group>"
;
};
04AFEF4A2D5DF3710007A011
/* YHMyUserInfoView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyUserInfoView.swift
;
sourceTree
=
"<group>"
;
};
04AFEF4C2D5EEF860007A011
/* YHUserVipInfoView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHUserVipInfoView.swift
;
sourceTree
=
"<group>"
;
};
04AFEF4C2D5EEF860007A011
/* YHUserVipInfoView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHUserVipInfoView.swift
;
sourceTree
=
"<group>"
;
};
04AFEF4E2D684EEC0007A011
/* YHVipLevelRightViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVipLevelRightViewController.swift
;
sourceTree
=
"<group>"
;
};
04AFEF502D6878030007A011
/* YHVipLevelRightInfoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVipLevelRightInfoCell.swift
;
sourceTree
=
"<group>"
;
};
04E4CF3D2D5C6D32004D4013
/* YHCountryMessageView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCountryMessageView.swift
;
sourceTree
=
"<group>"
;
};
04E4CF3D2D5C6D32004D4013
/* YHCountryMessageView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCountryMessageView.swift
;
sourceTree
=
"<group>"
;
};
04E4CF3F2D5C83AE004D4013
/* YHSelectPhoneCountryViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectPhoneCountryViewController.swift
;
sourceTree
=
"<group>"
;
};
04E4CF3F2D5C83AE004D4013
/* YHSelectPhoneCountryViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectPhoneCountryViewController.swift
;
sourceTree
=
"<group>"
;
};
04EA376C2BEA06EF00DBAF64
/* WebKit.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
WebKit.framework
;
path
=
System/Library/Frameworks/WebKit.framework
;
sourceTree
=
SDKROOT
;
};
04EA376C2BEA06EF00DBAF64
/* WebKit.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
WebKit.framework
;
path
=
System/Library/Frameworks/WebKit.framework
;
sourceTree
=
SDKROOT
;
};
...
@@ -5730,6 +5734,7 @@
...
@@ -5730,6 +5734,7 @@
045C0EDF2D12CA5E00BD2DC0
/* YHTestViewController.swift */
,
045C0EDF2D12CA5E00BD2DC0
/* YHTestViewController.swift */
,
045C0EE02D12CA5E00BD2DC0
/* YHVideoPlaySettingVC.swift */
,
045C0EE02D12CA5E00BD2DC0
/* YHVideoPlaySettingVC.swift */
,
048D6ADA2D5E00DE00BC6F4C
/* YHMemberCenterViewController.swift */
,
048D6ADA2D5E00DE00BC6F4C
/* YHMemberCenterViewController.swift */
,
04AFEF4E2D684EEC0007A011
/* YHVipLevelRightViewController.swift */
,
);
);
path
=
C
;
path
=
C
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -5816,6 +5821,7 @@
...
@@ -5816,6 +5821,7 @@
0436713A2D643A7A00E8D9BA
/* YHMemberCenterMyPrivilegeCell.swift */
,
0436713A2D643A7A00E8D9BA
/* YHMemberCenterMyPrivilegeCell.swift */
,
0436713C2D6470A400E8D9BA
/* YHMemberCenterActionCell.swift */
,
0436713C2D6470A400E8D9BA
/* YHMemberCenterActionCell.swift */
,
0436713E2D64817500E8D9BA
/* YHMemberCenterFooterView.swift */
,
0436713E2D64817500E8D9BA
/* YHMemberCenterFooterView.swift */
,
04AFEF502D6878030007A011
/* YHVipLevelRightInfoCell.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -7338,6 +7344,7 @@
...
@@ -7338,6 +7344,7 @@
045C11572D12CA5F00BD2DC0
/* YHCountryHotView.swift in Sources */
,
045C11572D12CA5F00BD2DC0
/* YHCountryHotView.swift in Sources */
,
048D6ADB2D5E00DE00BC6F4C
/* YHMemberCenterViewController.swift in Sources */
,
048D6ADB2D5E00DE00BC6F4C
/* YHMemberCenterViewController.swift in Sources */
,
045C11582D12CA5F00BD2DC0
/* YHPreviewBaseViewController.swift in Sources */
,
045C11582D12CA5F00BD2DC0
/* YHPreviewBaseViewController.swift in Sources */
,
04AFEF4F2D684EEC0007A011
/* YHVipLevelRightViewController.swift in Sources */
,
045C11592D12CA5F00BD2DC0
/* YHAITextMessageCell.swift in Sources */
,
045C11592D12CA5F00BD2DC0
/* YHAITextMessageCell.swift in Sources */
,
04307BB02D215D1C00ED8E8D
/* YHRecommendedLiveHeader.swift in Sources */
,
04307BB02D215D1C00ED8E8D
/* YHRecommendedLiveHeader.swift in Sources */
,
048D6ADF2D5F0FBE00BC6F4C
/* YHMemberCenterHeaderBannerCell.swift in Sources */
,
048D6ADF2D5F0FBE00BC6F4C
/* YHMemberCenterHeaderBannerCell.swift in Sources */
,
...
@@ -7513,6 +7520,7 @@
...
@@ -7513,6 +7520,7 @@
045C11F72D12CA5F00BD2DC0
/* YHPrinciplePhotoCollectCell.swift in Sources */
,
045C11F72D12CA5F00BD2DC0
/* YHPrinciplePhotoCollectCell.swift in Sources */
,
045C11F82D12CA5F00BD2DC0
/* YHCompanyViewModel.swift in Sources */
,
045C11F82D12CA5F00BD2DC0
/* YHCompanyViewModel.swift in Sources */
,
045C11F92D12CA5F00BD2DC0
/* YHTravelDocsPreparationListViewController.swift in Sources */
,
045C11F92D12CA5F00BD2DC0
/* YHTravelDocsPreparationListViewController.swift in Sources */
,
04AFEF512D6878030007A011
/* YHVipLevelRightInfoCell.swift in Sources */
,
04307B7A2D1AADBE00ED8E8D
/* YHGCBasicInfoFillModel.swift in Sources */
,
04307B7A2D1AADBE00ED8E8D
/* YHGCBasicInfoFillModel.swift in Sources */
,
04307B7B2D1AADBE00ED8E8D
/* YHGCBasicInfoFillViewModel.swift in Sources */
,
04307B7B2D1AADBE00ED8E8D
/* YHGCBasicInfoFillViewModel.swift in Sources */
,
045C11FA2D12CA5F00BD2DC0
/* YHMyTestViewController.swift in Sources */
,
045C11FA2D12CA5F00BD2DC0
/* YHMyTestViewController.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHVipLevelRightViewController.swift
0 → 100644
View file @
f7ee2578
//
// YHVipLevelRightViewController.swift
// galaxy
//
// Created by Dufet on 2025/2/21.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHVipLevelRightViewController
:
YHBaseViewController
{
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
CGRect
.
zero
,
style
:
.
grouped
)
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
UIColor
.
white
tableView
.
separatorStyle
=
.
none
tableView
.
register
(
YHHomeIdentityCell
.
self
,
forCellReuseIdentifier
:
YHHomeIdentityCell
.
cellReuseIdentifier
)
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
tableView
.
tableHeaderView
=
self
.
headerView
tableView
.
separatorStyle
=
.
none
return
tableView
}()
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
// Do any additional setup after loading the view.
}
}
extension
YHVipLevelRightViewController
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHHomeIdentityCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHHomeIdentityCell
if
0
<=
indexPath
.
row
,
indexPath
.
row
<
self
.
imgItems
.
count
{
let
item
=
self
.
imgItems
[
indexPath
.
row
]
cell
.
image
=
item
.
img
}
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
0
<=
indexPath
.
row
,
indexPath
.
row
<
self
.
imgItems
.
count
{
let
item
=
self
.
imgItems
[
indexPath
.
row
]
return
item
.
getSize
()
.
height
}
return
KScreenWidth
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
self
.
imgItems
.
count
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
heightForFooterInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHVipLevelRightInfoCell.swift
0 → 100644
View file @
f7ee2578
//
// YHVipLevelRightInfoCell.swift
// galaxy
//
// Created by Dufet on 2025/2/21.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHVipLevelRightInfoCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHVipLevelRightInfoCell"
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
func
setupUI
()
{
self
.
backgroundColor
=
.
clear
self
.
selectionStyle
=
.
none
}
}
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