Commit f52543d4 by houweibin

1,搜索结果页无法下拉刷新问题

2,品牌商品页品牌图问题
parent e81f69b1
...@@ -76,10 +76,10 @@ ...@@ -76,10 +76,10 @@
![KWMStringUtil isEmpty:self.collection.image.sourceURL.absoluteString]){ ![KWMStringUtil isEmpty:self.collection.image.sourceURL.absoluteString]){
self.tbvBrandCaramel.tableHeaderView.frame = CGRectMake(0, 0, UI_SCREEN_WIDTH, 210); self.tbvBrandCaramel.tableHeaderView.frame = CGRectMake(0, 0, UI_SCREEN_WIDTH, 210);
self.tbvBrandCaramel.tableHeaderView.hidden = NO; self.tbvBrandCaramel.tableHeaderView.hidden = NO;
}else{ return;
self.tbvBrandCaramel.tableHeaderView.frame = CGRectMake(0, 0, 0, 0);
self.tbvBrandCaramel.tableHeaderView.hidden = YES;
} }
self.tbvBrandCaramel.tableHeaderView.frame = CGRectMake(0, 0, 0, 0);
self.tbvBrandCaramel.tableHeaderView.hidden = YES;
} }
- (void)setBackColor{ - (void)setBackColor{
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#import "KWMSearchFeedBackView.h" #import "KWMSearchFeedBackView.h"
#import "KWMNewProductVC.h" #import "KWMNewProductVC.h"
#import "MJRefresh.h" #import "MJRefresh.h"
#import "KWMStringUtil.h"
@interface KWMSearchFeedbackVC ()<UITableViewDelegate,UITableViewDataSource,KWMSearchFeedBackViewDelegate,KWMBrandCaramelCellDelegate> @interface KWMSearchFeedbackVC ()<UITableViewDelegate,UITableViewDataSource,KWMSearchFeedBackViewDelegate,KWMBrandCaramelCellDelegate>
@property (nonatomic) KWMSearchFeedBackView *vSearchFB; @property (nonatomic) KWMSearchFeedBackView *vSearchFB;
...@@ -52,8 +53,8 @@ ...@@ -52,8 +53,8 @@
} }
- (void)reLoadData{ - (void)reLoadData{
self.currentPage = @0;
// [self getSearchProduct]; [self getSearchProduct];
} }
static NSString *idStr = @"KWMBrandCaramelCell"; static NSString *idStr = @"KWMBrandCaramelCell";
- (void)viewDidLoad { - (void)viewDidLoad {
...@@ -189,7 +190,9 @@ static NSString *idStr = @"KWMBrandCaramelCell"; ...@@ -189,7 +190,9 @@ static NSString *idStr = @"KWMBrandCaramelCell";
//搜索API //搜索API
- (void)getSearchProduct{ - (void)getSearchProduct{
if([KWMStringUtil isEmpty:_searchText]){
return;
}
if ([[_searchText lowercaseString] isEqualToString:@"bonpoint"]) { if ([[_searchText lowercaseString] isEqualToString:@"bonpoint"]) {
self.vNoGoods.hidden = NO; self.vNoGoods.hidden = NO;
return; return;
......
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