Commit d147a669 by houweibin

首頁搜索

parent 8fd31c33
......@@ -8,6 +8,7 @@
#import "KWMNewHomeVC.h"
#import "KWMShopCartVC.h"
#import "KWMSearchFeedbackVC.h"
#import "KWMNewHomeCell.h"
#import "KWMSearchBar.h"
#import "KWMHomeData.h"
......@@ -120,7 +121,7 @@ typedef enum{
-(void)initTitleView{
self.titleView = [[KWMSearchBar alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 64)];
self.titleView.delegate = self;
self.titleView.btnSearch.hidden = YES;
self.titleView.btnSearch.hidden = NO;
[self.view addSubview:self.titleView];
}
......@@ -298,6 +299,11 @@ typedef enum{
[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
//- (void)requestProduct:(NSString *)tag{
// NSMutableArray *tags = nil;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment