This commit is contained in:
2025-11-07 16:46:08 +08:00
parent 32521208a0
commit 26e39ce416
5 changed files with 50 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "home_left_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "home_right_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -44,7 +44,7 @@
// HWPanModal _contentView
// Pods/HWPanModal/Sources/View/PanModal/HWPanModalContainerView.m: adjustPanContainerBackgroundColor
// _contentView
self.backgroundColor = [UIColor clearColor]; // 绿
self.backgroundColor = [UIColor colorWithHex:0xE8FFF4]; // 绿
// HWBackgroundConfig *config = [HWBackgroundConfig configWithBehavior:HWBackgroundBehaviorDefault];
// config.backgroundAlpha = 0;
// [self.hw_dimmedView reloadConfig:config];
@@ -160,8 +160,6 @@
//
[self addSubview:self.bigWhiteContentView];
[self addSubview:self.personImageView];
[self addSubview:self.hgImageView];
[self.bigWhiteContentView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(self).inset(0);
@@ -181,6 +179,10 @@
[self.secWhiteContentView addSubview:self.topBar];
[self.secWhiteContentView addSubview:self.containerView];
// topBar topBar
[self.secWhiteContentView insertSubview:self.personImageView belowSubview:self.topBar];
[self.secWhiteContentView insertSubview:self.hgImageView belowSubview:self.topBar];
[self.topBar addSubview:self.leftImageView];
[self.topBar addSubview:self.rightImageView];
@@ -254,6 +256,7 @@
}];
[self.personImageView mas_makeConstraints:^(MASConstraintMaker *make) {
//
make.left.equalTo(self).offset(46);
make.bottom.equalTo(self.topBar.mas_top).offset(22);
make.width.mas_equalTo(70);
@@ -351,7 +354,8 @@
_bigWhiteContentView = [[UIView alloc] init];
_bigWhiteContentView.backgroundColor = [UIColor whiteColor];
_bigWhiteContentView.layer.cornerRadius = 40;
_bigWhiteContentView.layer.masksToBounds = true;
//
_bigWhiteContentView.layer.masksToBounds = NO; // clipsToBounds = NO
}
return _bigWhiteContentView;
}