贵族礼物面板更新,增加贵族中心入口

This commit is contained in:
chenguilong
2022-01-07 15:58:18 +08:00
committed by fengshuo
parent 278609240a
commit 4bf7ca9525
18 changed files with 191 additions and 11 deletions

View File

@@ -32,6 +32,7 @@
#import "XPMineRechargeViewController.h"
#import "XPWebViewController.h"
#import "XPFirstRechargeViewController.h"
#import "XPNobleCenterViewController.h"
@interface XPSendGiftView ()< XPGiftBarViewDelegate, XPGiftProtocol, XPGiftInfoViewDelegate>
///
@@ -313,6 +314,12 @@
self.giftBarView.type = type;
}
- (void)xPGiftInfoViewDidClickNobleEntrance:(XPGiftInfoView *)view {
[TTPopup dismiss];
XPNobleCenterViewController * nobleVC = [[XPNobleCenterViewController alloc] initWithRoomUid:self.delegate.getRoomInfo.uid];
[self.delegate.getCurrentNav pushViewController:nobleVC animated:YES];
}
#pragma mark - XPGiftProtocol
- (void)getUserWalletInfo:(WalletInfoModel *)balanceInfo {
self.giftBarView.walletInfoModel = balanceInfo;
@@ -341,6 +348,7 @@
- (void)setDelegate:(id<RoomHostDelegate>)delegate {
_delegate = delegate;
self.giftBarView.isShowFirstRecharge = self.delegate.getUserInfo.isFirstCharge;
self.giftInfoView.curUserNobleLevel = self.delegate.getUserInfo.userVipInfoVO.vipLevel;
}
- (XPGiftUsersView *)userView {