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
b3a44665
Commit
b3a44665
authored
Sep 19, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节修改 服务中心
parent
97caf58e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
18 deletions
+47
-18
YHResignCertificateListViewController.swift
...age(续期证件管理)/C/YHResignCertificateListViewController.swift
+4
-3
YHResignCertificateModel.swift
...ertificateManage(续期证件管理)/M/YHResignCertificateModel.swift
+1
-0
YHResignCertificateListTableViewCell.swift
...nage(续期证件管理)/V/YHResignCertificateListTableViewCell.swift
+15
-11
YHResignGuidelinesExampleShareViewController.swift
...份指引)/C/YHResignGuidelinesExampleShareViewController.swift
+2
-2
YHServiceCenterStepThreeTableHeadView.swift
...rvice(服务中心)/V/YHServiceCenterStepThreeTableHeadView.swift
+3
-2
Contents.json
...ign_guidelines_example_share_other.imageset/Contents.json
+22
-0
resign_guidelines_example_share_other@2x.png
...her.imageset/resign_guidelines_example_share_other@2x.png
+0
-0
resign_guidelines_example_share_other@3x.png
...her.imageset/resign_guidelines_example_share_other@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignCertificateManage(续期证件管理)/C/YHResignCertificateListViewController.swift
View file @
b3a44665
...
@@ -64,6 +64,7 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
...
@@ -64,6 +64,7 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHResignCertificateListTableViewCell
.
self
)
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHResignCertificateListTableViewCell
.
self
)
cell
.
index
=
indexPath
.
row
var
model
:
[
YHResignCertificateModel
]
=
[]
var
model
:
[
YHResignCertificateModel
]
=
[]
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
model
=
self
.
viewModel
.
mainModel
.
TRAVEL
model
=
self
.
viewModel
.
mainModel
.
TRAVEL
...
@@ -84,9 +85,6 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
...
@@ -84,9 +85,6 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
cell
.
dataSource
=
model
cell
.
dataSource
=
model
cell
.
clickBlock
=
{
[
weak
self
]
model
in
cell
.
clickBlock
=
{
[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
model
.
age
<
11
{
return
}
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
if
model
.
cert_type
==
"PASS_PORT"
{
if
model
.
cert_type
==
"PASS_PORT"
{
let
vc
=
YHResignCertificateDetailPassPortViewController
()
let
vc
=
YHResignCertificateDetailPassPortViewController
()
...
@@ -104,6 +102,9 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
...
@@ -104,6 +102,9 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
if
indexPath
.
row
==
2
{
if
indexPath
.
row
==
2
{
if
model
.
age
<
11
{
return
}
let
vc
=
YHResignCertificateDetailViewController
()
let
vc
=
YHResignCertificateDetailViewController
()
vc
.
detailType
=
.
HongKongCard
vc
.
detailType
=
.
HongKongCard
vc
.
dataModel
=
model
vc
.
dataModel
=
model
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignCertificateManage(续期证件管理)/M/YHResignCertificateModel.swift
View file @
b3a44665
...
@@ -63,6 +63,7 @@ class YHResignCertificateInfoModel: SmartCodable {
...
@@ -63,6 +63,7 @@ class YHResignCertificateInfoModel: SmartCodable {
var
validate_start
:
String
=
""
var
validate_start
:
String
=
""
var
validate_end
:
String
=
""
var
validate_end
:
String
=
""
var
is_show
:
Bool
=
false
required
init
()
{
required
init
()
{
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignCertificateManage(续期证件管理)/V/YHResignCertificateListTableViewCell.swift
View file @
b3a44665
...
@@ -15,6 +15,7 @@ class YHResignCertificateListTableViewCell: UITableViewCell {
...
@@ -15,6 +15,7 @@ class YHResignCertificateListTableViewCell: UITableViewCell {
var
titleLabel
:
UILabel
!
var
titleLabel
:
UILabel
!
var
mainItemView
:
UIView
!
var
mainItemView
:
UIView
!
var
lineView
:
UIView
!
var
lineView
:
UIView
!
var
index
:
Int
=
0
var
dataSource
:
[
YHResignCertificateModel
]?
{
var
dataSource
:
[
YHResignCertificateModel
]?
{
didSet
{
didSet
{
updateAllViews
()
updateAllViews
()
...
@@ -104,6 +105,7 @@ class YHResignCertificateListTableViewCell: UITableViewCell {
...
@@ -104,6 +105,7 @@ class YHResignCertificateListTableViewCell: UITableViewCell {
}
}
total
=
total
+
1
total
=
total
+
1
let
itemView
=
YHResignCertificateView
()
let
itemView
=
YHResignCertificateView
()
itemView
.
index
=
index
itemView
.
clickBlock
=
{[
weak
self
]
model
in
itemView
.
clickBlock
=
{[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
let
block
=
self
.
clickBlock
{
if
let
block
=
self
.
clickBlock
{
...
@@ -133,6 +135,7 @@ class YHResignCertificateView: UIView {
...
@@ -133,6 +135,7 @@ class YHResignCertificateView: UIView {
var
explainLabel
:
UILabel
!
var
explainLabel
:
UILabel
!
var
nextStepImageView
:
UIImageView
!
var
nextStepImageView
:
UIImageView
!
var
centerButton
:
UIButton
!
var
centerButton
:
UIButton
!
var
index
:
Int
=
0
var
dataSource
:
YHResignCertificateModel
?
{
var
dataSource
:
YHResignCertificateModel
?
{
didSet
{
didSet
{
...
@@ -230,8 +233,18 @@ class YHResignCertificateView: UIView {
...
@@ -230,8 +233,18 @@ class YHResignCertificateView: UIView {
explainLabel
.
textColor
=
UIColor
(
hex
:
0x3cc694
)
explainLabel
.
textColor
=
UIColor
(
hex
:
0x3cc694
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_success"
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_success"
)
}
}
if
dataSource
.
age
<
11
{
if
dataSource
.
cert_type
==
"PASS_PORT"
{
subTitleLabel
.
text
=
" (护照入境)"
}
else
if
dataSource
.
cert_type
==
"HK_PASS_PORT"
{
subTitleLabel
.
text
=
" (港澳通行证入境)"
}
else
{
subTitleLabel
.
text
=
""
}
if
dataSource
.
age
<
11
,
index
==
2
{
explainLabel
.
text
=
"无需提供"
explainLabel
.
text
=
"无需提供"
subTitleLabel
.
text
=
" (未满11岁)"
explainLabel
.
textColor
=
UIColor
.
mainTextColor18
explainLabel
.
textColor
=
UIColor
.
mainTextColor18
nextStepImageView
.
isHidden
=
true
nextStepImageView
.
isHidden
=
true
explainLabel
.
snp
.
remakeConstraints
{
make
in
explainLabel
.
snp
.
remakeConstraints
{
make
in
...
@@ -248,16 +261,7 @@ class YHResignCertificateView: UIView {
...
@@ -248,16 +261,7 @@ class YHResignCertificateView: UIView {
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
}
}
}
}
if
dataSource
.
cert_type
==
"PASS_PORT"
{
subTitleLabel
.
text
=
" (护照入境)"
}
else
if
dataSource
.
cert_type
==
"HK_PASS_PORT"
{
subTitleLabel
.
text
=
" (港澳通行证入境)"
}
else
{
subTitleLabel
.
text
=
""
}
if
dataSource
.
age
<
11
{
subTitleLabel
.
text
=
" (未满11岁)"
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignGuidelines(续期身份指引)/C/YHResignGuidelinesExampleShareViewController.swift
View file @
b3a44665
...
@@ -158,11 +158,11 @@ extension YHResignGuidelinesExampleShareViewController {
...
@@ -158,11 +158,11 @@ extension YHResignGuidelinesExampleShareViewController {
}
}
@objc
func
wxClick
()
{
@objc
func
wxClick
()
{
// YHShareManager.shared.sendLinkContent("香港身份规划专属礼包,限时领取!", "1000元折扣福利券,资深银河规划专家1V1评估方案", UIImage(named: "invitation_with_gifts
_share_other") ?? UIImage(), link: YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/evaluation?channel=lkhtj-app&customer_id=\(YHLoginManager.shared.userModel?.id ?? "")&scene_id=30")
YHShareManager
.
shared
.
sendLinkContent
(
"香港身份测评专属方案,限时领取!"
,
"银河身份规划专家1V1评估,获取香港身份方案"
,
UIImage
(
named
:
"resign_guidelines_example
_share_other"
)
??
UIImage
(),
link
:
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/evaluation?channel=lkhtj-app&customer_id=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
""
)
&scene_id=30"
)
}
}
@objc
func
peopleClick
()
{
@objc
func
peopleClick
()
{
// YHShareManager.shared.sendLinkContent("香港身份规划专属礼包,限时领取!", "1000元折扣福利券,资深银河规划专家1V1评估方案", UIImage(named: "invitation_with_gifts
_share_other") ?? UIImage(), link: YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/evaluation?channel=lkhtj-app&customer_id=\(YHLoginManager.shared.userModel?.id ?? "")&scene_id=30", WXSceneTimeline)
YHShareManager
.
shared
.
sendLinkContent
(
"香港身份测评专属方案,限时领取!"
,
"银河身份规划专家1V1评估,获取香港身份方案"
,
UIImage
(
named
:
"resign_guidelines_example
_share_other"
)
??
UIImage
(),
link
:
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/evaluation?channel=lkhtj-app&customer_id=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
""
)
&scene_id=30"
,
WXSceneTimeline
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceCenterStepThreeTableHeadView.swift
View file @
b3a44665
...
@@ -16,7 +16,7 @@ class YHServiceCenterStepThreeTableHeadView: UIView {
...
@@ -16,7 +16,7 @@ class YHServiceCenterStepThreeTableHeadView: UIView {
didSet
{
didSet
{
if
dataSource
.
count
>
selectIndex
{
if
dataSource
.
count
>
selectIndex
{
let
model
=
dataSource
[
selectIndex
]
let
model
=
dataSource
[
selectIndex
]
explainLabel
.
text
=
model
.
personStr
explainLabel
.
text
=
"本期人员:"
+
model
.
personStr
if
model
.
personStr
.
count
>
20
{
if
model
.
personStr
.
count
>
20
{
moreButton
.
isHidden
=
false
moreButton
.
isHidden
=
false
}
else
{
}
else
{
...
@@ -118,7 +118,8 @@ class YHServiceCenterStepThreeTableHeadView: UIView {
...
@@ -118,7 +118,8 @@ class YHServiceCenterStepThreeTableHeadView: UIView {
}
}
@objc
func
showAlert
()
{
@objc
func
showAlert
()
{
YHCommonAlertView
.
show
(
""
,
explainLabel
.
text
,
"我知道了"
,
fullGuestureEnable
:
false
)
{
let
model
=
dataSource
[
selectIndex
]
YHCommonAlertView
.
show
(
""
,
"本期续期人员:"
+
model
.
personStr
,
"我知道了"
,
fullGuestureEnable
:
false
)
{
}
callBack
:
{
}
callBack
:
{
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签身份指引/resign_guidelines_example_share_other.imageset/Contents.json
0 → 100644
View file @
b3a44665
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"resign_guidelines_example_share_other@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"resign_guidelines_example_share_other@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签身份指引/resign_guidelines_example_share_other.imageset/resign_guidelines_example_share_other@2x.png
0 → 100644
View file @
b3a44665
10.1 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签身份指引/resign_guidelines_example_share_other.imageset/resign_guidelines_example_share_other@3x.png
0 → 100644
View file @
b3a44665
12.7 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