fix 首页
This commit is contained in:
@@ -17,15 +17,13 @@
|
||||
|
||||
- (void)loadCellData:(NSIndexPath *)indexPath{
|
||||
|
||||
if(indexPath.section == 1 && indexPath.row == 0){
|
||||
|
||||
self.listImageView.image = [UIImage imageNamed:@""];
|
||||
self.descLabel.text = @"历史记录";
|
||||
|
||||
}else{
|
||||
self.listImageView.image = [UIImage imageNamed:@""];
|
||||
self.descLabel.text = @"系统设置";
|
||||
}
|
||||
NSArray *arr =@[@"历史记录",@"历史测试",@"系统设置"];
|
||||
NSArray *imageName = @[@"user_history",@"user_test",@"user_setup"];
|
||||
self.descLabel.text = arr[indexPath.row];
|
||||
self.listImageView.image = [UIImage imageNamed:imageName[indexPath.row]];
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user