// // GoodsReviewsListTableV.m // Asteria // // Created by 王猛 on 2024/1/5. // #import "GoodsReviewsListTableV.h" @implementation GoodsReviewsListTableV - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { GoodsReviewsListM *objectM = self.infodata[indexPath.row]; GoodsReviewsCell *cell = [GoodsReviewsCell cellWithTableView:tableView CellClass:[GoodsReviewsCell class]]; [cell configData:objectM]; @weakify(cell) cell.currencyparameterClose = ^(NSInteger type, id Data) { @strongify(cell) //图片选择器展示 }; return cell; } - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { return UITableViewAutomaticDimension; } - (CGFloat)tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath{ return 100; } - (void)configData:(id)Data{ NSMutableArray *tmpAry = Data; self.infodata = tmpAry; [self reloadData]; } @end