// // DDNobleListViewController.m // DingDangApp // // Created by apple on 2023/6/20. // #import "DDNobleListViewController.h" #import "DDNobleListModel.h" #import "DDNobleAlertView.h" #import "DDNobleListCollectionViewCell.h" #import "DDNobleTableViewCell.h" @interface DDNobleListViewController () @property (nonatomic, strong) NSMutableArray * dataArr; @end @implementation DDNobleListViewController -(NSMutableArray *)dataArr { if (!_dataArr) { _dataArr = [NSMutableArray array]; } return _dataArr; } -(UICollectionViewFlowLayout *)flowLayout { if (!_flowLayout) { _flowLayout = [[UICollectionViewFlowLayout alloc]init]; CGFloat itemWidth = 0; itemWidth = (kWidth-30)/3; _flowLayout.itemSize = CGSizeMake(itemWidth, 95); _flowLayout.sectionInset = UIEdgeInsetsMake(46,0,10,0); _flowLayout.minimumLineSpacing = 0; _flowLayout.minimumInteritemSpacing = 0; _flowLayout.scrollDirection = UICollectionViewScrollDirectionVertical; } return _flowLayout; } - (UICollectionView *)giftWallCollectionView { if (!_giftWallCollectionView) { _giftWallCollectionView = [[UICollectionView alloc]initWithFrame:CGRectZero collectionViewLayout:self.flowLayout]; _giftWallCollectionView.delegate = self; _giftWallCollectionView.dataSource = self; _giftWallCollectionView.showsHorizontalScrollIndicator = NO; _giftWallCollectionView.alwaysBounceVertical= YES; _giftWallCollectionView.layer.cornerRadius = 12; _giftWallCollectionView.layer.masksToBounds = YES; _giftWallCollectionView.layer.borderColor = [UIColor jk_colorWithHexString:@"#543B3D"].CGColor; _giftWallCollectionView.layer.borderWidth = 3; _giftWallCollectionView.scrollEnabled = NO; _giftWallCollectionView.backgroundColor = [UIColor clearColor]; [_giftWallCollectionView registerClass:[DDNobleListCollectionViewCell class] forCellWithReuseIdentifier:@"DDNobleListCollectionViewCell"]; } return _giftWallCollectionView; } -(UIImageView *)bgImage { if (!_bgImage) { _bgImage = [UIImageView new]; _bgImage.image = [UIImage imageNamed:@"noble_7"]; } return _bgImage; } -(UITableView *)myTableView { if (!_myTableView) { _myTableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped]; _myTableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; _myTableView.estimatedSectionHeaderHeight = 0; _myTableView.estimatedSectionFooterHeight = 0; _myTableView.dataSource = self; _myTableView.delegate = self; _myTableView.estimatedRowHeight = 0; _myTableView.separatorStyle = UITableViewCellSeparatorStyleNone; _myTableView.separatorColor = [UIColor clearColor]; _myTableView.backgroundColor = [UIColor clearColor]; } return _myTableView; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. [self creatV]; [self getDataArrWithNoble:self.index]; } -(void)creatV { self.view.backgroundColor = [UIColor jk_colorWithHexString:@"#130E0F"]; [self.view addSubview:self.bgImage]; [self.bgImage mas_makeConstraints:^(MASConstraintMaker *make) { make.top.bottom.equalTo(self.view); make.left.right.mas_equalTo(0); }]; [self.view addSubview:self.myTableView]; [self.myTableView mas_makeConstraints:^(MASConstraintMaker *make) { make.top.equalTo(self.view); make.left.right.mas_equalTo(0); make.bottom.equalTo(self.view).offset(-DDBottomHeight()-60); }]; } -(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { return CGFLOAT_MIN; } -(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { return CGFLOAT_MIN; } -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; } -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 2; } -(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { if (indexPath.row == 0) { return 210; }else{ return 838; } } -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { if (indexPath.row == 1) { static NSString *indentifiers = @"uitableViewCell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:indentifiers]; if (!cell) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:indentifiers]; } cell.backgroundColor = UIColor.clearColor; [cell.contentView addSubview:self.giftWallCollectionView]; [self.giftWallCollectionView mas_makeConstraints:^(MASConstraintMaker *make) { make.left.equalTo(cell.contentView).offset(15); make.right.equalTo(cell.contentView).offset(-15); make.bottom.equalTo(cell.contentView); make.top.equalTo(cell.contentView).offset(28); }]; [cell.contentView addSubview:self.collectionViewTopImage]; [self.collectionViewTopImage mas_makeConstraints:^(MASConstraintMaker *make) { make.top.equalTo(cell.contentView); make.centerX.equalTo(cell.contentView); make.width.mas_equalTo(331); make.height.mas_equalTo(28); }]; [cell.contentView addSubview:self.privilegeBGImage]; [self.privilegeBGImage mas_makeConstraints:^(MASConstraintMaker *make) { make.bottom.equalTo(self.giftWallCollectionView.mas_top).offset(15); make.width.mas_equalTo(160); make.height.mas_equalTo(32); make.centerX.equalTo(cell.contentView); }]; [self.privilegeBGImage addSubview:self.privilegeLabel]; [self.privilegeLabel mas_makeConstraints:^(MASConstraintMaker *make) { make.center.equalTo(self.privilegeBGImage); make.height.mas_equalTo(32); }]; [self.view bringSubviewToFront:self.privilegeBGImage]; cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; }else{ static NSString *indentifiers = @"DDNobleTableViewCell"; DDNobleTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:indentifiers]; if (!cell) { cell = [[DDNobleTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:indentifiers]; } self.indexPath = indexPath; cell.index = self.index; if (self.index >= 5) { [cell.lightBgImage ddSetGifAnimatedImageView:@"noble_xuanguang.png"]; }else{ [cell.lightBgImage ddSetGifAnimatedImageView:@""]; } cell.totalExperience = self.experienceStr; cell.backgroundColor = UIColor.clearColor; cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } } -(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView { return 1; } - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { return self.dataArr.count; } - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { DDNobleListCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"DDNobleListCollectionViewCell" forIndexPath:indexPath]; DDNobleListModel *model = self.dataArr[indexPath.item]; [cell updataCellWithModel:model]; return cell; } - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath { DDNobleListModel *model = self.dataArr[indexPath.item]; DDNobleAlertView *view = [[DDNobleAlertView alloc]initNoblePageAlertViewWithModel:model]; [view show]; } -(UILabel *)privilegeLabel { if (!_privilegeLabel) { _privilegeLabel = [[UILabel alloc] init]; _privilegeLabel.textColor = [UIColor jk_colorWithHexString:@"#35272C"]; _privilegeLabel.font = [UIFont systemFontOfSize:16]; if (self.index == 0) { _privilegeLabel.text = @"专属特权 3/23"; }else if (self.index == 1){ _privilegeLabel.text = @"专属特权 4/23"; }else if (self.index == 2){ _privilegeLabel.text = @"专属特权 5/23"; }else if (self.index == 3){ _privilegeLabel.text = @"专属特权 7/23"; }else if (self.index == 4){ _privilegeLabel.text = @"专属特权 11/23"; }else if (self.index == 5){ _privilegeLabel.text = @"专属特权 13/23"; }else if (self.index == 6){ _privilegeLabel.text = @"专属特权 17/23"; }else if (self.index == 7){ _privilegeLabel.text = @"专属特权 19/23"; }else if (self.index == 8){ _privilegeLabel.text = @"专属特权 23/23"; } _privilegeLabel.textAlignment = NSTextAlignmentCenter; } return _privilegeLabel; } -(UIImageView *)privilegeBGImage { if (!_privilegeBGImage) { _privilegeBGImage = [UIImageView new]; _privilegeBGImage.image = [UIImage imageNamed:@"noble_3"]; } return _privilegeBGImage; } -(UIImageView *)collectionViewTopImage { if (!_collectionViewTopImage) { _collectionViewTopImage = [UIImageView new]; _collectionViewTopImage.image = [UIImage imageNamed:@"noble_6"]; } return _collectionViewTopImage; } - (void)listDidAppear { if (self.index >= 5) { DDNobleTableViewCell *cell = (DDNobleTableViewCell *)[self.myTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]]; [cell.lightBgImage ddSetGifAnimatedImageView:@"noble_xuanguang.png"]; }else{ DDNobleTableViewCell *cell = (DDNobleTableViewCell *)[self.myTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]]; [cell.lightBgImage ddSetGifAnimatedImageView:@""]; } } -(void)dealloc { [self.view removeAllSubViews]; } -(void)getDataArrWithNoble:(NSInteger)noble{ if (![ToolsObject IsNullWithObject:self.dataArr]) { [self.dataArr removeAllObjects]; } if (noble == 0) {//骑士 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:YES nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:YES nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:YES nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:YES nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"房间人气增加"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:YES nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:YES nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:YES nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:YES nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:YES nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"等级经验加速" isClose:YES nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:YES nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:YES nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕" isClose:YES nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:YES nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 1){//男爵 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:YES nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:YES nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:YES nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"房间人气增加"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:YES nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:YES nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:YES nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:YES nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:YES nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"等级经验加速" isClose:YES nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:YES nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:YES nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕" isClose:YES nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:YES nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 2){//子爵 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:YES nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:YES nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"房间人气增加"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:YES nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:YES nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:YES nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:YES nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:YES nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"等级经验加速" isClose:YES nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:YES nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:YES nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕" isClose:YES nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:YES nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 3){//伯爵 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:NO nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:NO nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"进房人气+2000"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:YES nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:YES nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:YES nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:YES nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:YES nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"等级经验加速" isClose:YES nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:YES nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:YES nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕" isClose:YES nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:YES nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 4){//侯爵 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:NO nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:NO nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"进房人气+8000"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:NO nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:NO nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:NO nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:NO nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:YES nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"等级经验加速" isClose:YES nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:YES nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:YES nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕" isClose:YES nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:YES nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 5){//公爵 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:NO nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:NO nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"进房人气+18000"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:NO nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:NO nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:NO nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:NO nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:NO nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"1.1倍用户\n等级经验" isClose:NO nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:YES nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:YES nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕" isClose:YES nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:YES nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 6){//国王 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:NO nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:NO nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"进房人气+60000"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:NO nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:NO nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:NO nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:NO nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:NO nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"1.2倍用户\n等级经验" isClose:NO nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:NO nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:NO nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕\n20/30天" isClose:NO nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:NO nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:YES nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:YES nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 7){//皇帝 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:NO nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:NO nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"进房人气+13000"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:NO nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:NO nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:NO nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:NO nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:NO nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"1.3倍用户\n等级经验" isClose:NO nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:NO nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:NO nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕\n50/30天" isClose:NO nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:NO nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:NO nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:NO nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:YES nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:YES nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:YES nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话" isClose:YES nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; }else if (noble == 8){//神皇 [self.dataArr addObjectsFromArray:@[ [DDNobleListModel initWithData:@"noble_29" name:@"爵位特权礼物" isClose:NO nobleType:(DDNobleListType_Gift) detailIcon:@"noble_8" detailName:@"专属礼物,与众不同"], [DDNobleListModel initWithData:@"noble_30" name:@"专属客服" isClose:NO nobleType:(DDNobleListType_CustomerService) detailIcon:@"noble_9" detailName:@"7*24小时超贴心守护"], [DDNobleListModel initWithData:@"noble_31" name:@"荣耀铭牌" isClose:NO nobleType:(DDNobleListType_GloryBrand) detailIcon:@"noble_10" detailName:@"专属荣耀铭牌,做人群中最靓的仔"], [DDNobleListModel initWithData:@"noble_32" name:@"专属贵族麦位框" isClose:NO nobleType:(DDNobleListType_Mic) detailIcon:@"noble_11" detailName:@"专属麦位框,麦上最闪亮"], [DDNobleListModel initWithData:@"noble_34" name:@"全服公告" isClose:NO nobleType:(DDNobleListType_FullNotice) detailIcon:@"noble_13" detailName:@"全服播报爵位,尊享体验"], [DDNobleListModel initWithData:@"noble_33" name:@"贵族头像框" isClose:NO nobleType:(DDNobleListType_Avatar) detailIcon:@"noble_12" detailName:@"专属头像框,身份的象征"], [DDNobleListModel initWithData:@"noble_37" name:@"房间人气增加" isClose:NO nobleType:(DDNobleListType_RoomPopularity) detailIcon:@"noble_15" detailName:@"进房人气+500000"], [DDNobleListModel initWithData:@"noble_35" name:@"专属名片" isClose:NO nobleType:(DDNobleListType_Card) detailIcon:@"noble_14" detailName:@"专属炫彩名片,点开就是焦点"], [DDNobleListModel initWithData:@"noble_36" name:@"进场欢迎" isClose:NO nobleType:(DDNobleListType_Welcome) detailIcon:@"noble_64" detailName:@"炫彩特效,排面十足"], [DDNobleListModel initWithData:@"noble_38" name:@"进场特效" isClose:NO nobleType:(DDNobleListType_Car) detailIcon:@"noble_65" detailName:@"尊贵座驾,逼格尽显"], [DDNobleListModel initWithData:@"noble_39" name:@"麦位光波" isClose:NO nobleType:(DDNobleListType_LightWave) detailIcon:@"noble_16" detailName:@"独特光波,凸显逼格"], [DDNobleListModel initWithData:@"noble_40" name:@"昵称变色" isClose:NO nobleType:(DDNobleListType_MicNickName) detailIcon:@"noble_17" detailName:@"专属颜色和特效"], [DDNobleListModel initWithData:@"noble_41" name:@"1.4倍用户\n等级经验" isClose:NO nobleType:(DDNobleListType_LevelExperience) detailIcon:@"noble_18" detailName:@"升级快人一步"], [DDNobleListModel initWithData:@"noble_42" name:@"列表靠前" isClose:NO nobleType:(DDNobleListType_TopList) detailIcon:@"noble_19" detailName:@"房内在线列表始终最靠前"], [DDNobleListModel initWithData:@"noble_43" name:@"专属房间气泡" isClose:NO nobleType:(DDNobleListType_RoomBuYVle) detailIcon:@"noble_20" detailName:@"专属气泡特效"], [DDNobleListModel initWithData:@"noble_44" name:@"房间弹幕\n100/30天" isClose:NO nobleType:(DDNobleListType_RoomBarrage) detailIcon:@"noble_21" detailName:@"专属房间发言弹幕"], [DDNobleListModel initWithData:@"noble_45" name:@"防被踢" isClose:NO nobleType:(DDNobleListType_RoomAntiKick) detailIcon:@"noble_22" detailName:@"所有房间不可被踢出和拉黑"], [DDNobleListModel initWithData:@"noble_46" name:@"进房隐身" isClose:NO nobleType:(DDNobleListType_RoomInvisible) detailIcon:@"noble_23" detailName:@"进房隐身,悄无声息"], [DDNobleListModel initWithData:@"noble_47" name:@"动态头像" isClose:NO nobleType:(DDNobleListType_MoodAvatar) detailIcon:@"noble_24" detailName:@"自定义上传GIF动图头像"], [DDNobleListModel initWithData:@"noble_48" name:@"防禁麦" isClose:NO nobleType:(DDNobleListType_ForbiddenMic) detailIcon:@"noble_25" detailName:@"所有房间不可被禁麦"], [DDNobleListModel initWithData:@"noble_49" name:@"防禁言" isClose:NO nobleType:(DDNobleListType_ForbiddenWords) detailIcon:@"noble_26" detailName:@"所有房间不可被禁言"], [DDNobleListModel initWithData:@"noble_50" name:@"榜单匿名" isClose:NO nobleType:(DDNobleListType_AnonymousList) detailIcon:@"noble_27" detailName:@"做一个低调神秘的贵族"], [DDNobleListModel initWithData:@"noble_51" name:@"全服喊话\n3张/30天" isClose:NO nobleType:(DDNobleListType_FullShout) detailIcon:@"noble_28" detailName:@"全服播报对话,昭告天下"] ]]; } } /* #pragma mark - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { // Get the new view controller using [segue destinationViewController]. // Pass the selected object to the new view controller. } */ @end