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
47a783ae
Commit
47a783ae
authored
Nov 20, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:合并代码
parent
484d92e1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
15 deletions
+56
-15
OrderdetailsViewController.m
Class/OrderdetailsViewController.m
+3
-3
project.pbxproj
Lighting.xcodeproj/project.pbxproj
+48
-12
BaseViewController.h
Tools/BaseViewController.h
+5
-0
No files found.
Class/OrderdetailsViewController.m
View file @
47a783ae
...
@@ -358,7 +358,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
...
@@ -358,7 +358,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
if
(
resultModel
.
award
)
{
if
(
resultModel
.
award
)
{
weakSelf
.
customerDrawModel
=
[
PromotionLuckDrawResultModel
initializeWith
:
resultModel
];
weakSelf
.
customerDrawModel
=
[
PromotionLuckDrawResultModel
initializeWith
:
resultModel
];
}
}
PromotionChooseNavigationController
*
promotionChooseNav
=
[[
weakSelf
getStoryboardWithName
]
instantiateViewControllerWithIdentifier
:
@"PromotionChooseNavigationController"
];
PromotionChooseNavigationController
*
promotionChooseNav
=
[[
[
weakSelf
class
]
getMainStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"PromotionChooseNavigationController"
];
PromotionChooseViewController
*
promotionChoose
=
(
PromotionChooseViewController
*
)
promotionChooseNav
.
visibleViewController
;
PromotionChooseViewController
*
promotionChoose
=
(
PromotionChooseViewController
*
)
promotionChooseNav
.
visibleViewController
;
promotionChoose
.
promotionDelegate
=
self
;
promotionChoose
.
promotionDelegate
=
self
;
promotionChoose
.
promotionDatasArray
=
weakSelf
.
customerPromotionArray
;
promotionChoose
.
promotionDatasArray
=
weakSelf
.
customerPromotionArray
;
...
@@ -545,7 +545,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
...
@@ -545,7 +545,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
#pragma mark - 卡劵领取成功
#pragma mark - 卡劵领取成功
-
(
void
)
rebateApplySuccess
:
(
NSString
*
)
message
-
(
void
)
rebateApplySuccess
:
(
NSString
*
)
message
{
{
RebateSuccessTableViewController
*
success
=
[
self
.
getStoryboardWithName
instantiateViewControllerWithIdentifier
:
@"RebateSuccessTableViewController"
];
RebateSuccessTableViewController
*
success
=
[
[[
self
class
]
getMainStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"RebateSuccessTableViewController"
];
success
.
titleArray
=
@[
message
,
@"查看账户"
,
@"我知道了"
];
success
.
titleArray
=
@[
message
,
@"查看账户"
,
@"我知道了"
];
[
success
setClickEvent
:
^
(
NSIndexPath
*
indexPath
)
{
[
success
setClickEvent
:
^
(
NSIndexPath
*
indexPath
)
{
if
(
indexPath
.
row
==
1
)
{
if
(
indexPath
.
row
==
1
)
{
...
@@ -567,7 +567,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
...
@@ -567,7 +567,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
-
(
void
)
showJDECard
-
(
void
)
showJDECard
{
{
WS
(
weakSelf
);
WS
(
weakSelf
);
JDEcardViewController
*
jdeCard
=
[[
self
getStoryboardWithName
]
instantiateViewControllerWithIdentifier
:
@"JDEcardViewController"
];
JDEcardViewController
*
jdeCard
=
[[
[
self
class
]
getMainStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"JDEcardViewController"
];
[
jdeCard
setDismissJDECardBlock
:
^
{
[
jdeCard
setDismissJDECardBlock
:
^
{
[
weakSelf
.
settingsPopoverController
dismissPopoverAnimated
:
YES
];
[
weakSelf
.
settingsPopoverController
dismissPopoverAnimated
:
YES
];
}];
}];
...
...
Lighting.xcodeproj/project.pbxproj
View file @
47a783ae
This diff is collapsed.
Click to expand it.
Tools/BaseViewController.h
View file @
47a783ae
...
@@ -62,6 +62,11 @@
...
@@ -62,6 +62,11 @@
-
(
void
)
callAirprintWithdata
:(
NSString
*
)
PDFpath
SuccessBlock
:(
void
(
^
)())
success
ErrorBlock
:(
void
(
^
)())
failed
;
-
(
void
)
callAirprintWithdata
:(
NSString
*
)
PDFpath
SuccessBlock
:(
void
(
^
)())
success
ErrorBlock
:(
void
(
^
)())
failed
;
/**
提示框
*/
-
(
void
)
promptCustomerTitle
:(
NSString
*
)
title
withMessage
:(
NSString
*
)
message
finish
:(
void
(
^
)())
complete
;
+
(
BOOL
)
determineCameraPermissions
;
/**
/**
* 成功等待视图
* 成功等待视图
...
...
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