礼物面板模糊效果

This commit is contained in:
chenshuanglin
2023-03-21 15:13:37 +08:00
parent 71d8e12b94
commit db06b20c6b
4 changed files with 5 additions and 6 deletions

View File

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

View File

@@ -692,7 +692,7 @@
self.contentView.backgroundColor = [UIColor whiteColor];
self.bottomView.backgroundColor = [UIColor whiteColor];
} else {
self.contentView.backgroundColor = UIColorRGBAlpha(0x161722, 0.85);
self.contentView.backgroundColor = UIColor.clearColor;
self.bottomView.backgroundColor = [ThemeColor colorWithHexString:@"#161722"];
}
}
@@ -814,7 +814,6 @@
UIBlurEffect *beffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
_effectView = [[UIVisualEffectView alloc] initWithEffect:beffect];
_effectView.hidden = YES;
_effectView.alpha = 0.75;
}
return _effectView;
}

View File

@@ -258,7 +258,7 @@
NSArray * items = @[wechat,cycle, qq, qqzone];
RoomInfoModel * roomInfo = [self.hostDelegate getRoomInfo];
XPShareInfoModel * shareInfo = [[XPShareInfoModel alloc] init];
shareInfo.shareTitle = @"聆听声音,分享快乐";
shareInfo.shareTitle = @"与你相遇,不孤单";
shareInfo.shareContent = [NSString stringWithFormat:@"%@ 这个房间很好玩,推荐给你,快来和我一起玩吧~", roomInfo.title];
shareInfo.shareImageUrl = [self.hostDelegate getRoomInfo].avatar;
shareInfo.type = ShareType_Room;

View File

@@ -69,7 +69,7 @@
[self.textView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.mas_equalTo(self).inset(24);
make.top.mas_equalTo(self.titleLabel.mas_bottom).offset(21);
make.top.mas_equalTo(self.titleLabel.mas_bottom).offset(18);
make.height.mas_equalTo(200);
}];