房间榜换成h5
This commit is contained in:
@@ -8,12 +8,14 @@
|
||||
#import "XPRoomFunctionContainerView.h"
|
||||
///Tool
|
||||
#import "XPMacro.h"
|
||||
#import "XPHtmlUrl.h"
|
||||
#import "TTPopup.h"
|
||||
///Third
|
||||
#import <Masonry/Masonry.h>
|
||||
///Model
|
||||
#import "RoomInfoModel.h"
|
||||
///View
|
||||
#import "XPRoomRankViewController.h"
|
||||
#import "XPRoomHalfWebView.h"
|
||||
@interface XPRoomFunctionContainerView ()
|
||||
///host 代理
|
||||
@property (nonatomic,weak) id<RoomHostDelegate>delegate;
|
||||
@@ -50,8 +52,9 @@
|
||||
#pragma mark - Event Response
|
||||
- (void)contributionButtonAction:(UIButton *)sender {
|
||||
NSString * roomUid = [NSString stringWithFormat:@"%ld", self.delegate.getRoomInfo.uid];
|
||||
XPRoomRankViewController * rankVC = [[XPRoomRankViewController alloc] initWithRoomUid:roomUid delegate:self.delegate];
|
||||
[self.delegate.getCurrentNav presentViewController:rankVC animated:YES completion:nil];
|
||||
XPRoomHalfWebView * webView = [[XPRoomHalfWebView alloc] init];
|
||||
webView.url = [NSString stringWithFormat:@"%@?roomUid=%@", URLWithType(kRoomRankURL), roomUid];
|
||||
[TTPopup popupView:webView style:TTPopupStyleActionSheet];
|
||||
}
|
||||
|
||||
#pragma mark - Getters And Setters
|
||||
|
Reference in New Issue
Block a user