添加了粉丝和关注列表我的等级

This commit is contained in:
fengshuo
2021-12-21 18:10:33 +08:00
parent 03d8e0bcfa
commit ac2e53ad27
39 changed files with 1963 additions and 62 deletions

View File

@@ -31,6 +31,8 @@
#import "XPWebViewController.h"
#import "XPRoomViewController.h"
#import "XPMineDressUpViewController.h"
#import "XPMineFansViewController.h"
#import "XPMineAttentionViewController.h"
@interface XPMineViewController ()<UITableViewDelegate, UITableViewDataSource, XPMineProtocol, XPMineMatchTableViewCellDelegate, XPMineHeadViewDelegate>
@@ -154,6 +156,21 @@
[self.navigationController pushViewController:dressUpVC animated:YES];
}
break;
case XPMineItemType_Fans_List:
{
XPMineFansViewController * fansVC = [[XPMineFansViewController alloc] init];
[self.navigationController pushViewController:fansVC animated:YES];
}
break;
case XPMineItemType_Attention_List:
{
XPMineAttentionViewController * attentionVC = [[XPMineAttentionViewController alloc] init];
[self.navigationController pushViewController:attentionVC animated:YES];
}
break;
case XPMineItemType_My_Level:
[self pushWebViewWIthUrl:URLWithType(kUserLevelURL)];
break;
default:
break;
}
@@ -242,6 +259,13 @@
[self pushViewControllerWithType:XPMineItemType_Invite_Friend];
}
- (void)xpMineHeadViewClickFans {
[self pushViewControllerWithType:XPMineItemType_Fans_List];
}
- (void)xpMineHeadViewClickAttention {
[self pushViewControllerWithType:XPMineItemType_Attention_List];
}
#pragma mark - XPMineProtocol
- (void)onGetNormalItemsSuccess:(NSArray<XPMineItemModel *> *)normalItems {
self.datasource = normalItems;