1.1.15
This commit is contained in:
@@ -111,7 +111,11 @@
|
||||
QXTabBarButton *currentButton = self.tabbarBtnArray[i];
|
||||
if (currentButton == ybButton) {
|
||||
[currentButton.iconBtn setSelected:YES];
|
||||
currentButton.titleLbl.textColor = QXConfig.themeColor;
|
||||
if (QXConfig.shared.model) {
|
||||
currentButton.titleLbl.textColor = [UIColor colorWithHexString:QXConfig.shared.model.tabbarSelectedColor];
|
||||
}else{
|
||||
currentButton.titleLbl.textColor = QXConfig.themeColor;
|
||||
}
|
||||
} else {
|
||||
[currentButton.iconBtn setSelected:NO];
|
||||
currentButton.titleLbl.textColor = [[QXTabbarConfig shareInstance] norTitleColor];
|
||||
|
||||
@@ -36,10 +36,10 @@ static id _instance = nil;
|
||||
- (void)configNormal {
|
||||
_norTitleColor = RGB16(0x999999);//[UIColor colorWithHexString:@"#808080"];
|
||||
_selTitleColor = RGB16(0x333333);//[UIColor colorWithHexString:@"#d81e06"];
|
||||
_imageSize = CGSizeMake(24, 24);
|
||||
_imageSize = CGSizeMake(32, 32);
|
||||
_titleFont = 12.f;
|
||||
_titleOffset = 5.f;
|
||||
_imageOffset = 5.f;
|
||||
_imageOffset = 5.f;
|
||||
_titleHeight = 12.f;
|
||||
_bgImageOffset = 20.f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user