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
d2ba4d8a
Commit
d2ba4d8a
authored
Oct 17, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签在港签证缴费测试bug修复
parent
994a4c75
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
6 deletions
+25
-6
YHHKVisaRenewalPaymentVC.swift
...saRenewalPayment(续签在港缴费)/C/YHHKVisaRenewalPaymentVC.swift
+0
-0
YHVisaRenewalGuideVC.swift
...ngVisaRenewalPayment(续签在港缴费)/C/YHVisaRenewalGuideVC.swift
+24
-5
YHVisaRenewalPayConfirmingPresenceAlertView.swift
...在港缴费)/V/YHVisaRenewalPayConfirmingPresenceAlertView.swift
+1
-1
resign_visa_guide_error_content@2x.png
...r_content.imageset/resign_visa_guide_error_content@2x.png
+0
-0
resign_visa_guide_error_content@3x.png
...r_content.imageset/resign_visa_guide_error_content@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/HongKongVisaRenewalPayment(续签在港缴费)/C/YHHKVisaRenewalPaymentVC.swift
View file @
d2ba4d8a
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/HongKongVisaRenewalPayment(续签在港缴费)/C/YHVisaRenewalGuideVC.swift
View file @
d2ba4d8a
...
...
@@ -170,11 +170,7 @@ extension YHVisaRenewalGuideVC {
DispatchQueue
.
main
.
async
{
countDown
-=
1
if
countDown
==
0
{
self
.
cancelTimer
()
self
.
sureButton
.
isEnabled
=
true
self
.
sureButton
.
backgroundColor
=
.
brandMainColor
UserDefaults
.
standard
.
set
(
true
,
forKey
:
YHVisaRenewalGuideVC
.
showCardGuideKey
)
UserDefaults
.
standard
.
synchronize
()
self
.
didReadGuide
()
return
}
self
.
sureButton
.
isEnabled
=
false
...
...
@@ -192,6 +188,14 @@ extension YHVisaRenewalGuideVC {
timer
=
nil
}
}
private
func
didReadGuide
()
{
cancelTimer
()
sureButton
.
isEnabled
=
true
sureButton
.
backgroundColor
=
.
brandMainColor
UserDefaults
.
standard
.
set
(
true
,
forKey
:
YHVisaRenewalGuideVC
.
showCardGuideKey
)
UserDefaults
.
standard
.
synchronize
()
}
}
extension
YHVisaRenewalGuideVC
:
UITableViewDelegate
,
UITableViewDataSource
{
...
...
@@ -240,4 +244,19 @@ extension YHVisaRenewalGuideVC: UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
UITableView
.
automaticDimension
}
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
guard
!
YHVisaRenewalGuideVC
.
didShowGuide
else
{
return
}
let
offsetY
=
scrollView
.
contentOffset
.
y
let
contentHeight
=
scrollView
.
contentSize
.
height
let
height
=
scrollView
.
frame
.
size
.
height
if
offsetY
>
contentHeight
-
height
{
printLog
(
"Reached bottom!"
)
// 在这里执行到达底部时的操作
didReadGuide
()
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/HongKongVisaRenewalPayment(续签在港缴费)/V/YHVisaRenewalPayConfirmingPresenceAlertView.swift
View file @
d2ba4d8a
...
...
@@ -57,7 +57,7 @@ class YHVisaRenewalPayConfirmingPresenceAlertView: UIView {
label
.
numberOfLines
=
0
let
a
:
ASAttributedString
=
.
init
(
"建议入境香港后,"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
"远离海关,并延迟20分钟后再进行确认"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
c
:
ASAttributedString
=
.
init
(
",避免香港海关系统还未识别到
已入境
!"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
c
:
ASAttributedString
=
.
init
(
",避免香港海关系统还未识别到
入境记录
!"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
label
.
attributed
.
text
=
a
+
b
+
c
return
label
}()
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签在港缴费/resign_visa_guide_error_content.imageset/resign_visa_guide_error_content@2x.png
View replaced file @
994a4c75
View file @
d2ba4d8a
117 KB
|
W:
|
H:
118 KB
|
W:
|
H:
2-up
Swipe
Onion skin
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签在港缴费/resign_visa_guide_error_content.imageset/resign_visa_guide_error_content@3x.png
View replaced file @
994a4c75
View file @
d2ba4d8a
209 KB
|
W:
|
H:
206 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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