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
5c5ffb0d
Commit
5c5ffb0d
authored
Jul 19, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预约银河湾UI
parent
34a525c2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
315 additions
and
3 deletions
+315
-3
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+36
-0
YHDetailViewController.swift
...s/Modules/Mine(我的)/AboutYH/C/YHDetailViewController.swift
+94
-0
YHListViewController.swift
...ses/Modules/Mine(我的)/AboutYH/C/YHListViewController.swift
+137
-0
YHHeadView.swift
...alaxy/Classes/Modules/Mine(我的)/AboutYH/V/YHHeadView.swift
+47
-0
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-3
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
5c5ffb0d
...
...
@@ -282,6 +282,9 @@
047AA3E02C4A63B2009C4554
/* YHLifeSectionView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
047AA3DF2C4A63B2009C4554
/* YHLifeSectionView.swift */
;
};
047AA3E22C4A66CE009C4554
/* YHLifeItemTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
047AA3E12C4A66CE009C4554
/* YHLifeItemTableViewCell.swift */
;
};
047AA3E42C4A6ADC009C4554
/* YHLifeHeadView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
047AA3E32C4A6ADC009C4554
/* YHLifeHeadView.swift */
;
};
047AA3E82C4A6D69009C4554
/* YHListViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
047AA3E72C4A6D69009C4554
/* YHListViewController.swift */
;
};
047AA3EA2C4A6FB7009C4554
/* YHDetailViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
047AA3E92C4A6FB7009C4554
/* YHDetailViewController.swift */
;
};
047AA3ED2C4A70F6009C4554
/* YHHeadView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
047AA3EC2C4A70F6009C4554
/* YHHeadView.swift */
;
};
0480976B2BA15269000B9DCA
/* YHCertificateInfoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0480976A2BA15269000B9DCA
/* YHCertificateInfoCell.swift */
;
};
0480976D2BA158A1000B9DCA
/* YHCertificateListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0480976C2BA158A1000B9DCA
/* YHCertificateListVC.swift */
;
};
048097712BA18D66000B9DCA
/* YHCertificateSearchBar.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048097702BA18D66000B9DCA
/* YHCertificateSearchBar.swift */
;
};
...
...
@@ -890,6 +893,9 @@
047AA3DF2C4A63B2009C4554
/* YHLifeSectionView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHLifeSectionView.swift
;
sourceTree
=
"<group>"
;
};
047AA3E12C4A66CE009C4554
/* YHLifeItemTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHLifeItemTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
047AA3E32C4A6ADC009C4554
/* YHLifeHeadView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHLifeHeadView.swift
;
sourceTree
=
"<group>"
;
};
047AA3E72C4A6D69009C4554
/* YHListViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHListViewController.swift
;
sourceTree
=
"<group>"
;
};
047AA3E92C4A6FB7009C4554
/* YHDetailViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHDetailViewController.swift
;
sourceTree
=
"<group>"
;
};
047AA3EC2C4A70F6009C4554
/* YHHeadView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHeadView.swift
;
sourceTree
=
"<group>"
;
};
0480976A2BA15269000B9DCA
/* YHCertificateInfoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateInfoCell.swift
;
sourceTree
=
"<group>"
;
};
0480976C2BA158A1000B9DCA
/* YHCertificateListVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateListVC.swift
;
sourceTree
=
"<group>"
;
};
048097702BA18D66000B9DCA
/* YHCertificateSearchBar.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateSearchBar.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -2150,6 +2156,32 @@
path
=
V
;
sourceTree
=
"<group>"
;
};
047AA3E52C4A6D3A009C4554
/* AboutYH */
=
{
isa
=
PBXGroup
;
children
=
(
047AA3EB2C4A70DF009C4554
/* V */
,
047AA3E62C4A6D50009C4554
/* C */
,
);
path
=
AboutYH
;
sourceTree
=
"<group>"
;
};
047AA3E62C4A6D50009C4554
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
047AA3E72C4A6D69009C4554
/* YHListViewController.swift */
,
047AA3E92C4A6FB7009C4554
/* YHDetailViewController.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
};
047AA3EB2C4A70DF009C4554
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
047AA3EC2C4A70F6009C4554
/* YHHeadView.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
};
04808C022B4686510056D53C
/* Frameworks */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -2784,6 +2816,7 @@
A5ACE8E72B4564F7002C94D2
/* Mine(我的) */
=
{
isa
=
PBXGroup
;
children
=
(
047AA3E52C4A6D3A009C4554
/* AboutYH */
,
044D0C072C22874600C5CF5E
/* MyCard(我的名片) */
,
0414BDB02BCCC09000225367
/* Model */
,
048B2A4B2BC7DACF00A93BF0
/* ViewModel */
,
...
...
@@ -3568,6 +3601,7 @@
A5ACE9472B4564F7002C94D2
/* YHHUD.swift in Sources */
,
045A08C02C37ABF500BCBABA
/* YHSegmentView.swift in Sources */
,
A5ACE9412B4564F7002C94D2
/* Dictionary+Extension.swift in Sources */
,
047AA3EA2C4A6FB7009C4554
/* YHDetailViewController.swift in Sources */
,
045EEE8F2B9F171A0022A143
/* YHPreviewInfoProjectItemView.swift in Sources */
,
045EEF152B9F171A0022A143
/* YHHKIDCardModel.swift in Sources */
,
0477E17E2BA4362A00436346
/* YHCustomNavigationBar.swift in Sources */
,
...
...
@@ -3611,6 +3645,7 @@
045EEF1E2B9F171A0022A143
/* YHBottomNextView.swift in Sources */
,
A567E59E2BD7643D00D5D5A0
/* YHHomePageViewController.swift in Sources */
,
045EEEBA2B9F171A0022A143
/* YHWorkResponsibilitiesTableViewCell.swift in Sources */
,
047AA3ED2C4A70F6009C4554
/* YHHeadView.swift in Sources */
,
04AD317F2C295C0300DF5655
/* YHChangeHeadModel.swift in Sources */
,
A5ACE9552B4564F7002C94D2
/* YHTabBarViewController.swift in Sources */
,
045EEF0A2B9F171A0022A143
/* YHBasicInfoSessionModel.swift in Sources */
,
...
...
@@ -3651,6 +3686,7 @@
A567E5B02BD7643D00D5D5A0
/* YHHomeWebBottomView.swift in Sources */
,
045EEF0D2B9F171A0022A143
/* YHBasicInfoFillCell.swift in Sources */
,
044D0C1A2C22B40B00C5CF5E
/* YHEditPersonalProfileViewController.swift in Sources */
,
047AA3E82C4A6D69009C4554
/* YHListViewController.swift in Sources */
,
048787D92BCF68530036E221
/* YHProgressView.swift in Sources */
,
045EEEEC2B9F171A0022A143
/* YHBrotherInfoVC.swift in Sources */
,
0477E17A2BA41C7E00436346
/* YHCertificateModel.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/AboutYH/C/YHDetailViewController.swift
0 → 100644
View file @
5c5ffb0d
//
// YHDetailViewController.swift
// galaxy
//
// Created by EDY on 2024/7/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHDetailViewController
:
YHBaseViewController
{
var
tableView
:
UITableView
!
lazy
var
headView
:
YHHeadView
=
{
let
headView
=
YHHeadView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
581
))
return
headView
}()
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setView
()
loadData
()
}
}
extension
YHDetailViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
2
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHListTableViewCell
.
self
)
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
243
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
heightForFooterInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
}
extension
YHDetailViewController
{
func
getData
()
{
}
func
updateDataSource
()
{
}
func
setView
()
{
view
.
backgroundColor
=
.
white
tableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
backgroundColor
=
.
clear
tableView
.
separatorStyle
=
.
none
tableView
.
showsHorizontalScrollIndicator
=
false
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
dataSource
=
self
tableView
.
delegate
=
self
tableView
.
tableHeaderView
=
headView
tableView
.
tableFooterView
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
0.01
))
tableView
.
register
(
cellWithClass
:
YHListTableViewCell
.
self
)
return
tableView
}()
view
.
addSubview
(
tableView
)
tableView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
bottom
.
left
.
right
.
equalToSuperview
()
}
}
func
loadData
()
{
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/AboutYH/C/YHListViewController.swift
0 → 100644
View file @
5c5ffb0d
//
// YHListViewController.swift
// galaxy
//
// Created by EDY on 2024/7/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHListViewController
:
YHBaseViewController
{
var
tableView
:
UITableView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setView
()
loadData
()
}
}
extension
YHListViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHListTableViewCell
.
self
)
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
204
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
6
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
heightForFooterInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
YHDetailViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
extension
YHListViewController
{
func
getData
()
{
}
func
updateDataSource
()
{
}
func
setView
()
{
gk_navTitle
=
"关于银河湾"
view
.
backgroundColor
=
.
white
tableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
backgroundColor
=
.
clear
tableView
.
separatorStyle
=
.
none
tableView
.
showsHorizontalScrollIndicator
=
false
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
dataSource
=
self
tableView
.
delegate
=
self
tableView
.
register
(
cellWithClass
:
YHListTableViewCell
.
self
)
return
tableView
}()
view
.
addSubview
(
tableView
)
tableView
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
)
}
}
func
loadData
()
{
}
}
class
YHListTableViewCell
:
UITableViewCell
{
var
centerImageView
:
UIImageView
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
// Initialization code
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
selectionStyle
=
.
none
setupUI
()
}
func
setupUI
()
{
self
.
backgroundColor
=
.
white
centerImageView
=
{
let
imageView
=
UIImageView
()
imageView
.
isUserInteractionEnabled
=
true
imageView
.
image
=
UIImage
(
named
:
"invitation_with_gifts_first"
)
imageView
.
contentMode
=
.
scaleAspectFill
return
imageView
}()
contentView
.
addSubview
(
centerImageView
)
centerImageView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
10
)
make
.
left
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
20
)
make
.
bottom
.
equalTo
(
-
10
)
}
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/AboutYH/V/YHHeadView.swift
0 → 100644
View file @
5c5ffb0d
//
// YHHeadView.swift
// galaxy
//
// Created by EDY on 2024/7/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHHeadView
:
UIView
{
var
imageView
=
UIImageView
()
var
titleLabel
:
UILabel
!
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
backgroundColor
=
.
white
setUpView
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
setUpView
()
{
addSubview
(
imageView
)
imageView
.
backgroundColor
=
.
red
imageView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
bottom
.
equalTo
(
-
8
)
}
titleLabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
21
)
label
.
text
=
"内景展示"
return
label
}()
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
20
)
make
.
top
.
equalTo
(
imageView
.
snp
.
bottom
)
.
offset
(
32
)
make
.
height
.
equalTo
(
29
)
}
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
5c5ffb0d
...
...
@@ -331,9 +331,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
appointGalaxyBay
:
//预约银河湾
printLog
(
"预约银河湾"
)
let
vc
=
YHHomeWebViewController
()
vc
.
vcTitle
=
"预约银河湾"
vc
.
url
=
"https://upload.cdn.galaxy-immi.com/sell/product/images/page-1686138671996.png"
let
vc
=
YHListViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
myActivity
:
printLog
(
"我的活动"
)
...
...
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