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
f26ea22b
Commit
f26ea22b
authored
Mar 27, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
方案
parent
4d4cacd4
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
263 additions
and
0 deletions
+263
-0
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+48
-0
YHMakePlanViewController.swift
...odules/Plan(方案)/MakePlan/C/YHMakePlanViewController.swift
+100
-0
YHMakePlanHeadView.swift
...sses/Modules/Plan(方案)/MakePlan/V/YHMakePlanHeadView.swift
+71
-0
Contents.json
.../Assets.xcassets/Plan/plan_head_bg.imageset/Contents.json
+22
-0
plan_head_bg@2x.png
...s.xcassets/Plan/plan_head_bg.imageset/plan_head_bg@2x.png
+0
-0
plan_head_bg@3x.png
...s.xcassets/Plan/plan_head_bg.imageset/plan_head_bg@3x.png
+0
-0
Contents.json
...ssets.xcassets/Plan/plan_head_logo.imageset/Contents.json
+22
-0
plan_head_logo@2x.png
...assets/Plan/plan_head_logo.imageset/plan_head_logo@2x.png
+0
-0
plan_head_logo@3x.png
...assets/Plan/plan_head_logo.imageset/plan_head_logo@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
f26ea22b
...
...
@@ -1216,6 +1216,8 @@
04AFEF572D6C78AA0007A011
/* YHVipLevelRightViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF562D6C78AA0007A011
/* YHVipLevelRightViewController.swift */
;
};
04AFEF592D6C8CE00007A011
/* YHVipLevelRightHeaderView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF582D6C8CDF0007A011
/* YHVipLevelRightHeaderView.swift */
;
};
04AFEF5B2D76DC740007A011
/* YHTravelCertificateUsageTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AFEF5A2D76DC740007A011
/* YHTravelCertificateUsageTipsView.swift */
;
};
04B00F7E2D94FB3C00F640C5
/* YHMakePlanViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B00F7D2D94FB3C00F640C5
/* YHMakePlanViewController.swift */
;
};
04B00F802D951D0B00F640C5
/* YHMakePlanHeadView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B00F7F2D951D0B00F640C5
/* YHMakePlanHeadView.swift */
;
};
04D8FF552D9258AA00703C75
/* YHPlanScoreView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04D8FF542D9258AA00703C75
/* YHPlanScoreView.swift */
;
};
04D8FF572D925A0800703C75
/* YHPlanScoreChart.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04D8FF562D925A0800703C75
/* YHPlanScoreChart.swift */
;
};
04D8FF592D925E6700703C75
/* YHPlanModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04D8FF582D925E6700703C75
/* YHPlanModel.swift */
;
};
...
...
@@ -2482,6 +2484,8 @@
04AFEF562D6C78AA0007A011
/* YHVipLevelRightViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVipLevelRightViewController.swift
;
sourceTree
=
"<group>"
;
};
04AFEF582D6C8CDF0007A011
/* YHVipLevelRightHeaderView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVipLevelRightHeaderView.swift
;
sourceTree
=
"<group>"
;
};
04AFEF5A2D76DC740007A011
/* YHTravelCertificateUsageTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHTravelCertificateUsageTipsView.swift
;
sourceTree
=
"<group>"
;
};
04B00F7D2D94FB3C00F640C5
/* YHMakePlanViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMakePlanViewController.swift
;
sourceTree
=
"<group>"
;
};
04B00F7F2D951D0B00F640C5
/* YHMakePlanHeadView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMakePlanHeadView.swift
;
sourceTree
=
"<group>"
;
};
04D8FF542D9258AA00703C75
/* YHPlanScoreView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPlanScoreView.swift
;
sourceTree
=
"<group>"
;
};
04D8FF562D925A0800703C75
/* YHPlanScoreChart.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPlanScoreChart.swift
;
sourceTree
=
"<group>"
;
};
04D8FF582D925E6700703C75
/* YHPlanModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPlanModel.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -6612,9 +6616,51 @@
path
=
VM
;
sourceTree
=
"<group>"
;
};
04B00F782D94FA9500F640C5
/* MakePlan */
=
{
isa
=
PBXGroup
;
children
=
(
04B00F7C2D94FADB00F640C5
/* C */
,
04B00F7B2D94FAD400F640C5
/* V */
,
04B00F7A2D94FACD00F640C5
/* M */
,
04B00F792D94FAC000F640C5
/* VM */
,
);
path
=
MakePlan
;
sourceTree
=
"<group>"
;
};
04B00F792D94FAC000F640C5
/* VM */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
VM
;
sourceTree
=
"<group>"
;
};
04B00F7A2D94FACD00F640C5
/* M */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
M
;
sourceTree
=
"<group>"
;
};
04B00F7B2D94FAD400F640C5
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
04B00F7F2D951D0B00F640C5
/* YHMakePlanHeadView.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
};
04B00F7C2D94FADB00F640C5
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
04B00F7D2D94FB3C00F640C5
/* YHMakePlanViewController.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
};
04D8FF4F2D9257F700703C75
/* Plan(方案) */
=
{
isa
=
PBXGroup
;
children
=
(
04B00F782D94FA9500F640C5
/* MakePlan */
,
04D8FF532D92581300703C75
/* VM */
,
04D8FF522D92580F00703C75
/* M */
,
04D8FF512D92580900703C75
/* V */
,
...
...
@@ -7071,6 +7117,7 @@
045C0FF62D12CA5F00BD2DC0
/* YHMyIntroductionCell.swift in Sources */
,
045C0FF72D12CA5F00BD2DC0
/* YHOtherInfoFillCell.swift in Sources */
,
045C0FF82D12CA5F00BD2DC0
/* YHPrincipleUploadFileCell.swift in Sources */
,
04B00F802D951D0B00F640C5
/* YHMakePlanHeadView.swift in Sources */
,
045C0FF92D12CA5F00BD2DC0
/* YHVisaRenewalGuideRemarkCell.swift in Sources */
,
045C0FFA2D12CA5F00BD2DC0
/* YHAdopterChinaLifeViewController.swift in Sources */
,
045C0FFB2D12CA5F00BD2DC0
/* YHAITabBarItemContentView.swift in Sources */
,
...
...
@@ -7391,6 +7438,7 @@
045C11102D12CA5F00BD2DC0
/* YHMySignatureDetailViewModel.swift in Sources */
,
045C11112D12CA5F00BD2DC0
/* YHSearchItemLayout.swift in Sources */
,
045C11122D12CA5F00BD2DC0
/* YHServiceCenterViewController.swift in Sources */
,
04B00F7E2D94FB3C00F640C5
/* YHMakePlanViewController.swift in Sources */
,
045C11132D12CA5F00BD2DC0
/* YHVisaRenewalTroubleshootingGuideHeaderCell.swift in Sources */
,
045C11142D12CA5F00BD2DC0
/* YHInfoConsentForHKTravelCell.swift in Sources */
,
045C11152D12CA5F00BD2DC0
/* YHVisaRenewalGuideTipsCell.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/C/YHMakePlanViewController.swift
0 → 100644
View file @
f26ea22b
//
// YHMakePlanViewController.swift
// galaxy
//
// Created by EDY on 2025/3/27.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHMakePlanViewController
:
YHBaseViewController
{
var
items
:
[[
Int
]]
=
[]
let
viewModel
=
YHSchemeViewModel
()
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
tableView
.
register
(
YHComprehensiveEvaluationCell
.
self
,
forCellReuseIdentifier
:
YHComprehensiveEvaluationCell
.
cellReuseIdentifier
)
tableView
.
tableHeaderView
=
YHMakePlanHeadView
()
return
tableView
}()
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navTitle
=
"续签至永居方案私人订制"
gk_navTitleColor
=
.
white
gk_navBarAlpha
=
1
gk_navBackgroundImage
=
UIImage
(
named
:
"my_scheme_nav"
)
gk_backImage
=
UIImage
(
named
:
"back_icon_white"
)
view
.
backgroundColor
=
.
init
(
hex
:
0x090B26
)
self
.
view
.
addSubview
(
tableView
)
tableView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
left
.
right
.
bottom
.
equalToSuperview
()
}
requestData
()
}
func
requestData
()
{
tableView
.
reloadData
()
}
func
submitTargets
()
{
}
}
extension
YHMakePlanViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
items
.
count
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHComprehensiveEvaluationCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHComprehensiveEvaluationCell
else
{
return
UITableViewCell
()
}
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
return
view
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
return
view
}
func
tableView
(
_
tableView
:
UITableView
,
heightForFooterInSection
section
:
Int
)
->
CGFloat
{
return
12.0
}
}
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/V/YHMakePlanHeadView.swift
0 → 100644
View file @
f26ea22b
//
// YHMakePlanHeadView.swift
// galaxy
//
// Created by EDY on 2025/3/27.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHMakePlanHeadView
:
UIView
{
private
lazy
var
centerImageView
:
UIImageView
=
{
let
view
=
UIImageView
()
view
.
image
=
UIImage
(
named
:
"plan_head_bg"
)
return
view
}()
private
lazy
var
centerView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
4
return
view
}()
private
lazy
var
logoImageView
:
UIImageView
=
{
let
view
=
UIImageView
()
view
.
image
=
UIImage
(
named
:
"plan_head_logo"
)
return
view
}()
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
backgroundColor
=
UIColor
(
hex
:
0x070E33
)
setUpView
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
update
(
type
:
YHGCApplicationType
,
name
:
String
)
{
}
private
func
setUpView
()
{
addSubview
(
centerImageView
)
addSubview
(
centerView
)
addSubview
(
logoImageView
)
centerImageView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
equalToSuperview
()
make
.
height
.
equalTo
(
333
.
fix
)
}
centerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
height
.
equalTo
(
88
)
make
.
bottom
.
equalTo
(
centerImageView
.
snp
.
bottom
)
.
offset
(
-
16
)
}
logoImageView
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
height
.
equalTo
(
109
)
make
.
width
.
equalTo
(
272
)
make
.
top
.
equalTo
(
96
)
}
}
}
galaxy/galaxy/Res/Assets.xcassets/Plan/plan_head_bg.imageset/Contents.json
0 → 100644
View file @
f26ea22b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"plan_head_bg@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"plan_head_bg@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Plan/plan_head_bg.imageset/plan_head_bg@2x.png
0 → 100644
View file @
f26ea22b
450 KB
galaxy/galaxy/Res/Assets.xcassets/Plan/plan_head_bg.imageset/plan_head_bg@3x.png
0 → 100644
View file @
f26ea22b
757 KB
galaxy/galaxy/Res/Assets.xcassets/Plan/plan_head_logo.imageset/Contents.json
0 → 100644
View file @
f26ea22b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"plan_head_logo@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"plan_head_logo@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Plan/plan_head_logo.imageset/plan_head_logo@2x.png
0 → 100644
View file @
f26ea22b
49.6 KB
galaxy/galaxy/Res/Assets.xcassets/Plan/plan_head_logo.imageset/plan_head_logo@3x.png
0 → 100644
View file @
f26ea22b
82.8 KB
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