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
195ed0e1
Commit
195ed0e1
authored
Oct 16, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// cd
parent
c12acc02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
YHActivityListViewController.swift
...ity(社区)/Activity(活动)/C/YHActivityListViewController.swift
+14
-6
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHActivityListViewController.swift
View file @
195ed0e1
...
@@ -33,6 +33,10 @@ enum YHActivityStatus: Int {
...
@@ -33,6 +33,10 @@ enum YHActivityStatus: Int {
return
"立即报名"
return
"立即报名"
case
.
soldout
:
case
.
soldout
:
return
"已下架"
return
"已下架"
case
.
scanSign
:
return
"扫码签到"
case
.
signed
:
return
"已签到"
default
:
default
:
return
""
return
""
}
}
...
@@ -50,6 +54,10 @@ enum YHActivityStatus: Int {
...
@@ -50,6 +54,10 @@ enum YHActivityStatus: Int {
return
"已取消"
return
"已取消"
case
.
soldout
:
case
.
soldout
:
return
"已下架"
return
"已下架"
case
.
scanSign
:
return
"扫码签到"
case
.
signed
:
return
"已签到"
default
:
default
:
return
""
return
""
}
}
...
@@ -89,16 +97,16 @@ enum YHActivityStatus: Int {
...
@@ -89,16 +97,16 @@ enum YHActivityStatus: Int {
}
}
}
}
var
activity
BottomColor
:
UIColor
{
var
activity
ColorForMyApplyList
:
UIColor
{
switch
self
{
switch
self
{
case
.
notApply
:
case
.
notApply
:
return
UIColor
.
brand
GrayColor8
return
UIColor
.
brand
MainColor
case
.
applied
:
case
.
applied
:
return
UIColor
.
successColor
return
UIColor
.
successColor
case
.
end
:
case
.
end
:
return
UIColor
.
mainTextColor30
return
UIColor
.
mainTextColor30
case
.
canceled
:
case
.
canceled
:
return
UIColor
.
brandGrayColor8
return
UIColor
.
mainTextColor30
case
.
soldout
:
case
.
soldout
:
return
UIColor
.
mainTextColor30
return
UIColor
.
mainTextColor30
default
:
default
:
...
@@ -106,16 +114,16 @@ enum YHActivityStatus: Int {
...
@@ -106,16 +114,16 @@ enum YHActivityStatus: Int {
}
}
}
}
var
activity
ColorForMyApplyList
:
UIColor
{
var
activity
BottomColor
:
UIColor
{
switch
self
{
switch
self
{
case
.
notApply
:
case
.
notApply
:
return
UIColor
.
brand
MainColor
return
UIColor
.
brand
GrayColor8
case
.
applied
:
case
.
applied
:
return
UIColor
.
successColor
return
UIColor
.
successColor
case
.
end
:
case
.
end
:
return
UIColor
.
mainTextColor30
return
UIColor
.
mainTextColor30
case
.
canceled
:
case
.
canceled
:
return
UIColor
.
mainTextColor30
return
UIColor
.
brandGrayColor8
case
.
soldout
:
case
.
soldout
:
return
UIColor
.
mainTextColor30
return
UIColor
.
mainTextColor30
default
:
default
:
...
...
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