This commit is contained in:
启星
2025-12-30 19:08:34 +08:00
parent 1a9d6650f5
commit b724fe2a67
111 changed files with 1078 additions and 162 deletions

View File

@@ -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];

View File

@@ -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;
}