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
82ca685f
Commit
82ca685f
authored
Jun 08, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
909dc2c8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
ProductLibraryViewController.m
Lighting/Class/ProductLibraryViewController.m
+1
-0
ScreeningView.m
Lighting/Class/ScreeningView.m
+2
-0
ExperienceCentreViewController.m
Lighting/Tools/ExperienceCentreViewController.m
+14
-0
PrefixHeader.pch
Lighting/Tools/PrefixHeader.pch
+2
-2
No files found.
Lighting/Class/ProductLibraryViewController.m
View file @
82ca685f
...
...
@@ -287,6 +287,7 @@
//上拉加载
self
.
productCollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
[[
SDImageCache
sharedImageCache
]
clearMemory
];
//扫描二维码结果
if
(
weakSelf
.
barcode
)
{
...
...
Lighting/Class/ScreeningView.m
View file @
82ca685f
...
...
@@ -39,6 +39,8 @@
self
.
spriceButton
.
layer
.
masksToBounds
=
YES
;
self
.
spriceButton
.
layer
.
cornerRadius
=
kSelectedCornerRadius
;
//默认选中风格按钮
self
.
styleButton
.
selected
=
YES
;
self
.
styleButton
.
backgroundColor
=
kMainBlueColor
;
...
...
Lighting/Tools/ExperienceCentreViewController.m
View file @
82ca685f
...
...
@@ -234,6 +234,7 @@
[
self
ErrorMBProgressView
:
@"没有选择需要分享的商品"
];
return
;
}
UIImageWriteToSavedPhotosAlbum
([
self
capture
],
self
,
@selector
(
image
:
didFinishSavingWithError
:
contextInfo
:
),
NULL
);
ShareGoodsViewController
*
shareController
=
[[
ShareGoodsViewController
alloc
]
init
];
//商品id拼接
NSMutableString
*
goodsID
=
[[
NSMutableString
alloc
]
init
];
...
...
@@ -250,6 +251,19 @@
popover
.
sourceView
=
shareController
.
view
;
popover
.
sourceRect
=
CGRectMake
(
sender
.
mj_x
,
sender
.
mj_y
-
30
,
sender
.
mj_w
,
sender
.
mj_h
);
[
self
presentViewController
:
shareController
animated
:
YES
completion
:
nil
];
}
#pragma mark -保存图片到相册
-
(
void
)
image
:
(
UIImage
*
)
image
didFinishSavingWithError
:
(
NSError
*
)
error
contextInfo
:
(
void
*
)
contextInfo
{
if
(
error
!=
NULL
)
{
[
self
ErrorMBProgressView
:
@"保存相册失败"
];
}
else
{
[
self
SuccessMBProgressView
:
@"保存相册成功"
];
}
}
#pragma mark -拍照
...
...
Lighting/Tools/PrefixHeader.pch
View file @
82ca685f
...
...
@@ -127,12 +127,12 @@
/**
* 服务器测试地址
*/
//
#define ServerAddress @"http://dg-dev.opple.com/opple-web/app"
#define ServerAddress @"http://dg-dev.opple.com/opple-web/app"
/**
* 服务器开发地址
*/
#define ServerAddress @"http://139.196.195.30:8090/opple-web/app"
//
#define ServerAddress @"http://139.196.195.30:8090/opple-web/app"
/**
...
...
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