修复盲盒连送
This commit is contained in:
@@ -1709,6 +1709,10 @@ QXRoomUserInfoViewDelegate
|
||||
weakSelf.skyView.roomId = weakSelf.roomId;
|
||||
weakSelf.skyView.userIds = userIds;
|
||||
weakSelf.skyView.heartId = weakSelf.sendGiftView.heartId;
|
||||
if (weakSelf.sendGiftView.type == QXSendGiftViewTypeAuction) {
|
||||
weakSelf.skyView.heartId = @"";
|
||||
weakSelf.skyView.auctionId = weakSelf.sendGiftView.auctionId;
|
||||
}
|
||||
[weakSelf.sendGiftView hide];
|
||||
[weakSelf.skyView showInView:weakSelf.view];
|
||||
}else if(gift.gift_bag.intValue == 11) {
|
||||
@@ -1716,6 +1720,10 @@ QXRoomUserInfoViewDelegate
|
||||
weakSelf.ageView.roomId = weakSelf.roomId;
|
||||
weakSelf.ageView.userIds = userIds;
|
||||
weakSelf.ageView.heartId = weakSelf.sendGiftView.heartId;
|
||||
if (weakSelf.sendGiftView.type == QXSendGiftViewTypeAuction) {
|
||||
weakSelf.skyView.heartId = @"";
|
||||
weakSelf.skyView.auctionId = weakSelf.sendGiftView.auctionId;
|
||||
}
|
||||
[weakSelf.sendGiftView hide];
|
||||
[weakSelf.ageView showInView:weakSelf.view];
|
||||
}else if(gift.gift_bag.intValue == 12) {
|
||||
@@ -1723,6 +1731,10 @@ QXRoomUserInfoViewDelegate
|
||||
weakSelf.timeView.roomId = weakSelf.roomId;
|
||||
weakSelf.timeView.userIds = userIds;
|
||||
weakSelf.timeView.heartId = weakSelf.sendGiftView.heartId;
|
||||
if (weakSelf.sendGiftView.type == QXSendGiftViewTypeAuction) {
|
||||
weakSelf.skyView.heartId = @"";
|
||||
weakSelf.skyView.auctionId = weakSelf.sendGiftView.auctionId;
|
||||
}
|
||||
[weakSelf.sendGiftView hide];
|
||||
[weakSelf.timeView showInView:weakSelf.view];
|
||||
}
|
||||
|
||||
@@ -293,6 +293,21 @@ NSInteger maxMessageCount = 20;
|
||||
|
||||
return height;
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
QXRoomChatListModel *model;
|
||||
if (self.selectedBtn == self.chatBtn) {
|
||||
model = self.chatArray[indexPath.row];
|
||||
}else if (self.selectedBtn == self.giftBtn) {
|
||||
model = self.giftArray[indexPath.row];
|
||||
}else{
|
||||
model = self.dataArray[indexPath.row];
|
||||
}
|
||||
if (model.FromUserInfo.user_id.longValue > 0 && model.messageType == QXRoomChatMessageTypeSystem) {
|
||||
if (self.delegate && [self.delegate respondsToSelector:@selector(previewUserInfoWithUserId:)]) {
|
||||
[self.delegate previewUserInfoWithUserId:model.FromUserInfo.user_id];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
|
||||
CGFloat height = scrollView.frame.size.height;
|
||||
|
||||
Reference in New Issue
Block a user