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
0c25026d
Commit
0c25026d
authored
Oct 16, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// fix
parent
25c67bb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
YHActivityTravelViewController.swift
...y(社区)/Activity(活动)/C/YHActivityTravelViewController.swift
+12
-14
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHActivityTravelViewController.swift
View file @
0c25026d
...
...
@@ -97,24 +97,22 @@ class YHActivityTravelViewController: YHBaseViewController {
}()
@objc
func
didRightBtnClicked
()
{
func
goToScanVC
()
{
let
checkInVC
=
YHScanViewController
.
create
(
types
:
.
checkIn
)
{
[
weak
self
]
result
in
guard
let
self
=
self
else
{
let
checkInVC
=
YHScanViewController
.
create
(
types
:
.
checkIn
)
{
[
weak
self
]
result
in
guard
let
self
=
self
else
{
return
}
print
(
"签到码:
\(
result
.
code
)
"
)
if
let
type
=
result
.
recognizedType
,
type
==
YHScanType
.
checkIn
{
// 活动扫码签到
if
!
type
.
prefixString
.
isEmpty
,
result
.
code
.
contains
(
type
.
prefixString
)
{
let
signId
=
result
.
code
.
replacingOccurrences
(
of
:
type
.
prefixString
,
with
:
""
)
let
vc
=
YHActivitySignSuccessViewController
()
vc
.
activityId
=
signId
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
print
(
"签到码:
\(
result
.
code
)
"
)
if
let
type
=
result
.
recognizedType
,
type
==
YHScanType
.
checkIn
{
// 活动扫码签到
if
!
type
.
prefixString
.
isEmpty
,
result
.
code
.
contains
(
type
.
prefixString
)
{
let
signId
=
result
.
code
.
replacingOccurrences
(
of
:
type
.
prefixString
,
with
:
""
)
let
vc
=
YHActivitySignSuccessViewController
()
vc
.
activityId
=
signId
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
}
}
navigationController
?
.
pushViewController
(
checkInVC
,
animated
:
true
)
}
navigationController
?
.
pushViewController
(
checkInVC
,
animated
:
true
)
}
func
updateBottomView
()
{
...
...
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