Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyouPrince committed Feb 14, 2021
1 parent d0f25f6 commit 447f2d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions SectionDemo/Controller/Tool/DataTool.m
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ + (NSArray *)customData{
@"value": @"",
@"type": @3,
@"customCellClass": @"SectionDemo.PersonInfoHeaderCell",
@"cellHeight": @250,
@"cellHeight": @215,
@"valueCode": @"",
}
];
Expand All @@ -1344,7 +1344,7 @@ + (NSArray *)customData{
@"value": @"蚂蚁金服有限公司",
@"type": @3,
@"customCellClass": @"SectionDemo.PersonInfoCell",
@"cellHeight": @120,
@"cellHeight": @115,
@"valueCode": @"",
@"accessoryView": [[UIImageView alloc] initWithImage:image]
},
Expand All @@ -1355,7 +1355,7 @@ + (NSArray *)customData{
@"value": @"财富规划师",
@"type": @3,
@"customCellClass": @"SectionDemo.PersonInfoCell",
@"cellHeight": @120,
@"cellHeight": @115,
@"valueCode": @"",
@"accessoryView": [[UIImageView alloc] initWithImage:image]
},
Expand All @@ -1366,7 +1366,7 @@ + (NSArray *)customData{
@"value": @"支付宝",
@"type": @3,
@"customCellClass": @"SectionDemo.PersonInfoCell",
@"cellHeight": @120,
@"cellHeight": @115,
@"valueCode": @"",
@"accessoryView": [[UIImageView alloc] initWithImage:image]
},
Expand All @@ -1377,7 +1377,7 @@ + (NSArray *)customData{
@"value": @"[email protected]",
@"type": @3,
@"customCellClass": @"SectionDemo.PersonInfoCell",
@"cellHeight": @120,
@"cellHeight": @115,
@"valueCode": @"",
@"accessoryView": [[UIImageView alloc] initWithImage:image]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class PersonInfoController: XYInfomationBaseViewController {
self.view.backgroundColor = UIColor(red: color, green: color, blue: color, alpha: 1)
self.setContentWithData(DataTool.customData(), itemConfig: nil, sectionConfig: { (section) in
section.layer.cornerRadius = 0
section.separatorHeight = 10
// section.separatorHeight = 10
}, sectionDistance: 10, contentEdgeInsets: .zero) { (index, cell) in
print(cell.model.title)
SVProgressHUD.showSuccess(withStatus: cell.model.title)
}
}
}

0 comments on commit 447f2d7

Please sign in to comment.