1
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface MySkinVC : UIViewController
|
||||
@interface MySkinVC : BaseViewController
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user