update 自定义菜单逻辑

master
wanghualei 2021-03-10 11:06:44 +08:00
parent c3a231dc64
commit 8ac92718b7
2 changed files with 6 additions and 8 deletions

View File

@ -1,13 +1,11 @@
platform :ios, "9.0" platform :ios, "9.0"
source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings! inhibit_all_warnings!
target "demo" do target "demo" do
pod 'FinApplet' pod 'FinApplet', '2.22.4'
pod 'FinAppletExt' pod 'FinAppletExt', '2.22.4'
end end

View File

@ -56,7 +56,7 @@ static FINDemoClientHelper *instance = nil;
NSString *appletId = appletInfo.appId; NSString *appletId = appletInfo.appId;
if ([appletId isEqualToString:@"5facb3a52dcbff00017469bd"]) { if ([appletId isEqualToString:@"5facb3a52dcbff00017469bd"]) {
FINCustomMenuModel *favModel1 = [[FINCustomMenuModel alloc] init]; FINCustomMenuModel *favModel1 = [[FINCustomMenuModel alloc] init];
favModel1.menuId = 1001; favModel1.menuId = @"1001";
favModel1.menuTitle = @"客服"; favModel1.menuTitle = @"客服";
favModel1.menuIconImage = [UIImage imageNamed:@"minipro_list_service"]; favModel1.menuIconImage = [UIImage imageNamed:@"minipro_list_service"];
@ -65,7 +65,7 @@ static FINDemoClientHelper *instance = nil;
if ([appletId isEqualToString:@"5fa214a29a6a7900019b5cc1"]) { if ([appletId isEqualToString:@"5fa214a29a6a7900019b5cc1"]) {
FINCustomMenuModel *favModel2 = [[FINCustomMenuModel alloc] init]; FINCustomMenuModel *favModel2 = [[FINCustomMenuModel alloc] init];
favModel2.menuId = 1002; favModel2.menuId = @"1002";
favModel2.menuTitle = @"收藏"; favModel2.menuTitle = @"收藏";
favModel2.menuIconImage = [UIImage imageNamed:@"minipro_list_collect"]; favModel2.menuIconImage = [UIImage imageNamed:@"minipro_list_collect"];
@ -73,12 +73,12 @@ static FINDemoClientHelper *instance = nil;
} }
FINCustomMenuModel *favModel1 = [[FINCustomMenuModel alloc] init]; FINCustomMenuModel *favModel1 = [[FINCustomMenuModel alloc] init];
favModel1.menuId = 1001; favModel1.menuId = @"1003";
favModel1.menuTitle = @"客服"; favModel1.menuTitle = @"客服";
favModel1.menuIconImage = [UIImage imageNamed:@"minipro_list_service"]; favModel1.menuIconImage = [UIImage imageNamed:@"minipro_list_service"];
FINCustomMenuModel *favModel2 = [[FINCustomMenuModel alloc] init]; FINCustomMenuModel *favModel2 = [[FINCustomMenuModel alloc] init];
favModel2.menuId = 1002; favModel2.menuId = @"1004";
favModel2.menuTitle = @"收藏"; favModel2.menuTitle = @"收藏";
favModel2.menuIconImage = [UIImage imageNamed:@"minipro_list_collect"]; favModel2.menuIconImage = [UIImage imageNamed:@"minipro_list_collect"];