修复了房间内私聊背景以及样式的问题

This commit is contained in:
fengshuo
2022-06-13 16:19:40 +08:00
parent 8b43023ae5
commit e51ff0f919
10 changed files with 260 additions and 203 deletions

View File

@@ -125,6 +125,8 @@
@property (nonatomic,strong) XPRoomPKProgressView *roompkPanelView;
///pk
@property (nonatomic,strong) RoomPKDetailInfoModel *pkDetailInfo;
///
@property (nonatomic,assign) BOOL isLoadGreet;
@end
@implementation XPRoomFunctionContainerView
@@ -316,7 +318,8 @@
#pragma mark -
- (void)handleNewUserGreet {
if (self.delegate.getUserInfo.fromType == UserEnterRoomFromType_New_User_Greet) {
if (self.delegate.getUserInfo.fromType == UserEnterRoomFromType_New_User_Greet && !self.isLoadGreet) {
self.isLoadGreet = YES;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
NSString * roomUid = [NSString stringWithFormat:@"%ld", self.delegate.getRoomInfo.uid];
[Api newUserStartGreet:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {