贵族礼物面板更新,增加贵族中心入口
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user