@@ -331,6 +331,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
331331 [actionSheet showInView: kKeyWindow ];
332332 };
333333 }
334+ cell.backgroundColor = kColorTableBG ;
334335 [tableView addLineforPlainCell: cell forRowAtIndexPath: indexPath withLeftSpace: 20 ];
335336 return cell;
336337// }else if (indexPath.section == 2){
@@ -346,24 +347,28 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
346347 }else if (indexPath.section == 1 ){
347348 LeftImage_LRTextCell *cell = [tableView dequeueReusableCellWithIdentifier: kCellIdentifier_LeftImage_LRText forIndexPath: indexPath];
348349 [cell setObj: _myCopyTask type: indexPath.row];
350+ cell.backgroundColor = kColorTableBG ;
349351 [tableView addLineforPlainCell: cell forRowAtIndexPath: indexPath withLeftSpace: 20 ];
350352 return cell;
351353 }else {
352354 if (indexPath.row == 0 ) {
353355 TaskCommentTopCell *cell = [tableView dequeueReusableCellWithIdentifier: kCellIdentifier_TaskCommentTop forIndexPath: indexPath];
354356 cell.commentNumStrLabel .text = [NSString stringWithFormat: @" %d 条评论" , _myCopyTask.comments.intValue];
357+ cell.backgroundColor = kColorTableBG ;
355358 [cell addLineUp: YES andDown: NO andColor: tableView.separatorColor];
356359 return cell;
357360 }else {
358361 if ([self hasComment ]) {
359362 TaskCommentCell *cell = [tableView dequeueReusableCellWithIdentifier: kCellIdentifier_TaskComment forIndexPath: indexPath];
360363 TaskComment *curComment = [_myCopyTask.commentList objectAtIndex: indexPath.row-1 ];
361364 cell.curComment = curComment;
365+ cell.backgroundColor = kColorTableBG ;
362366 [tableView addLineforPlainCell: cell forRowAtIndexPath: indexPath withLeftSpace: 20 ];
363367 return cell;
364368 }else {
365369 TaskCommentBlankCell *cell = [tableView dequeueReusableCellWithIdentifier: kCellIdentifier_TaskCommentBlank forIndexPath: indexPath];
366370 cell.blankStrLabel .text = (_myCopyTask.comments .intValue <= 0 )? @" 尚无评论,速速抢个先手吧" : @" 正在加载评论..." ;
371+ cell.backgroundColor = kColorTableBG ;
367372 [tableView addLineforPlainCell: cell forRowAtIndexPath: indexPath withLeftSpace: 20 ];
368373 return cell;
369374 }
0 commit comments