修改提交
This commit is contained in:
@@ -161,9 +161,25 @@
|
||||
break;
|
||||
case QXMineServiceTypeSingerAuth:{
|
||||
QXLOG(@"点击了歌手认证");
|
||||
QXRoomSingerAuthViewController *vc = [[QXRoomSingerAuthViewController alloc] init];
|
||||
vc.singer_status = self.userModel.singer_status;
|
||||
[self.navigationController pushViewController:vc animated:YES];
|
||||
MJWeakSelf
|
||||
if (![QXGlobal shareGlobal].isRealName) {
|
||||
QXLOG(@"未实名,弹出实名认证");
|
||||
QXRealNamePopView *v = [[QXRealNamePopView alloc] init];
|
||||
v.closeActionBlock = ^{
|
||||
[[QXGlobal shareGlobal] hideViewBlock:^{}];
|
||||
};
|
||||
v.authActionBlock = ^{
|
||||
[[QXGlobal shareGlobal] hideViewBlock:^{
|
||||
QXRoomSingerAuthViewController *vc = [[QXRoomSingerAuthViewController alloc] init];
|
||||
vc.singer_status = weakSelf.userModel.singer_status;
|
||||
[weakSelf.navigationController pushViewController:vc animated:YES];
|
||||
}];
|
||||
};
|
||||
[[QXGlobal shareGlobal] showView:v popType:(PopViewTypePopFromCenter) tapDismiss:NO finishBlock:^{}];
|
||||
}else{
|
||||
QXMyRoomViewController *vc = [[QXMyRoomViewController alloc] init];
|
||||
[self.navigationController pushViewController:vc animated:YES];
|
||||
}
|
||||
}
|
||||
break;
|
||||
case QXMineServiceTypeSongList:{
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
self.categoryView.delegate = self;
|
||||
self.categoryView.titleSelectedColor = QXConfig.textColor;
|
||||
self.categoryView.titleColor = RGB16(0x666666);
|
||||
self.categoryView.titleFont = [UIFont boldSystemFontOfSize:12];
|
||||
self.categoryView.titleFont = [UIFont boldSystemFontOfSize:14];
|
||||
self.categoryView.titleSelectedFont = [UIFont boldSystemFontOfSize:16];
|
||||
self.categoryView.titleColorGradientEnabled = YES;
|
||||
self.categoryView.titleLabelZoomEnabled = YES;
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
MJWeakSelf
|
||||
QXIntimateMoreListCell *cell = [QXIntimateMoreListCell cellWithTableView:tableView];
|
||||
cell.userId = self.userId;
|
||||
QXRoomBestFriendListModel *md = self.dataArray.firstObject;
|
||||
QXRoomBestFriendListModel *md = self.dataArray[indexPath.section-1];
|
||||
cell.model = md.relation_list.firstObject;
|
||||
cell.delegate = self;
|
||||
cell.deleteSuccessBlock = ^(QXRelationshipListModel * _Nonnull model) {
|
||||
|
||||
@@ -61,7 +61,10 @@
|
||||
weakSelf.priceView.model = model;
|
||||
[weakSelf.tableView reloadData];
|
||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||
|
||||
showToast(msg);
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
[weakSelf.navigationController popViewControllerAnimated:YES];
|
||||
});
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user