修改了魔力号为ID
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
_searchTextField.textColor = [ThemeColor mainTextColor];
|
||||
_searchTextField.backgroundColor = [UIColor clearColor];
|
||||
_searchTextField.font = [UIFont systemFontOfSize:13];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"搜索昵称/%@ID/房间名", AppName];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"搜索昵称/ID/房间名"];
|
||||
_searchTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholder attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:13], NSForegroundColorAttributeName : [ThemeColor secondTextColor]}];
|
||||
_searchTextField.clearButtonMode = UITextFieldViewModeWhileEditing;
|
||||
_searchTextField.returnKeyType = UIReturnKeySearch;
|
||||
|
@@ -420,7 +420,7 @@
|
||||
- (UILabel *)tipsLabel{
|
||||
if (!_tipsLabel) {
|
||||
_tipsLabel = [[UILabel alloc] init];
|
||||
_tipsLabel.text = [NSString stringWithFormat:@"如果您的手机号已丢失\n请咨询客服,魔力号:%@", @"88001"];
|
||||
_tipsLabel.text = [NSString stringWithFormat:@"如果您的手机号已丢失\n请咨询客服,ID:%@", @"88001"];
|
||||
_tipsLabel.textColor = [ThemeColor textThirdColor];
|
||||
_tipsLabel.font = [UIFont systemFontOfSize:14.f];
|
||||
_tipsLabel.adjustsFontSizeToFitWidth = YES;
|
||||
|
@@ -115,7 +115,7 @@
|
||||
sexStr = @"common_female";
|
||||
}
|
||||
self.sexImageView.image = [UIImage imageNamed:sexStr];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", _userInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", _userInfo.erbanNo];
|
||||
self.greetButton.selected = !_userInfo.hello;
|
||||
UIImage* image = self.experImageView.image;
|
||||
if (image) {
|
||||
|
@@ -178,7 +178,7 @@
|
||||
_item = item;
|
||||
self.nickLabel.text = item.nick;
|
||||
self.avaterImgView.imageUrl = item.avatar;
|
||||
self.memberIdLabel.text = [NSString stringWithFormat:@"魔力号:%zd", item.erbanNo];
|
||||
self.memberIdLabel.text = [NSString stringWithFormat:@"ID:%zd", item.erbanNo];
|
||||
self.timeLabel.text = item.visitTimeDesc;
|
||||
self.genderImageView.image = [UIImage imageNamed:item.gender == 1 ? @"common_male" : @"common_female"];
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, copy) NSString *cid;
|
||||
/// 族长 uid
|
||||
@property (nonatomic, copy) NSString *elderUid;
|
||||
/// 族长魔力号
|
||||
/// 族长ID
|
||||
@property (nonatomic, copy) NSString *elderErbanNo;
|
||||
/// 族长 名称
|
||||
@property (nonatomic, copy) NSString *elderName;
|
||||
|
@@ -33,7 +33,7 @@ typedef NS_ENUM(NSInteger, GuildRoleType) {
|
||||
@property (nonatomic, assign) GuildRoleType roleType;
|
||||
/// 厅主的 uid
|
||||
@property (nonatomic, copy) NSString *ownerUid;
|
||||
/// 厅主的 魔力号
|
||||
/// 厅主的 ID
|
||||
@property (nonatomic, copy) NSString *ownerErbanNo;
|
||||
/// 模厅名称
|
||||
@property (nonatomic, copy) NSString *ownerNick;
|
||||
|
@@ -148,7 +148,7 @@
|
||||
if (_managerInfo) {
|
||||
self.avatarImageView.imageUrl = _managerInfo.avatar;
|
||||
self.nickLabel.text= _managerInfo.nick;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", _managerInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", _managerInfo.erbanNo];
|
||||
[self.collectionView reloadData];
|
||||
}
|
||||
}
|
||||
|
@@ -102,7 +102,7 @@
|
||||
self.avatarImageView.imageUrl = _userInfo.avatar;
|
||||
self.sexImageView.image = _userInfo.gender == GenderType_Female ? [UIImage imageNamed:@"common_female"] : [UIImage imageNamed:@"common_male"];
|
||||
self.nickLabel.text = _userInfo.nick;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", _userInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", _userInfo.erbanNo];
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -204,7 +204,7 @@
|
||||
elderName = [elderName substringToIndex:8];
|
||||
}
|
||||
self.clanNameLabel.text = elderName;
|
||||
self.daeIdLabel.text = [NSString stringWithFormat:@"魔力号:%@", _clanInfo.clan.elderErbanNo];
|
||||
self.daeIdLabel.text = [NSString stringWithFormat:@"ID:%@", _clanInfo.clan.elderErbanNo];
|
||||
self.clanLevelImageView.imageUrl = _clanInfo.clan.levelIcon;
|
||||
if (_clanInfo.clan.elderUid.integerValue == [AccountInfoStorage instance].getUid.integerValue) {
|
||||
self.menuStackView.hidden = NO;
|
||||
|
@@ -150,7 +150,7 @@
|
||||
_searchTextField.textColor = [ThemeColor mainTextColor];
|
||||
_searchTextField.backgroundColor = [UIColor clearColor];
|
||||
_searchTextField.font = [UIFont systemFontOfSize:13];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"搜索昵称/%@ID", AppName];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"搜索昵称/ID"];
|
||||
_searchTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholder attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:13], NSForegroundColorAttributeName : [ThemeColor secondTextColor]}];
|
||||
_searchTextField.clearButtonMode = UITextFieldViewModeWhileEditing;
|
||||
_searchTextField.returnKeyType = UIReturnKeySearch;
|
||||
|
@@ -207,7 +207,7 @@
|
||||
#pragma mark - XPGuildSearchSuperAdminTableViewCellDelegate
|
||||
- (void)xPGuildSearchSuperAdminTableViewCell:(XPGuildSearchSuperAdminTableViewCell *)cell didSelectInfo:(GuildSearchSuperAdminModel *)userInfo {
|
||||
if (userInfo && !userInfo.hasSet) {
|
||||
NSString * message = [NSString stringWithFormat:@"确定要添加用户%@(魔力ID:%@)为公会超级管理员吗?", userInfo.nick, userInfo.erbanNo];
|
||||
NSString * message = [NSString stringWithFormat:@"确定要添加用户%@(ID:%@)为公会超级管理员吗?", userInfo.nick, userInfo.erbanNo];
|
||||
TTAlertConfig * config =[[TTAlertConfig alloc] init];
|
||||
config.message = message;
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
switch (_searchType) {
|
||||
case GuildSearchType_Clan_Add_Super_Admin:
|
||||
self.navView.searchTextField.keyboardType = UIKeyboardTypeNumberPad;
|
||||
self.navView.placeHolder = @"请输入公会成员魔力号";
|
||||
self.navView.placeHolder = @"请输入公会成员ID";
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@@ -304,7 +304,7 @@
|
||||
_userInfo = userInfo;
|
||||
if (_userInfo) {
|
||||
self.nameLabel.text = _userInfo.nick;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%ld", (long)_userInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%ld", (long)_userInfo.erbanNo];
|
||||
self.signLabel.text = _userInfo.userDesc.length > 0 ? _userInfo.userDesc : @"我是个默认签名";
|
||||
self.fansNumLabel.text =[NSString stringWithFormat:@"%ld粉丝", _userInfo.fansNum];
|
||||
self.sexImageView.image = userInfo.gender == GenderType_Female ? [UIImage imageNamed:@"common_female"] : [UIImage imageNamed:@"common_male"];
|
||||
|
@@ -451,7 +451,7 @@
|
||||
} else {
|
||||
self.headWearImageView.hidden = YES;
|
||||
}
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%ld", (long)_userInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%ld", (long)_userInfo.erbanNo];
|
||||
self.nameLabel.text = _userInfo.nick.length > 0 ? _userInfo.nick : @"";
|
||||
self.avatarImageView.imageUrl = userInfo.avatar;
|
||||
if (userInfo.isReview) {
|
||||
|
@@ -21,7 +21,7 @@
|
||||
@property (nonatomic, strong) UIButton *selectButton;
|
||||
///名字
|
||||
@property (nonatomic, strong) UILabel *nameLabel;
|
||||
///魔力号
|
||||
///ID
|
||||
@property (nonatomic, strong) UILabel *idLabel;
|
||||
|
||||
@end
|
||||
@@ -84,7 +84,7 @@
|
||||
_roomPKInfo = roomPKInfo;
|
||||
self.avatarImageView.imageUrl = _roomPKInfo.avatar;
|
||||
self.nameLabel.text = _roomPKInfo.title;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", _roomPKInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", _roomPKInfo.erbanNo];
|
||||
self.selectButton.selected = _roomPKInfo.hadSelected;
|
||||
}
|
||||
|
||||
|
@@ -240,7 +240,7 @@
|
||||
}
|
||||
} erbanNo:self.searchTextField.text roomUid:@"" pageNum:@"1" pageSize:@"50"];
|
||||
} else {
|
||||
[XCHUDTool showErrorWithMessage:@"请输入要搜索的厅魔力号"];
|
||||
[XCHUDTool showErrorWithMessage:@"请输入要搜索的厅ID"];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@
|
||||
_searchTextField.textColor = [UIColor whiteColor];
|
||||
_searchTextField.backgroundColor = [UIColor clearColor];
|
||||
_searchTextField.font = [UIFont systemFontOfSize:13];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"请输入厅的魔力号"];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"请输入厅的ID"];
|
||||
_searchTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholder attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:13], NSForegroundColorAttributeName : [UIColor colorWithWhite:1 alpha:0.4]}];
|
||||
}
|
||||
return _searchTextField;
|
||||
|
@@ -278,7 +278,7 @@
|
||||
self.selectPKButton.hidden= YES;
|
||||
self.avatarImageView.imageUrl = pkRoomInfo.avatar;
|
||||
self.roomTitleLabel.text = pkRoomInfo.title;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", pkRoomInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", pkRoomInfo.erbanNo];
|
||||
self.selectRoomInfo = pkRoomInfo;
|
||||
[self updateDoneButtonState];
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
@property (nonatomic, strong) UIButton *selectButton;
|
||||
///名字
|
||||
@property (nonatomic, strong) UILabel *nameLabel;
|
||||
///魔力号
|
||||
///ID
|
||||
@property (nonatomic, strong) UILabel *idLabel;
|
||||
|
||||
@end
|
||||
@@ -88,7 +88,7 @@
|
||||
_roomPKInfo = roomPKInfo;
|
||||
self.avatarImageView.imageUrl = _roomPKInfo.avatar;
|
||||
self.nameLabel.text = _roomPKInfo.nick;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", _roomPKInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", _roomPKInfo.erbanNo];
|
||||
self.selectButton.userInteractionEnabled = !roomPKInfo.crossPking;
|
||||
if (roomPKInfo.crossPking) {
|
||||
[_selectButton setBackgroundImage:[UIImage gradientColorImageFromColors:@[UIColorFromRGB(0x4C4C6A), UIColorFromRGB(0x4C4C6A)] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(10, 10)] forState:UIControlStateNormal];
|
||||
|
@@ -241,7 +241,7 @@
|
||||
}
|
||||
} erbanNo:self.searchTextField.text roomUid:@"" pageNum:@"1" pageSize:@"50" pkType:@"2"];
|
||||
} else {
|
||||
[XCHUDTool showErrorWithMessage:@"请输入要搜索的厅魔力号"];
|
||||
[XCHUDTool showErrorWithMessage:@"请输入要搜索的厅ID"];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
_searchTextField.textColor = [UIColor whiteColor];
|
||||
_searchTextField.backgroundColor = [UIColor clearColor];
|
||||
_searchTextField.font = [UIFont systemFontOfSize:13];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"请输入厅的魔力号"];
|
||||
NSString *placeholder = [NSString stringWithFormat:@"请输入厅的ID"];
|
||||
_searchTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholder attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:13], NSForegroundColorAttributeName : [UIColor colorWithWhite:1 alpha:0.4]}];
|
||||
}
|
||||
return _searchTextField;
|
||||
|
@@ -268,7 +268,7 @@
|
||||
self.selectPKButton.hidden= YES;
|
||||
self.avatarImageView.imageUrl = pkRoomInfo.avatar;
|
||||
self.roomTitleLabel.text = pkRoomInfo.title;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%@", pkRoomInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%@", pkRoomInfo.erbanNo];
|
||||
self.selectRoomInfo = pkRoomInfo;
|
||||
[self updateDoneButtonState];
|
||||
}
|
||||
|
@@ -554,7 +554,7 @@
|
||||
} else {
|
||||
self.namePlateView.hidden = YES;
|
||||
}
|
||||
self.idLabel.text = [NSString stringWithFormat:@"魔力号:%ld", userInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:@"ID:%ld", userInfo.erbanNo];
|
||||
|
||||
NSString * headwearUrl= userInfo.headwearEffect.length > 0 ? userInfo.headwearEffect : userInfo.headwearPic;
|
||||
self.headWearImageView.hidden = headwearUrl.length <= 0;
|
||||
|
Reference in New Issue
Block a user