Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ios1x
Overview
Overview
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
cemarose
ios1x
Commits
ce33fcfb
Commit
ce33fcfb
authored
Jul 14, 2017
by
houweibin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wishListVC 跳转购物车
parent
827cd36c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
KWMWishCell.m
iCemarose/Class/UI/NewProduct/Cell/KWMWishCell.m
+2
-2
KWMWishListVC.m
iCemarose/Class/UI/NewProduct/KWMWishListVC.m
+6
-0
NewProduct.storyboard
iCemarose/Class/UI/NewProduct/NewProduct.storyboard
+3
-0
No files found.
iCemarose/Class/UI/NewProduct/Cell/KWMWishCell.m
View file @
ce33fcfb
...
@@ -77,8 +77,8 @@
...
@@ -77,8 +77,8 @@
-
(
void
)
setVariant
:
(
BUYProductVariant
*
)
variant
{
-
(
void
)
setVariant
:
(
BUYProductVariant
*
)
variant
{
_variant
=
variant
;
_variant
=
variant
;
if
(
_
variant
){
if
(
variant
){
self
.
lbPrice
.
text
=
_variant
.
price
.
stringValue
;
self
.
lbPrice
.
text
=
variant
.
price
.
priceValueFormatted
;
}
}
}
}
...
...
iCemarose/Class/UI/NewProduct/KWMWishListVC.m
View file @
ce33fcfb
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
#import "KWMImageUtil.h"
#import "KWMImageUtil.h"
#import "KWMStringUtil.h"
#import "KWMStringUtil.h"
#import "KWMShopCartModel.h"
#import "KWMShopCartModel.h"
#import "KWMShopCartVC.h"
@interface
KWMWishListVC
()
@interface
KWMWishListVC
()
...
@@ -41,6 +42,11 @@
...
@@ -41,6 +42,11 @@
[
self
.
navigationController
setNavigationBarHidden
:
NO
];
[
self
.
navigationController
setNavigationBarHidden
:
NO
];
}
}
-
(
IBAction
)
onClickComplete
:
(
id
)
sender
{
KWMShopCartVC
*
ShopCartVC
=
(
KWMShopCartVC
*
)[
KWMBaseVC
findControllerBy
:[
KWMShopCartVC
kwmTag
]
fromStoryboard
:
@"ShopCart"
];
[
self
.
navigationController
pushViewController
:
ShopCartVC
animated
:
YES
];
}
-
(
void
)
initView
{
-
(
void
)
initView
{
self
.
title
=
@"我喜欢的"
;
self
.
title
=
@"我喜欢的"
;
[
self
.
tbvWish
registerNib
:[
UINib
nibWithNibName
:
NSStringFromClass
([
KWMWishCell
class
])
bundle
:
nil
]
forCellReuseIdentifier
:
NSStringFromClass
([
KWMWishCell
class
])];
[
self
.
tbvWish
registerNib
:[
UINib
nibWithNibName
:
NSStringFromClass
([
KWMWishCell
class
])
bundle
:
nil
]
forCellReuseIdentifier
:
NSStringFromClass
([
KWMWishCell
class
])];
...
...
iCemarose/Class/UI/NewProduct/NewProduct.storyboard
View file @
ce33fcfb
...
@@ -585,6 +585,9 @@
...
@@ -585,6 +585,9 @@
<state
key=
"normal"
title=
"结算"
>
<state
key=
"normal"
title=
"结算"
>
<color
key=
"titleColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
key=
"titleColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</state>
</state>
<connections>
<action
selector=
"onClickComplete:"
destination=
"fOt-KO-9Ov"
eventType=
"touchUpInside"
id=
"fYb-h4-MUt"
/>
</connections>
</button>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"b66-L6-qYh"
userLabel=
"line"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"b66-L6-qYh"
userLabel=
"line"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"1"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"1"
/>
...
...
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