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
799e36b9
Commit
799e36b9
authored
Jul 10, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 2处bug
parent
7bcd9541
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
YHActivityListViewController.swift
...ity(社区)/Activity(活动)/C/YHActivityListViewController.swift
+5
-2
YHActivityTravelCell.swift
...s/Community(社区)/Activity(活动)/V/YHActivityTravelCell.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHActivityListViewController.swift
View file @
799e36b9
...
@@ -102,6 +102,8 @@ enum YHActivityStatus: Int {
...
@@ -102,6 +102,8 @@ enum YHActivityStatus: Int {
return
UIColor
.
mainTextColor30
return
UIColor
.
mainTextColor30
case
.
canceled
:
case
.
canceled
:
return
UIColor
.
mainTextColor30
return
UIColor
.
mainTextColor30
case
.
soldout
:
return
UIColor
.
mainTextColor30
default
:
default
:
return
UIColor
.
clear
return
UIColor
.
clear
}
}
...
@@ -273,10 +275,11 @@ extension YHActivityListViewController: UITableViewDelegate, UITableViewDataSour
...
@@ -273,10 +275,11 @@ extension YHActivityListViewController: UITableViewDelegate, UITableViewDataSour
let
vc
=
YHActivityTravelViewController
()
let
vc
=
YHActivityTravelViewController
()
vc
.
travelId
=
model
.
checkId
vc
.
travelId
=
model
.
checkId
navigationController
?
.
pushViewController
(
vc
)
navigationController
?
.
pushViewController
(
vc
)
return
}
else
if
model
.
status
.
int
==
5
{
}
else
if
model
.
status
.
int
==
5
{
YHHUD
.
flash
(
message
:
"活动已下架"
)
YHHUD
.
flash
(
message
:
"已下架"
)
return
}
}
return
}
}
let
vc
=
YHActivityDetailViewController
()
let
vc
=
YHActivityDetailViewController
()
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHActivityTravelCell.swift
View file @
799e36b9
...
@@ -123,7 +123,7 @@ extension YHActivityTravelCell {
...
@@ -123,7 +123,7 @@ extension YHActivityTravelCell {
statusLable
.
text
=
"活动结束"
statusLable
.
text
=
"活动结束"
}
else
if
model
.
status
.
int
==
5
{
}
else
if
model
.
status
.
int
==
5
{
cancelButton
.
isHidden
=
true
cancelButton
.
isHidden
=
true
statusLable
.
text
=
"
活动
已下架"
statusLable
.
text
=
"已下架"
}
}
else
{
else
{
cancelButton
.
isHidden
=
true
cancelButton
.
isHidden
=
true
...
...
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