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
83fe44fa
Commit
83fe44fa
authored
8 years ago
by
polo2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化了产品列表和明细,不过列表上的几个值有问题,取不出来,明天再研究一下
parent
b3cc3065
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
31 deletions
+31
-31
ProductLibraryViewController.m
Lighting/Class/ProductLibraryViewController.m
+2
-2
StoryboardwithCYX.storyboard
Lighting/Lighting/StoryboardwithCYX.storyboard
+29
-29
No files found.
Lighting/Class/ProductLibraryViewController.m
View file @
83fe44fa
...
...
@@ -317,8 +317,8 @@
[
cell
.
productImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
imageArray
firstObject
]]
placeholderImage
:
REPLACEIMAGE
];
cell
.
productPrice
.
text
=
[
NSString
stringWithFormat
:
@"¥%@"
,[[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
tagPrice
]
stringValue
]];
cell
.
cellindex
=
indexPath
.
item
;
cell
.
productParameter
.
text
=
[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
productProfil
e
];
cell
.
specifications
.
text
=
[
NSString
stringWithFormat
:
@"%@(%@)"
,[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
series
],[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
spec
]];
cell
.
productParameter
.
text
=
[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
nam
e
];
cell
.
specifications
.
text
=
[
NSString
stringWithFormat
:
@"%@(%@)"
,[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
name
],[[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]
name
]];
//加入购物车
__weak
typeof
(
self
)
weakSelf
=
self
;
...
...
This diff is collapsed.
Click to expand it.
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
83fe44fa
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