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
f54c92a9
Commit
f54c92a9
authored
Apr 18, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.oschina.net:gomore/Opple-iOS
parents
f58f7c24
2015f1e0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
ExperienceCentreViewController.m
...eriencecentre/Controller/ExperienceCentreViewController.m
+1
-0
ShareGoodsViewController.m
Class/Experiencecentre/Controller/ShareGoodsViewController.m
+2
-2
OrderdetailsViewController.m
...ient/Orderdetails/controller/OrderdetailsViewController.m
+7
-1
No files found.
Class/Experiencecentre/Controller/ExperienceCentreViewController.m
View file @
f54c92a9
...
...
@@ -273,6 +273,7 @@
}
shareController
.
shareID
=
goodsID
;
shareController
.
shareImage
=
[
self
capture
];
shareController
.
type
=
SHARE_GOODS
;
shareController
.
preferredContentSize
=
CGSizeMake
(
290
,
120
);
shareController
.
modalPresentationStyle
=
UIModalPresentationPopover
;
UIPopoverPresentationController
*
popover
=
shareController
.
popoverPresentationController
;
...
...
Class/Experiencecentre/Controller/ShareGoodsViewController.m
View file @
f54c92a9
...
...
@@ -116,8 +116,8 @@
switch
(
self
.
type
)
{
case
SHARE_GOODS
:
{
UMShare
ImageObject
*
shareObject
=
[[
UMShareImageObject
alloc
]
init
];
[
shareObject
setShareImage
:
self
.
shareImage
]
;
UMShare
WebpageObject
*
shareObject
=
[
UMShareWebpageObject
shareObjectWithTitle
:
@"欧立方体验中心一键分享"
descr
:
@"欧立方体验中心一键分享"
thumImage
:
self
.
shareImage
];
shareObject
.
webpageUrl
=
shareWeb
;
messageObject
.
shareObject
=
shareObject
;
}
...
...
Class/MyClient/Orderdetails/controller/OrderdetailsViewController.m
View file @
f54c92a9
...
...
@@ -538,7 +538,13 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
weChatModel
.
total
=
weakSelf
.
weChatModel
.
wxcardDenomation
;
break
;
}
}
[
XBLoadingView
showHUDViewWithText
:[
NSString
stringWithFormat
:
@"微信卡劵(%ld元)使用成功"
,
weakSelf
.
weChatModel
.
wxcardDenomation
]];
NSString
*
message
=
MESSAGE
(
returnValue
);
if
([[
self
class
]
isBlankString
:
message
])
{
[
XBLoadingView
showHUDViewWithText
:[
NSString
stringWithFormat
:
@"微信卡劵(%ld元)使用成功"
,
weakSelf
.
weChatModel
.
wxcardDenomation
]];
}
else
{
[
XBLoadingView
showHUDViewWithText
:
message
];
}
[
weakSelf
promotionInformationExecutionOrder
];
}
else
{
ShowDefaultAlertView
(
self
,
nil
,
[
NSString
stringWithFormat
:
@"微信卡劵使用失败:(%@),是否重试?"
,
returnValue
[
@"msg"
]],
UIAlertControllerStyleAlert
,
^
{
...
...
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