修改礼物面板UI
This commit is contained in:
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 |
22
xplan-ios/Assets.xcassets/Login/login_main_top_bg.imageset/Contents.json
vendored
Normal file
22
xplan-ios/Assets.xcassets/Login/login_main_top_bg.imageset/Contents.json
vendored
Normal 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
|
||||
}
|
||||
}
|
@@ -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));
|
||||
}];
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -814,6 +814,7 @@
|
||||
UIBlurEffect *beffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
|
||||
_effectView = [[UIVisualEffectView alloc] initWithEffect:beffect];
|
||||
_effectView.hidden = YES;
|
||||
_effectView.alpha = 0.75;
|
||||
}
|
||||
return _effectView;
|
||||
}
|
||||
|
Reference in New Issue
Block a user