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
594f1c99
Commit
594f1c99
authored
Oct 17, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 活动
parent
5482e2d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
YHActivityListViewController.swift
...ity(社区)/Activity(活动)/C/YHActivityListViewController.swift
+4
-4
YHActivitySignSuccessViewController.swift
.../Activity(活动)/C/YHActivitySignSuccessViewController.swift
+3
-0
YHApplyActivityResultViewController.swift
.../Activity(活动)/C/YHApplyActivityResultViewController.swift
+5
-8
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHActivityListViewController.swift
View file @
594f1c99
...
@@ -92,8 +92,8 @@ enum YHActivityStatus: Int {
...
@@ -92,8 +92,8 @@ enum YHActivityStatus: Int {
return
UIColor
.
successColor2
return
UIColor
.
successColor2
case
.
end
:
// 活动结束
case
.
end
:
// 活动结束
return
UIColor
.
brandGrayColor5
return
UIColor
.
brandGrayColor5
case
.
canceled
:
// 已取消
case
.
canceled
:
// 已取消
立即报名
return
UIColor
.
brand
GrayColor5
return
UIColor
.
brand
MainColor
case
.
soldout
:
// 已下架
case
.
soldout
:
// 已下架
return
UIColor
.
brandGrayColor5
return
UIColor
.
brandGrayColor5
case
.
scanSign
:
// 去签到
case
.
scanSign
:
// 去签到
...
@@ -113,8 +113,8 @@ enum YHActivityStatus: Int {
...
@@ -113,8 +113,8 @@ enum YHActivityStatus: Int {
return
UIColor
.
successColor2
return
UIColor
.
successColor2
case
.
end
:
// 活动结束
case
.
end
:
// 活动结束
return
UIColor
.
brandGrayColor5
return
UIColor
.
brandGrayColor5
case
.
canceled
:
// 已取消
case
.
canceled
:
// 已取消
立即报名
return
UIColor
.
brand
GrayColor5
return
UIColor
.
brand
MainColor
case
.
soldout
:
// 已下架
case
.
soldout
:
// 已下架
return
UIColor
.
brandGrayColor5
return
UIColor
.
brandGrayColor5
case
.
scanSign
:
// 去签到
case
.
scanSign
:
// 去签到
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHActivitySignSuccessViewController.swift
View file @
594f1c99
...
@@ -121,6 +121,9 @@ class YHActivitySignSuccessViewController: YHBaseViewController {
...
@@ -121,6 +121,9 @@ class YHActivitySignSuccessViewController: YHBaseViewController {
}
}
self
.
tableView
.
isHidden
=
!
success
self
.
tableView
.
isHidden
=
!
success
self
.
signFailBgView
.
isHidden
=
success
self
.
signFailBgView
.
isHidden
=
success
backImgV
.
isHidden
=
!
success
gk_navTitle
=
success
?
""
:
"签到结果"
self
.
result
=
self
.
viewModel
.
signActivityModel
self
.
result
=
self
.
viewModel
.
signActivityModel
self
.
hasPrize
=
false
self
.
hasPrize
=
false
if
let
_
=
self
.
viewModel
.
signActivityModel
?
.
gift
{
if
let
_
=
self
.
viewModel
.
signActivityModel
?
.
gift
{
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHApplyActivityResultViewController.swift
View file @
594f1c99
...
@@ -37,7 +37,7 @@ class YHApplyActivityResultViewController: YHBaseViewController {
...
@@ -37,7 +37,7 @@ class YHApplyActivityResultViewController: YHBaseViewController {
lazy
var
nameLabel
:
UILabel
=
{
lazy
var
nameLabel
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
mainTextColor30
lable
.
textColor
=
UIColor
.
brandGrayColor5
lable
.
textAlignment
=
.
center
lable
.
textAlignment
=
.
center
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
lable
.
text
=
"已报名成功活动【哈佛爸爸线下教育沙龙】,记得准时参加哦"
lable
.
text
=
"已报名成功活动【哈佛爸爸线下教育沙龙】,记得准时参加哦"
...
@@ -47,17 +47,14 @@ class YHApplyActivityResultViewController: YHBaseViewController {
...
@@ -47,17 +47,14 @@ class YHApplyActivityResultViewController: YHBaseViewController {
lazy
var
submitButton
:
UIButton
=
{
lazy
var
submitButton
:
UIButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_
R
(
ofSize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_
M
(
ofSize
:
15
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"查看行程单"
,
for
:
.
normal
)
button
.
setTitle
(
"查看行程单"
,
for
:
.
normal
)
button
.
setTitle
(
"查看行程单"
,
for
:
.
highlighted
)
button
.
setTitleColor
(
UIColor
.
brandGrayColor8
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
highlighted
)
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
addTarget
(
self
,
action
:
#selector(
clickSubmitBtn
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
clickSubmitBtn
)
,
for
:
.
touchUpInside
)
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
clipsToBounds
=
true
button
.
clipsToBounds
=
true
button
.
backgroundColor
=
.
brand
MainColor
button
.
backgroundColor
=
.
brand
GrayColor2
return
button
return
button
}()
}()
...
@@ -77,7 +74,7 @@ extension YHApplyActivityResultViewController {
...
@@ -77,7 +74,7 @@ extension YHApplyActivityResultViewController {
view
.
addSubview
(
statusImageV
)
view
.
addSubview
(
statusImageV
)
statusImageV
.
snp
.
makeConstraints
{
make
in
statusImageV
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
180
)
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
+
93
)
make
.
centerX
.
equalToSuperview
()
make
.
centerX
.
equalToSuperview
()
make
.
height
.
width
.
equalTo
(
128
)
make
.
height
.
width
.
equalTo
(
128
)
}
}
...
...
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