fix:iOS clear ListNode cell color

This commit is contained in:
刘涛 2020-07-01 16:55:13 +08:00 committed by osborn
parent eabb98cee9
commit 91c3d4f630

View File

@ -139,6 +139,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
DoricListItemNode *listItemNode = [[DoricListItemNode alloc] initWithContext:self.doricContext]; DoricListItemNode *listItemNode = [[DoricListItemNode alloc] initWithContext:self.doricContext];
[listItemNode initWithSuperNode:self]; [listItemNode initWithSuperNode:self];
cell.doricListItemNode = listItemNode; cell.doricListItemNode = listItemNode;
cell.backgroundColor=[UIColor clearColor];
listItemNode.view.width = tableView.width; listItemNode.view.width = tableView.width;
[cell.contentView addSubview:listItemNode.view]; [cell.contentView addSubview:listItemNode.view];
} }