贵族中心入口调整,贵族特权点亮颜色修改

This commit is contained in:
chenguilong
2022-01-06 17:50:59 +08:00
committed by fengshuo
parent a8b9ceeed1
commit 1085ed2d0c
13 changed files with 182 additions and 10 deletions

View File

@@ -272,6 +272,11 @@
- (void)xpMineHeadViewClickAttention {
[self pushViewControllerWithType:XPMineItemType_Attention_List];
}
- (void)xPMineHeadViewCliekNobleCenter {
[self pushViewControllerWithType:XPMineItemType_Noble_Center];
}
#pragma mark - XPMineProtocol
- (void)onGetNormalItemsSuccess:(NSArray<XPMineItemModel *> *)normalItems {
self.datasource = normalItems;
@@ -308,7 +313,8 @@
- (XPMineHeadView *)headView {
if (!_headView) {
_headView = [[XPMineHeadView alloc] initWithFrame:CGRectMake(0, 0,KScreenWidth , 203 + kSafeAreaTopHeight)];
CGFloat nobleH = (KScreenWidth - 30.0)/ 345.0 * 44;
_headView = [[XPMineHeadView alloc] initWithFrame:CGRectMake(0, 0,KScreenWidth , 203 + nobleH + kSafeAreaTopHeight)];
_headView.delegate = self;
}
return _headView;