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
01a639c2
Commit
01a639c2
authored
8 years ago
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
681f34c6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
11 deletions
+10
-11
PersonInformationTableViewCell.m
Lighting/Class/PersonInformationTableViewCell.m
+1
-2
ProductLibraryViewController.m
Lighting/Class/ProductLibraryViewController.m
+0
-1
ExperienceCentreViewController.m
Lighting/Tools/ExperienceCentreViewController.m
+1
-0
PrefixHeader.pch
Lighting/Tools/PrefixHeader.pch
+7
-7
ProductScreeningCollectionViewCell.m
Lighting/Tools/ProductScreeningCollectionViewCell.m
+1
-1
No files found.
Lighting/Class/PersonInformationTableViewCell.m
View file @
01a639c2
...
...
@@ -27,8 +27,7 @@
-
(
void
)
setModel
:
(
TOConsumerEntity
*
)
model
{
_model
=
model
;
NSArray
*
images
=
[
_model
.
picture
componentsSeparatedByString
:
@","
];
[
self
.
customerHeader
sd_setImageWithURL
:[
NSURL
URLWithString
:[
images
firstObject
]]
placeholderImage
:
REPLACEIMAGE
];
[
self
.
customerHeader
sd_setImageWithURL
:[
NSURL
URLWithString
:
_model
.
picture
]
placeholderImage
:
REPLACEIMAGE
];
self
.
customerName
.
text
=
_model
.
name
;
self
.
companyName
.
text
=
_model
.
company
;
self
.
customerAddress
.
text
=
_model
.
address
;
...
...
This diff is collapsed.
Click to expand it.
Lighting/Class/ProductLibraryViewController.m
View file @
01a639c2
...
...
@@ -287,7 +287,6 @@
//上拉加载
self
.
productCollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
[[
SDImageCache
sharedImageCache
]
clearMemory
];
//扫描二维码结果
if
(
weakSelf
.
barcode
)
{
...
...
This diff is collapsed.
Click to expand it.
Lighting/Tools/ExperienceCentreViewController.m
View file @
01a639c2
...
...
@@ -311,6 +311,7 @@
#pragma -mark -UIImagePickerControllerDelegate
-
(
void
)
imagePickerController
:
(
UIImagePickerController
*
)
picker
didFinishPickingMediaWithInfo
:
(
NSDictionary
<
NSString
*
,
id
>
*
)
info
{
[
DeviceDirectionManager
instance
].
isHorizontal
=
NO
;
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
UIImage
*
Headimage
=
[
info
objectForKey
:
UIImagePickerControllerOriginalImage
];
self
.
sceneImageView
.
image
=
Headimage
;
...
...
This diff is collapsed.
Click to expand it.
Lighting/Tools/PrefixHeader.pch
View file @
01a639c2
...
...
@@ -39,13 +39,13 @@
/**
* 禁止所有的打印,提交AppStore时使用
*/
//
#ifdef DEBUG
//
#define NSLog(...) NSLog(__VA_ARGS__)
//
#define debugMethod() NSLog(@"%s", __func__)
//
#else
//
#define NSLog(...)
//
#define debugMethod()
//
#endif
#ifdef DEBUG
#define NSLog(...) NSLog(__VA_ARGS__)
#define debugMethod() NSLog(@"%s", __func__)
#else
#define NSLog(...)
#define debugMethod()
#endif
/**
* AppDelegate代理
...
...
This diff is collapsed.
Click to expand it.
Lighting/Tools/ProductScreeningCollectionViewCell.m
View file @
01a639c2
...
...
@@ -17,7 +17,7 @@
[
self
.
goodsImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
images
firstObject
]]
placeholderImage
:
REPLACEIMAGE
];
self
.
goodsName
.
text
=
_model
.
name
;
self
.
goodsSpecifications
.
text
=
_model
.
code
;
self
.
goodsPrice
.
text
=
[
NSString
stringWithFormat
:
@"¥%
@"
,[
_model
.
tagPrice
string
Value
]];
self
.
goodsPrice
.
text
=
[
NSString
stringWithFormat
:
@"¥%
.2f"
,[
_model
.
tagPrice
float
Value
]];
if
(
model
.
isSelectedState
)
{
self
.
layer
.
borderWidth
=
2
.
0
f
;
self
.
layer
.
borderColor
=
kMainBlueColor
.
CGColor
;
...
...
This diff is collapsed.
Click to expand it.
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