add
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// 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 = YES;
|
||||
}else if (indexPath.section == 1 && indexPath.row == 2){
|
||||
//修改手机
|
||||
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
|
||||
Reference in New Issue
Block a user