提交
This commit is contained in:
@@ -145,6 +145,15 @@
|
||||
cell.model = model;
|
||||
return cell;
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
QXExpansionCell *eCell = (QXExpansionCell *)cell;
|
||||
[eCell nameStartAnimate];
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView didEndDisplayingCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
QXExpansionCell *eCell = (QXExpansionCell *)cell;
|
||||
[eCell nameStopAnimate];
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
QXUserHomeModel *model = self.dataArray[indexPath.row];
|
||||
NSArray *imgArr;
|
||||
@@ -154,7 +163,7 @@
|
||||
// NSArray *
|
||||
CGFloat itemH = 94;
|
||||
if (imgArr.count == 1) {
|
||||
itemH = (SCREEN_WIDTH-15-15-15)/2 + 94;
|
||||
itemH = (SCREEN_WIDTH-15-15-15)/2 + 94+10;
|
||||
}else if(imgArr.count > 1){
|
||||
if (imgArr.count > 3) {
|
||||
itemH = (SCREEN_WIDTH-16*2-12*2-10*2)/3*2+10+94+ScaleWidth(10);
|
||||
|
||||
Reference in New Issue
Block a user