41 lines
976 B
Objective-C
41 lines
976 B
Objective-C
//
|
|
// GiGAUserInfoCell.m
|
|
// GIGA
|
|
//
|
|
// Created by lianxiang on 2018/9/19.
|
|
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
|
//
|
|
|
|
#import "GiGAUserInfoCell.h"
|
|
|
|
@implementation GiGAUserInfoCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
}
|
|
|
|
-(void)loadCellData:(NSIndexPath *)indexPath{
|
|
if (indexPath.section == 1 && indexPath.row == 0) {
|
|
//个人信息
|
|
self.infoTitle.text = @"个人信息";
|
|
self.numberLabe.hidden = YES;
|
|
}else if (indexPath.section == 1 && indexPath.row == 1){
|
|
//修改手机
|
|
self.infoTitle.text = @"修改手机";
|
|
self.numberLabe.hidden = NO;
|
|
GiGaUser *user = [[GiGaUserManager shareUser] getCurrentUser];
|
|
self.numberLabe.text = user.mobileMask;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|