From d9bfc30c88924c50566e39bfe09bbfe38d404604 Mon Sep 17 00:00:00 2001 From: CodeST <694468528@qq.com> Date: Mon, 17 Nov 2025 13:30:01 +0800 Subject: [PATCH] 1 --- keyBoard/Class/Me/VC/MySkinVC.h | 2 +- keyBoard/Class/Me/VC/MySkinVC.m | 6 +++--- keyBoard/Class/Shop/VC/KBShopVC.m | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keyBoard/Class/Me/VC/MySkinVC.h b/keyBoard/Class/Me/VC/MySkinVC.h index 7f80dd8..d303898 100644 --- a/keyBoard/Class/Me/VC/MySkinVC.h +++ b/keyBoard/Class/Me/VC/MySkinVC.h @@ -9,7 +9,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface MySkinVC : UIViewController +@interface MySkinVC : BaseViewController @end diff --git a/keyBoard/Class/Me/VC/MySkinVC.m b/keyBoard/Class/Me/VC/MySkinVC.m index 7831c5c..1cec418 100644 --- a/keyBoard/Class/Me/VC/MySkinVC.m +++ b/keyBoard/Class/Me/VC/MySkinVC.m @@ -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) { diff --git a/keyBoard/Class/Shop/VC/KBShopVC.m b/keyBoard/Class/Shop/VC/KBShopVC.m index ef96bdc..2a0bfc3 100644 --- a/keyBoard/Class/Shop/VC/KBShopVC.m +++ b/keyBoard/Class/Shop/VC/KBShopVC.m @@ -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