提交
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
// Initialization code
|
||||
}
|
||||
- (IBAction)familyGroupAction:(id)sender {
|
||||
if (self.model.group_members_lists.count == 0) {
|
||||
if (![self.model.group_id isExist]) {
|
||||
showToast(@"家族群至少需要签约一位徒弟");
|
||||
}else{
|
||||
[[QXGlobal shareGlobal] chatWithFamilyGroupId:self.model.group_id cover:self.model.group_owner_info.avatar name:[NSString stringWithFormat:@"%@的家族",self.model.group_owner_info.nickname] navagationController:self.viewController.navigationController];
|
||||
@@ -38,11 +38,12 @@
|
||||
[self.headerView.nobilityImageView sd_setImageWithURL:[NSURL URLWithString:model.group_owner_info.nobility_image]];
|
||||
self.nameLabel.text = model.group_owner_info.nickname;
|
||||
self.IdLabel.text = [NSString stringWithFormat:@"ID:%@",model.group_owner_info.user_code];
|
||||
self.priceLabel.text = model.group_earnings;
|
||||
self.priceLabel.text = [NSString stringWithFormat:@"%.4f",model.group_earnings.doubleValue];
|
||||
[self.timesBtn setTitle:[NSString stringWithFormat:@"签约次数:%@",model.group_members_num] forState:(UIControlStateNormal)];
|
||||
}
|
||||
- (IBAction)moreAction:(id)sender {
|
||||
QXFamilyPriceRecordViewController *vc = [[QXFamilyPriceRecordViewController alloc] init];
|
||||
vc.userId = self.model.user_id;
|
||||
[self.viewController.navigationController pushViewController:vc animated:YES];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user