礼物面板模糊效果
This commit is contained in:
@@ -72,7 +72,7 @@ static NSString *kHideGiftViewInteractDot = @"kHideGiftViewInteractDot";//是否
|
|||||||
[self.arrowImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.arrowImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.bottom.mas_equalTo(self.bottomDevideView.mas_top);
|
make.bottom.mas_equalTo(self.bottomDevideView.mas_top);
|
||||||
make.centerX.mas_equalTo(self.giftButton);
|
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) {
|
[self.interactButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.centerY.mas_equalTo(self);
|
make.centerY.mas_equalTo(self);
|
||||||
@@ -136,7 +136,7 @@ static NSString *kHideGiftViewInteractDot = @"kHideGiftViewInteractDot";//是否
|
|||||||
[self.arrowImageView mas_remakeConstraints:^(MASConstraintMaker *make) {
|
[self.arrowImageView mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.bottom.mas_equalTo(self.bottomDevideView.mas_top);
|
make.bottom.mas_equalTo(self.bottomDevideView.mas_top);
|
||||||
make.centerX.mas_equalTo(self.giftButton);
|
make.centerX.mas_equalTo(self.giftButton);
|
||||||
make.size.mas_equalTo(CGSizeMake(9, 7));
|
make.size.mas_equalTo(CGSizeMake(10, 6));
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -692,7 +692,7 @@
|
|||||||
self.contentView.backgroundColor = [UIColor whiteColor];
|
self.contentView.backgroundColor = [UIColor whiteColor];
|
||||||
self.bottomView.backgroundColor = [UIColor whiteColor];
|
self.bottomView.backgroundColor = [UIColor whiteColor];
|
||||||
} else {
|
} else {
|
||||||
self.contentView.backgroundColor = UIColorRGBAlpha(0x161722, 0.85);
|
self.contentView.backgroundColor = UIColor.clearColor;
|
||||||
self.bottomView.backgroundColor = [ThemeColor colorWithHexString:@"#161722"];
|
self.bottomView.backgroundColor = [ThemeColor colorWithHexString:@"#161722"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -814,7 +814,6 @@
|
|||||||
UIBlurEffect *beffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
|
UIBlurEffect *beffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
|
||||||
_effectView = [[UIVisualEffectView alloc] initWithEffect:beffect];
|
_effectView = [[UIVisualEffectView alloc] initWithEffect:beffect];
|
||||||
_effectView.hidden = YES;
|
_effectView.hidden = YES;
|
||||||
_effectView.alpha = 0.75;
|
|
||||||
}
|
}
|
||||||
return _effectView;
|
return _effectView;
|
||||||
}
|
}
|
||||||
|
@@ -258,7 +258,7 @@
|
|||||||
NSArray * items = @[wechat,cycle, qq, qqzone];
|
NSArray * items = @[wechat,cycle, qq, qqzone];
|
||||||
RoomInfoModel * roomInfo = [self.hostDelegate getRoomInfo];
|
RoomInfoModel * roomInfo = [self.hostDelegate getRoomInfo];
|
||||||
XPShareInfoModel * shareInfo = [[XPShareInfoModel alloc] init];
|
XPShareInfoModel * shareInfo = [[XPShareInfoModel alloc] init];
|
||||||
shareInfo.shareTitle = @"聆听声音,分享快乐";
|
shareInfo.shareTitle = @"与你相遇,不孤单";
|
||||||
shareInfo.shareContent = [NSString stringWithFormat:@"%@ 这个房间很好玩,推荐给你,快来和我一起玩吧~", roomInfo.title];
|
shareInfo.shareContent = [NSString stringWithFormat:@"%@ 这个房间很好玩,推荐给你,快来和我一起玩吧~", roomInfo.title];
|
||||||
shareInfo.shareImageUrl = [self.hostDelegate getRoomInfo].avatar;
|
shareInfo.shareImageUrl = [self.hostDelegate getRoomInfo].avatar;
|
||||||
shareInfo.type = ShareType_Room;
|
shareInfo.type = ShareType_Room;
|
||||||
|
@@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
[self.textView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.textView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.left.right.mas_equalTo(self).inset(24);
|
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);
|
make.height.mas_equalTo(200);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user