This commit is contained in:
启星
2025-11-21 16:17:05 +08:00
parent 7ac937ddbf
commit 8913ea6f48
283 changed files with 8474 additions and 800 deletions

View File

@@ -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);