This commit is contained in:
启星
2025-08-15 18:39:24 +08:00
parent e33abc7e33
commit 4b577a31f0
449 changed files with 520 additions and 1457 deletions

View File

@@ -171,7 +171,7 @@
// }
QXTabbarConfig *config = [QXTabbarConfig shareInstance];
config.imageOffset = -5;
QXTabBar *customTabBar = [[QXTabBar alloc] initWithFrame:CGRectMake(15, 0, SCREEN_WIDTH-30, 50) centerCustom:NO config:config];
QXTabBar *customTabBar = [[QXTabBar alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, TabbarContentHeight) centerCustom:NO config:config];
customTabBar.backgroundColor = [UIColor whiteColor];
customTabBar.layer.shadowColor = [UIColor grayColor].CGColor;
customTabBar.layer.shadowOpacity = 0.5;
@@ -179,8 +179,8 @@
customTabBar.layer.shadowRadius = 25.0;
customTabBar.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:customTabBar.bounds cornerRadius:customTabBar.layer.cornerRadius].CGPath;
customTabBar.delegate = self;
customTabBar.layer.cornerRadius = 25.0;
customTabBar.layer.masksToBounds = NO;
// customTabBar.layer.cornerRadius = 25.0;
// customTabBar.layer.masksToBounds = NO;
self.selectedIndex = 0;
// [self.view addSubview:customTabBar];
self.customTabBar = customTabBar;