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
9b77dd70
Commit
9b77dd70
authored
Aug 09, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决筛选问题
parent
8560e786
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
YHInvitationWithGiftsSecondTableViewCell.swift
...ts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
+3
-2
YHInvitationWithGiftsViewModel.swift
...onWithGifts(邀请有礼)/VM/YHInvitationWithGiftsViewModel.swift
+3
-3
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+6
-6
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
View file @
9b77dd70
...
...
@@ -451,10 +451,11 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
viewModel
.
state
=
two
self
.
page
=
1
//请求刷新数据
self
.
tableView
.
es
.
resetNoMoreData
()
self
.
viewModel
.
postRecord
(
page
:
1
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
tableView
.
es
.
stopLoadingMore
()
if
self
.
viewModel
.
recordModel
.
page_count
==
self
.
page
{
//
self.tableView.es.stopLoadingMore()
if
self
.
viewModel
.
recordModel
.
page_count
==
1
{
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
footer
?
.
alpha
=
1
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/VM/YHInvitationWithGiftsViewModel.swift
View file @
9b77dd70
...
...
@@ -46,10 +46,10 @@ class YHInvitationWithGiftsViewModel: YHBaseViewModel {
param
.
updateValue
(
self
.
startTime
,
forKey
:
"registered_date.begin_date"
)
}
if
self
.
endTime
.
count
!=
0
{
param
.
updateValue
(
self
.
endTime
,
forKey
:
"egistered_date.end_date"
)
param
.
updateValue
(
self
.
endTime
,
forKey
:
"
r
egistered_date.end_date"
)
}
if
self
.
state
<
3
{
param
.
updateValue
(
self
.
state
+
1
,
forKey
:
"status"
)
param
.
updateValue
(
(
2
-
self
.
state
)
+
1
,
forKey
:
"status"
)
}
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
param
)
{
[
weak
self
]
json
,
code
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -83,7 +83,7 @@ class YHInvitationWithGiftsViewModel: YHBaseViewModel {
var
param
:
[
String
:
Any
]
=
[
"page"
:
page
,
"pagesize"
:
20
]
if
self
.
state
<
3
{
param
.
updateValue
(
self
.
state
+
1
,
forKey
:
"status"
)
param
.
updateValue
(
(
2
-
self
.
state
)
+
1
,
forKey
:
"status"
)
}
if
!
registered_date
.
isEmpty
{
param
.
updateValue
(
registered_date
,
forKey
:
"registered_date"
)
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
9b77dd70
...
...
@@ -95,14 +95,14 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
let
view
=
YHUserInfoHeaderView
.
createView
()
view
.
settingBlock
=
{
[
weak
self
]
in
//
guard let self = self else { return }
//
if !checkLogin() { return }
//
let vc = YHMySettingViewController()
//
self.navigationController?.pushViewController(vc)
guard
let
self
=
self
else
{
return
}
if
!
checkLogin
()
{
return
}
let
vc
=
YHMySettingViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
let
vc
=
YHOfficialApprovalResultVC
()
self
?
.
navigationController
?
.
pushViewController
(
vc
)
//for test hjl
//
let vc = YHOfficialApprovalResultVC()
//
self?.navigationController?.pushViewController(vc) //for test hjl
}
view
.
evaluateBlock
=
{
[
weak
self
]
in
...
...
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