UIView *footerView=[[UIView alloc]initWithFrame:CGRectMake(0, 0, WIDTH, 44)];
UIButton *btn=[[UIButton alloc]initWithFrame:footerView.frame];
[btn setBackgroundColor:[UIColor redColor]];
[btn setTitle:@"立即报名" forState:UIControlStateNormal];
[footerView addSubview:btn];
[btn addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
self.tableView.tableFooterView=footerView;