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
0438d893
Commit
0438d893
authored
7 years ago
by
lee
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.oschina.net:kollway-kollway/newcemarose
parents
b680b33f
0e600934
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
KWMNewHomeVC.m
iCemarose/Class/UI/NewHome/KWMNewHomeVC.m
+7
-1
KWMNewProductVC.m
iCemarose/Class/UI/NewProduct/KWMNewProductVC.m
+5
-0
No files found.
iCemarose/Class/UI/NewHome/KWMNewHomeVC.m
View file @
0438d893
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
#import "KWMNewHomeVC.h"
#import "KWMNewHomeVC.h"
#import "KWMShopCartVC.h"
#import "KWMShopCartVC.h"
#import "KWMSearchFeedbackVC.h"
#import "KWMNewHomeCell.h"
#import "KWMNewHomeCell.h"
#import "KWMSearchBar.h"
#import "KWMSearchBar.h"
#import "KWMHomeData.h"
#import "KWMHomeData.h"
...
@@ -120,7 +121,7 @@ typedef enum{
...
@@ -120,7 +121,7 @@ typedef enum{
-
(
void
)
initTitleView
{
-
(
void
)
initTitleView
{
self
.
titleView
=
[[
KWMSearchBar
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
self
.
view
.
frame
.
size
.
width
,
64
)];
self
.
titleView
=
[[
KWMSearchBar
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
self
.
view
.
frame
.
size
.
width
,
64
)];
self
.
titleView
.
delegate
=
self
;
self
.
titleView
.
delegate
=
self
;
self
.
titleView
.
btnSearch
.
hidden
=
YES
;
self
.
titleView
.
btnSearch
.
hidden
=
NO
;
[
self
.
view
addSubview
:
self
.
titleView
];
[
self
.
view
addSubview
:
self
.
titleView
];
}
}
...
@@ -298,6 +299,11 @@ typedef enum{
...
@@ -298,6 +299,11 @@ typedef enum{
[
self
.
navigationController
pushViewController
:
contactVC
animated
:
YES
];
[
self
.
navigationController
pushViewController
:
contactVC
animated
:
YES
];
}
}
-
(
void
)
kwm_startSearch
{
KWMSearchFeedbackVC
*
vc
=
(
KWMSearchFeedbackVC
*
)[
KWMBaseVC
findControllerBy
:[
KWMSearchFeedbackVC
kwmTag
]
fromStoryboard
:
@"New"
];
[
self
.
navigationController
pushViewController
:
vc
animated
:
YES
];
}
#pragma makr - api
#pragma makr - api
//- (void)requestProduct:(NSString *)tag{
//- (void)requestProduct:(NSString *)tag{
// NSMutableArray *tags = nil;
// NSMutableArray *tags = nil;
...
...
This diff is collapsed.
Click to expand it.
iCemarose/Class/UI/NewProduct/KWMNewProductVC.m
View file @
0438d893
...
@@ -165,6 +165,7 @@
...
@@ -165,6 +165,7 @@
self
.
color
=
nil
;
self
.
color
=
nil
;
self
.
variant
=
nil
;
self
.
variant
=
nil
;
self
.
count
=
0
;
self
.
count
=
0
;
[
self
.
btnLike
setImage
:[
UIImage
imageNamed
:
@"ic_like_unable"
]
forState
:
UIControlStateNormal
];
if
(
self
.
detailView1
){
if
(
self
.
detailView1
){
[
self
.
detailView1
setSelect
:
nil
color
:
nil
count
:
0
];
[
self
.
detailView1
setSelect
:
nil
color
:
nil
count
:
0
];
}
}
...
@@ -200,6 +201,10 @@
...
@@ -200,6 +201,10 @@
[
self
presentViewController
:
nav
animated
:
YES
completion
:
nil
];
[
self
presentViewController
:
nav
animated
:
YES
completion
:
nil
];
return
;
return
;
}
}
if
(
!
self
.
variant
){
[
self
showToast
:
@"请先选择尺码/顏色"
];
return
;
}
if
(
self
.
isLikeVariant
){
if
(
self
.
isLikeVariant
){
[
self
requestRemoveWish
];
[
self
requestRemoveWish
];
}
else
{
}
else
{
...
...
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