相亲模式下用户卡片的样式
This commit is contained in:
@@ -506,18 +506,15 @@
|
||||
[[self.hostDelegate.getMicroQueue allValues] enumerateObjectsUsingBlock:^(MicroQueueModel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|
||||
if (uid == obj.userInfo.uid) {
|
||||
model.position = [NSString stringWithFormat:@"%d", obj.microState.position];
|
||||
model.posState = (UserCardMicroPosStateType)obj.microState.posState;
|
||||
model.micState = (UserCardMicroMicStateType)obj.microState.micState;
|
||||
model.posState = obj.microState.posState;
|
||||
model.micState = obj.microState.micState;
|
||||
*stop = YES;
|
||||
}
|
||||
}];
|
||||
model.uid = targetUid;
|
||||
model.roomId = [NSString stringWithFormat:@"%ld", roomInfo.roomId];
|
||||
model.leaveMode = roomInfo.leaveMode;
|
||||
model.showGiftValue = roomInfo.showGiftValue;
|
||||
model.avatar = roomInfo.avatar;
|
||||
model.roomUid = [NSString stringWithFormat:@"%ld", roomInfo.uid];
|
||||
model.nick = self.hostDelegate.getUserInfo.nick;
|
||||
model.uid = targetUid;
|
||||
model.micQueue = self.hostDelegate.getMicroQueue;
|
||||
model.roomInfo = roomInfo;
|
||||
model.delegate = self.hostDelegate;
|
||||
XPUserCardViewController * userCardVC = [[XPUserCardViewController alloc] initWithUser:model];
|
||||
[self.hostDelegate.getCurrentNav presentViewController:userCardVC animated:YES completion:nil];
|
||||
|
Reference in New Issue
Block a user