-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
[self layoutView];
}
self.consoleView=[[UIView alloc]initWithFrame:CGRectMake(KWidth, 0, KWidth, 90 * ScalH)];
self.consoleView.backgroundColor = zjColor(243, 243, 243);
[self.contentView addSubview:self.consoleView];
UIButton * delBtn = [UIButton buttonWithType:UIButtonTypeCustom];
delBtn.frame = CGRectMake(0, 15*ScalH, 65, 60 * ScalH);
[delBtn setImage:[UIImage imageNamed:@"zhiwen_delete"] forState:UIControlStateNormal];
[self.consoleView addSubview:delBtn];
return self;
}
-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
NSLog(@"-----");
}
-(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath{
return @"删除";
}