Commit 99c9081e authored by mei's avatar mei

全部产品

parent a260b730
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
self.collectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{ self.collectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
if (self.indexPage ++ > self.totalPages) { if (++self.indexPage > self.totalPages) {
[self.collectionView.mj_footer endRefreshingWithNoMoreData]; [self.collectionView.mj_footer endRefreshingWithNoMoreData];
}else }else
{ {
...@@ -241,6 +241,7 @@ ...@@ -241,6 +241,7 @@
if ([returnValue[@"code"] isEqualToNumber:@0]) { if ([returnValue[@"code"] isEqualToNumber:@0]) {
GoodsResponse *sponse = [[GoodsResponse alloc]initWithDictionary:returnValue[@"data"] error:nil]; GoodsResponse *sponse = [[GoodsResponse alloc]initWithDictionary:returnValue[@"data"] error:nil];
self.totalPages = [returnValue[@"data"][@"totalpages"] intValue];
//返回结果 //返回结果
finish(sponse); finish(sponse);
} }
...@@ -411,7 +412,7 @@ ...@@ -411,7 +412,7 @@
break; break;
case 101://类型 case 101://类型
{ {
if ([[NSString stringWithFormat:@"%ld",sender.tag-100 ]isEqualToString:[NSString stringWithFormat:@"%@",[self.showSection firstObject]]]) { if ([[NSString stringWithFormat:@"%d",sender.tag-100 ]isEqualToString:[NSString stringWithFormat:@"%@",[self.showSection firstObject]]]) {
[self.cellArray removeAllObjects ]; [self.cellArray removeAllObjects ];
[self.showSection removeAllObjects]; [self.showSection removeAllObjects];
[self.seceneTableView reloadData]; [self.seceneTableView reloadData];
...@@ -422,7 +423,7 @@ ...@@ -422,7 +423,7 @@
self.selectedCode = [[self.arrayData objectAtIndex_opple:sender.tag-100] fid] ; self.selectedCode = [[self.arrayData objectAtIndex_opple:sender.tag-100] fid] ;
[self.collectionView.mj_header beginRefreshing]; [self.collectionView.mj_header beginRefreshing];
self.cellArray=[NSMutableArray arrayWithArray:[[self.arrayData objectAtIndex_opple:sender.tag-100] children]]; self.cellArray=[NSMutableArray arrayWithArray:[[self.arrayData objectAtIndex_opple:sender.tag-100] children]];
[self.showSection addObject:[NSString stringWithFormat:@"%ld",sender.tag-100]]; [self.showSection addObject:[NSString stringWithFormat:@"%d",sender.tag-100]];
[self.seceneTableView reloadData]; [self.seceneTableView reloadData];
} }
...@@ -448,7 +449,10 @@ ...@@ -448,7 +449,10 @@
} }
break; break;
default: default:
self.condtionModel.nameLike = self.selectedCode;
break;
break; break;
} }
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
//上拉加载 //上拉加载
self.collectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{ self.collectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
if (self.indexPage ++ > self.totalPages) { if (++self.indexPage > self.totalPages) {
[self.collectionView.mj_footer endRefreshingWithNoMoreData]; [self.collectionView.mj_footer endRefreshingWithNoMoreData];
}else }else
{ {
...@@ -115,6 +115,7 @@ ...@@ -115,6 +115,7 @@
// [self.responseArray removeAllObjects]; // [self.responseArray removeAllObjects];
// } // }
self.response = [[SceneResponse alloc]initWithDictionary:returnValue[@"data"] error:nil]; self.response = [[SceneResponse alloc]initWithDictionary:returnValue[@"data"] error:nil];
self.totalPages = [returnValue[@"data"][@"totalpages"] intValue];
NSArray* array=[[NSArray alloc]init]; NSArray* array=[[NSArray alloc]init];
array=self.response.list; array=self.response.list;
[ self.collectionView reloadData]; [ self.collectionView reloadData];
......
...@@ -1861,15 +1861,15 @@ ...@@ -1861,15 +1861,15 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
CLANG_ENABLE_OBJC_WEAK = YES; CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "iPhone Distribution: Taiping E-Commerce Co., Ltd"; CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Taiping E-Commerce Co., Ltd"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
COMPRESS_PNG_FILES = NO; COMPRESS_PNG_FILES = NO;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)"; FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SRCROOT)/Tools/PrefixHeader.pch"; GCC_PREFIX_HEADER = "$(SRCROOT)/Tools/PrefixHeader.pch";
INFOPLIST_FILE = Lighting/Info.plist; INFOPLIST_FILE = Lighting/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)"; LIBRARY_SEARCH_PATHS = "$(inherited)";
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
...@@ -1902,9 +1902,9 @@ ...@@ -1902,9 +1902,9 @@
"\"UIKit\"", "\"UIKit\"",
"$(inherited)", "$(inherited)",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.cntaiping.life.TPLAppResuIPad; PRODUCT_BUNDLE_IDENTIFIER = com.gomore.opple;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "3673c575-9d7a-473e-895c-f080dcdf5802"; PROVISIONING_PROFILE = "1984600d-9582-4f80-b666-2975a03aee8f";
STRIP_PNG_TEXT = NO; STRIP_PNG_TEXT = NO;
USER_HEADER_SEARCH_PATHS = "$(PODS_ROOT)/**"; USER_HEADER_SEARCH_PATHS = "$(PODS_ROOT)/**";
}; };
...@@ -1917,15 +1917,15 @@ ...@@ -1917,15 +1917,15 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
CLANG_ENABLE_OBJC_WEAK = YES; CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "iPhone Distribution: Taiping E-Commerce Co., Ltd"; CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Taiping E-Commerce Co., Ltd"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
COMPRESS_PNG_FILES = NO; COMPRESS_PNG_FILES = NO;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)"; FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SRCROOT)/Tools/PrefixHeader.pch"; GCC_PREFIX_HEADER = "$(SRCROOT)/Tools/PrefixHeader.pch";
INFOPLIST_FILE = Lighting/Info.plist; INFOPLIST_FILE = Lighting/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)"; LIBRARY_SEARCH_PATHS = "$(inherited)";
ONLY_ACTIVE_ARCH = NO; ONLY_ACTIVE_ARCH = NO;
...@@ -1958,9 +1958,9 @@ ...@@ -1958,9 +1958,9 @@
"\"UIKit\"", "\"UIKit\"",
"$(inherited)", "$(inherited)",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.cntaiping.life.TPLAppResuIPad; PRODUCT_BUNDLE_IDENTIFIER = com.gomore.opple;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "3673c575-9d7a-473e-895c-f080dcdf5802"; PROVISIONING_PROFILE = "1984600d-9582-4f80-b666-2975a03aee8f";
STRIP_PNG_TEXT = NO; STRIP_PNG_TEXT = NO;
USER_HEADER_SEARCH_PATHS = "$(PODS_ROOT)/**"; USER_HEADER_SEARCH_PATHS = "$(PODS_ROOT)/**";
}; };
......
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