//评论布局
-(void)drawPingLunViewWithArr:(NSMutableArray *)arrData{
self.pinTab = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_WIDTH) style:UITableViewStylePlain];
[self.contentView addSubview:self.pinTab];
[self.pinTab mas_remakeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(self.szdz_view.mas_bottom).mas_offset(TEXT_EDGE_DISTANCE);
make.left.right.mas_equalTo(self.contentView);
make.height.mas_equalTo(200*arrData.count+60+40+260+40);
}];
[self.pinTab layoutIfNeeded];
self.pinTab.delegate = self;
self.pinTab.dataSource = self;
self.pinTab.scrollEnabled = YES;
self.pinTab.bounces = NO;
self.pinTab.estimatedRowHeight = 100;
self.pinTab.rowHeight = UITableViewAutomaticDimension;
[self.pinTab registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];
self.pinTab.separatorStyle = UITableViewCellSeparatorStyleNone;
//添加标题
self.pinTab.tableHeaderView = [[UIView alloc]init];
[self.pinTab registerClass:[PingLunXQTabCell class] forCellReuseIdentifier:@"PingLunXQTabCell"];
[self.pinTab registerClass:[ShopXQXiangSiTabCell class] forCellReuseIdentifier:@"ShopXQXiangSiTabCell"