This commit is contained in:
2025-11-17 13:30:01 +08:00
parent 9305acb69b
commit d9bfc30c88
3 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface MySkinVC : UIViewController
@interface MySkinVC : BaseViewController
@end

View File

@@ -30,7 +30,7 @@ static NSString * const kMySkinCellId = @"kMySkinCellId";
[super viewDidLoad];
self.view.backgroundColor = [UIColor whiteColor];
self.title = @"My Skin"; //
// self.title = @"My Skin"; //
// Editor/Cancel
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Editor" style:UIBarButtonItemStylePlain target:self action:@selector(onToggleEdit)];
@@ -43,9 +43,9 @@ static NSString * const kMySkinCellId = @"kMySkinCellId";
[self.view addSubview:self.bottomView];
[self.collectionView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop);
make.top.equalTo(self.view).offset(KB_NAV_TOTAL_HEIGHT);
make.left.right.equalTo(self.view);
make.bottom.equalTo(self.view.mas_bottom); // bottomView
make.bottom.equalTo(self.view.mas_bottom);
}];
[self.bottomView mas_makeConstraints:^(MASConstraintMaker *make) {

View File

@@ -242,12 +242,12 @@ static const CGFloat JXheightForHeaderInSection = 50;
#pragma mark - action
- (void)searchBtnAction{
KBSearchVC *vc = [[KBSearchVC alloc] init];
// [self.navigationController pushViewController:vc animated:true];
[self.navigationController pushViewController:vc animated:true];
}
- (void)skinBtnAction{
MySkinVC *vc = [[MySkinVC alloc] init];
// [self.navigationController pushViewController:vc animated:true];
[self.navigationController pushViewController:vc animated:true];
}
#pragma mark - lazy