From 447f2d7e579d5866061d4d31991b7f6b182c803c Mon Sep 17 00:00:00 2001 From: xiaoyouPrince Date: Sun, 14 Feb 2021 20:25:50 +0800 Subject: [PATCH] update --- SectionDemo/Controller/Tool/DataTool.m | 10 +++++----- .../section3/PersonInfo/PersonInfoController.swift | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SectionDemo/Controller/Tool/DataTool.m b/SectionDemo/Controller/Tool/DataTool.m index 4a50ea3..7ac809f 100644 --- a/SectionDemo/Controller/Tool/DataTool.m +++ b/SectionDemo/Controller/Tool/DataTool.m @@ -1330,7 +1330,7 @@ + (NSArray *)customData{ @"value": @"", @"type": @3, @"customCellClass": @"SectionDemo.PersonInfoHeaderCell", - @"cellHeight": @250, + @"cellHeight": @215, @"valueCode": @"", } ]; @@ -1344,7 +1344,7 @@ + (NSArray *)customData{ @"value": @"蚂蚁金服有限公司", @"type": @3, @"customCellClass": @"SectionDemo.PersonInfoCell", - @"cellHeight": @120, + @"cellHeight": @115, @"valueCode": @"", @"accessoryView": [[UIImageView alloc] initWithImage:image] }, @@ -1355,7 +1355,7 @@ + (NSArray *)customData{ @"value": @"财富规划师", @"type": @3, @"customCellClass": @"SectionDemo.PersonInfoCell", - @"cellHeight": @120, + @"cellHeight": @115, @"valueCode": @"", @"accessoryView": [[UIImageView alloc] initWithImage:image] }, @@ -1366,7 +1366,7 @@ + (NSArray *)customData{ @"value": @"支付宝", @"type": @3, @"customCellClass": @"SectionDemo.PersonInfoCell", - @"cellHeight": @120, + @"cellHeight": @115, @"valueCode": @"", @"accessoryView": [[UIImageView alloc] initWithImage:image] }, @@ -1377,7 +1377,7 @@ + (NSArray *)customData{ @"value": @"xiaoyouPrince@163.com", @"type": @3, @"customCellClass": @"SectionDemo.PersonInfoCell", - @"cellHeight": @120, + @"cellHeight": @115, @"valueCode": @"", @"accessoryView": [[UIImageView alloc] initWithImage:image] }, diff --git a/SectionDemo/Controller/section3/PersonInfo/PersonInfoController.swift b/SectionDemo/Controller/section3/PersonInfo/PersonInfoController.swift index 9427e40..4fb8f6a 100644 --- a/SectionDemo/Controller/section3/PersonInfo/PersonInfoController.swift +++ b/SectionDemo/Controller/section3/PersonInfo/PersonInfoController.swift @@ -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) } } }