2
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
_useEmptyDataSet = YES; // 默认开启
|
||||
_emptyShouldAllowScroll = YES; // 默认允许滚动
|
||||
_emptyVerticalOffset = 0; // 默认不偏移
|
||||
_emptyTitleText = @"暂无数据"; // 默认标题
|
||||
_emptyTitleText = KBLocalized(@"暂无数据"); // 默认标题
|
||||
|
||||
#if KB_HAS_DZN
|
||||
self.emptyDataSetSource = self;
|
||||
@@ -148,7 +148,7 @@
|
||||
self.useEmptyDataSet = NO;
|
||||
|
||||
// 默认文案
|
||||
NSString *t = title ?: @"暂无数据";
|
||||
NSString *t = title ?: KBLocalized(@"暂无数据");
|
||||
|
||||
LYEmptyView *ev = nil;
|
||||
if (buttonTitle.length > 0) {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
tapHandler:(KBEmptyAction)tapHandler
|
||||
buttonHandler:(KBEmptyAction)buttonHandler {
|
||||
#if KB_HAS_LY
|
||||
NSString *t = title ?: @"暂无数据";
|
||||
NSString *t = title ?: KBLocalized(@"暂无数据");
|
||||
LYEmptyView *ev = nil;
|
||||
|
||||
if (buttonTitle.length > 0) {
|
||||
@@ -87,4 +87,3 @@
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -31,29 +31,29 @@
|
||||
// 首页
|
||||
HomeMainVC *home = [[HomeMainVC alloc] init];
|
||||
BaseNavigationController *navHome = [[BaseNavigationController alloc] initWithRootViewController:home];
|
||||
navHome.tabBarItem = [self tabItemWithTitle:@"首页"
|
||||
navHome.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Home")
|
||||
image:@"tab_home"
|
||||
selectedImg:@"tab_home_selected"];
|
||||
|
||||
// 商城
|
||||
KBShopVC *shop = [[KBShopVC alloc] init];
|
||||
BaseNavigationController *navShop = [[BaseNavigationController alloc] initWithRootViewController:shop];
|
||||
navShop.tabBarItem = [self tabItemWithTitle:@"商城"
|
||||
navShop.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Shop")
|
||||
image:@"tab_shop"
|
||||
selectedImg:@"tab_shop_selected"];
|
||||
|
||||
// 社区
|
||||
KBCommunityVC *community = [[KBCommunityVC alloc] init];
|
||||
community.title = @"社区";
|
||||
community.title = KBLocalized(@"社区");
|
||||
BaseNavigationController *navCommunity = [[BaseNavigationController alloc] initWithRootViewController:community];
|
||||
navCommunity.tabBarItem = [self tabItemWithTitle:@"社区"
|
||||
navCommunity.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Circle")
|
||||
image:@"tab_shequ"
|
||||
selectedImg:@"tab_shequ_selected"];
|
||||
|
||||
// 我的
|
||||
MyVC *my = [[MyVC alloc] init];
|
||||
BaseNavigationController *navMy = [[BaseNavigationController alloc] initWithRootViewController:my];
|
||||
navMy.tabBarItem = [self tabItemWithTitle:@"我的"
|
||||
navMy.tabBarItem = [self tabItemWithTitle:KBLocalized(@"Mine")
|
||||
image:@"tab_my"
|
||||
selectedImg:@"tab_my_selected"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user