修改礼物面板UI

This commit is contained in:
chenshuanglin
2023-03-20 18:04:16 +08:00
parent 80a78612e1
commit 9ecde5b00f
6 changed files with 42 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 446 B

View File

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

View File

@@ -159,7 +159,7 @@ static NSString *kHideGiftViewInteractDot = @"kHideGiftViewInteractDot";//是否
[self.arrowImageView mas_remakeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self.bottomDevideView.mas_top);
make.centerX.mas_equalTo(self.interactButton);
make.size.mas_equalTo(CGSizeMake(9, 7));
make.size.mas_equalTo(CGSizeMake(10, 6));
}];
}

View File

@@ -36,6 +36,8 @@
@property (nonatomic,strong) NetImageView *avatarImageView;
///
@property (nonatomic,strong) UILabel *nickLabel;
///线
@property (nonatomic, strong) UIView *devideView;
///
@property (nonatomic,strong) NSArray<XPGiftUserInfoModel *> *userArray;
///
@@ -83,6 +85,7 @@
self.backgroundColor = [UIColor clearColor];;
[self addSubview:self.stackView];
[self addSubview:self.oneStackView];
[self addSubview:self.devideView];
[self.stackView addArrangedSubview:self.sendLabel];
[self.stackView addArrangedSubview:self.collectionView];
[self.stackView addArrangedSubview:self.allSendImageView];
@@ -131,6 +134,12 @@
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.size.mas_equalTo(CGSizeMake(38, 38));
}];
[self.devideView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.mas_equalTo(0);
make.height.mas_equalTo(1);
make.bottom.mas_equalTo(0);
}];
}
///
@@ -317,4 +326,12 @@
return _selectUserArray;
}
- (UIView *)devideView {
if (!_devideView) {
_devideView = [[UIView alloc] init];
_devideView.backgroundColor = UIColorRGBAlpha(0xffffff, 0.1);
}
return _devideView;
}
@end

View File

@@ -814,6 +814,7 @@
UIBlurEffect *beffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
_effectView = [[UIVisualEffectView alloc] initWithEffect:beffect];
_effectView.hidden = YES;
_effectView.alpha = 0.75;
}
return _effectView;
}