This commit is contained in:
2025-11-07 20:58:14 +08:00
parent 91d754b389
commit 48a12f0919
30 changed files with 282 additions and 46 deletions

View File

@@ -45,7 +45,8 @@
// HWPanModal _contentView
// Pods/HWPanModal/Sources/View/PanModal/HWPanModalContainerView.m: adjustPanContainerBackgroundColor
// _contentView
self.backgroundColor = [UIColor colorWithHex:0xE8FFF4]; // 绿
// self.backgroundColor = [UIColor colorWithHex:0xE8FFF4]; // 绿
self.backgroundColor = [UIColor clearColor];
// HWBackgroundConfig *config = [HWBackgroundConfig configWithBehavior:HWBackgroundBehaviorDefault];
// config.backgroundAlpha = 0;
// [self.hw_dimmedView reloadConfig:config];
@@ -180,11 +181,11 @@
[self.leftBgImageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.top.equalTo(self.secWhiteContentView);
make.bottom.equalTo(self.secWhiteContentView);
// make.bottom.equalTo(self.secWhiteContentView);
}];
[self.rightBgImageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.top.equalTo(self.secWhiteContentView);
make.bottom.equalTo(self.secWhiteContentView);
// make.bottom.equalTo(self.secWhiteContentView);
}];
@@ -231,7 +232,7 @@
[self.topBar addSubview:self.underlineImageView];
// Masonry
CGFloat topPadding = 0; //
CGFloat topPadding = 12; //
[self.topBar mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(self.secWhiteContentView);
make.top.equalTo(self.secWhiteContentView).offset(topPadding);
@@ -259,14 +260,14 @@
[self.containerView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(self.topBar.mas_bottom).offset(8);
make.left.right.equalTo(self.secWhiteContentView).inset(16);
make.left.right.equalTo(self.secWhiteContentView).inset(20);
make.bottom.equalTo(self.secWhiteContentView);
}];
[self.personImageView mas_makeConstraints:^(MASConstraintMaker *make) {
//
make.left.equalTo(self).offset(46);
make.bottom.equalTo(self.topBar.mas_top).offset(20);
make.bottom.equalTo(self.topBar.mas_top).offset(11);
make.width.mas_equalTo(53);
make.height.mas_equalTo(81);
}];
@@ -283,7 +284,7 @@
#pragma mark - Action
- (void)onTapTopButton:(UIButton *)sender {
[self switchToIndex:sender.tag animated:YES];
[self switchToIndex:sender.tag animated:false];
// [self hw_panModalSetNeedsLayoutUpdate];
}
@@ -318,7 +319,6 @@
//
// [self addChildViewController:target];
[self.containerView addSubview:target.view];
target.view.backgroundColor = [UIColor colorWithWhite:0.98 alpha:1];
[target.view mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.top.right.equalTo(self.containerView);
make.bottom.equalTo(self.containerView).offset(-KB_TABBAR_HEIGHT);