Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
Project
Project
Details
Activity
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
张杰
Opple-iOS
Commits
9e44f071
Commit
9e44f071
authored
Nov 23, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:
parent
b70036b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
PrizeExchangeDetailsViewController.m
Class/PrizeExchangeDetailsViewController.m
+2
-1
PrizeMainViewController.m
Class/PrizeMainViewController.m
+8
-3
No files found.
Class/PrizeExchangeDetailsViewController.m
View file @
9e44f071
...
...
@@ -43,7 +43,8 @@
{
WS
(
weakSelf
);
[
self
CreateMBProgressHUDLoding
];
[[
NetworkRequestClassManager
Manager
]
NetworkWithDictionaryRequestWithURL
:[
NSString
stringWithFormat
:
SERVERREQUESTURL
(
PRIZEBILLDETAILS
),
@"demo11611221750244"
]
WithCallClass
:
weakSelf
WithRequestType
:
ONE
WithParameter
:
nil
WithReturnValueBlock
:^
(
id
returnValue
)
{
NSString
*
url
=
[
NSString
stringWithFormat
:
SERVERREQUESTURL
(
PRIZEBILLDETAILS
),
@"demo11611221750244"
];
[[
NetworkRequestClassManager
Manager
]
NetworkWithDictionaryRequestWithURL
:
url
WithCallClass
:
weakSelf
WithRequestType
:
ONE
WithParameter
:
nil
WithReturnValueBlock
:^
(
id
returnValue
)
{
[
weakSelf
RemoveMBProgressHUDLoding
];
if
([
returnValue
[
@"code"
]
isEqualToNumber
:
@0
])
{
...
...
Class/PrizeMainViewController.m
View file @
9e44f071
...
...
@@ -11,6 +11,7 @@
#import "PrizeListModel.h"
#import "ApplyPrizeViewController.h"
#import "IntegralDetailsViewController.h"
#import "PrizeExchangeDetailsViewController.h"
@interface
PrizeMainViewController
()
<
UICollectionViewDelegate
,
UICollectionViewDataSource
,
DZNEmptyDataSetSource
,
DZNEmptyDataSetDelegate
>
...
...
@@ -197,9 +198,13 @@
#pragma mark - 兑换记录
-
(
IBAction
)
exchangeRecordButton
:
(
UIButton
*
)
sender
{
IntegralDetailsViewController
*
prizeDetails
=
[[[
self
class
]
getGuideIntegralStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"IntegralDetailsViewController"
];
prizeDetails
.
cellType
=
PrizeTableView
;
[
self
.
navigationController
pushViewController
:
prizeDetails
animated
:
YES
];
// IntegralDetailsViewController *prizeDetails = [[[self class] getGuideIntegralStoryboardClass] instantiateViewControllerWithIdentifier:@"IntegralDetailsViewController"];
// prizeDetails.cellType = PrizeTableView;
// [self.navigationController pushViewController:prizeDetails animated:YES];
PrizeExchangeDetailsViewController
*
exchangeDetails
=
[[[
self
class
]
getGuideIntegralStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"PrizeExchangeDetailsViewController"
];
[
self
.
navigationController
pushViewController
:
exchangeDetails
animated
:
YES
];
}
...
...
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