选中的那个人在坑位上的时候展示用户卡片

This commit is contained in:
fengshuo
2021-11-26 16:57:58 +08:00
committed by zu
parent ee0f8dd13e
commit 5d9cb9eb16
16 changed files with 441 additions and 149 deletions

View File

@@ -23,8 +23,6 @@
#import "RtcManager.h"
#import "XPUserCardViewController.h"
@interface XPRoomMenuContainerView ()
///
@property (nonatomic,strong) UIStackView *stackView;
@@ -82,14 +80,13 @@
break;
case XPRoomMenuItemType_Gift: {
NSString * roomUid = [NSString stringWithFormat:@"%ld", [self.delegate getRoomInfo].uid];
XPSendGiftView * giftView = [[XPSendGiftView alloc] initWithType:SendGiftType_Room uid:roomUid];
giftView.delegate = self.delegate;
NSArray * giftUses = [self configGiftUsers:[self.delegate getMicroQueue]];
[giftView configGiftUsers:giftUses];
[TTPopup popupView:giftView style:TTPopupStyleActionSheet];
break;
}
break;
default:
break;
}