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
023472a1
Commit
023472a1
authored
Aug 12, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重置功能 数据重置
parent
e6c2530c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
YHInvitationWithGiftsSecondTableViewCell.swift
...ts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
+18
-16
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
View file @
023472a1
...
@@ -430,6 +430,9 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
...
@@ -430,6 +430,9 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
self
.
endTime
=
end
self
.
endTime
=
end
if
one
==
100
,
two
==
100
,
start
==
""
,
end
==
""
{
if
one
==
100
,
two
==
100
,
start
==
""
,
end
==
""
{
recommendButton
.
isSelected
=
false
recommendButton
.
isSelected
=
false
viewModel
.
startTime
=
""
viewModel
.
endTime
=
""
viewModel
.
state
=
two
}
else
{
}
else
{
recommendButton
.
isSelected
=
true
recommendButton
.
isSelected
=
true
if
one
==
0
{
if
one
==
0
{
...
@@ -449,23 +452,22 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
...
@@ -449,23 +452,22 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
viewModel
.
endTime
=
""
viewModel
.
endTime
=
""
}
}
viewModel
.
state
=
two
viewModel
.
state
=
two
self
.
page
=
1
}
//请求刷新数据
self
.
page
=
1
self
.
tableView
.
es
.
resetNoMoreData
()
//请求刷新数据
self
.
viewModel
.
postRecord
(
page
:
1
)
{[
weak
self
]
success
,
error
in
self
.
tableView
.
es
.
resetNoMoreData
()
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
postRecord
(
page
:
1
)
{[
weak
self
]
success
,
error
in
// self.tableView.es.stopLoadingMore()
guard
let
self
=
self
else
{
return
}
if
self
.
viewModel
.
recordModel
.
page_count
==
1
{
if
self
.
viewModel
.
recordModel
.
page_count
==
1
{
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
footer
?
.
alpha
=
1
self
.
tableView
.
footer
?
.
alpha
=
1
}
self
.
tableData
=
self
.
viewModel
.
recordModel
self
.
tableView
.
reloadData
()
}
self
.
viewModel
.
getOverviewRecord
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
headData
=
self
.
viewModel
.
overviewModel
}
}
self
.
tableData
=
self
.
viewModel
.
recordModel
self
.
tableView
.
reloadData
()
}
self
.
viewModel
.
getOverviewRecord
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
headData
=
self
.
viewModel
.
overviewModel
}
}
}
}
}
}
...
...
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