- (void)respondsToOn:(UIButton*)sender{
sender.selected = !sender.selected;
for (NSInteger i = 0; i < self.btnArray.count; i++) {
UIButton *btn = self.btnArray[i];
if (sender.tag == i) {
btn.selected = sender.selected;
if ([self.delegate respondsToSelector:@selector(visitOnclickBtn:)]) {
[self.delegate visitOnclickBtn:sender.tag];
}
btn.backgroundColor = [LJColor_RGB colorWithHexString:@"15588c"];
[btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
}else{
btn.selected = NO;
btn.backgroundColor = [UIColor whiteColor];
[btn setTitleColor:[LJColor_RGB colorWithHexString:@"15588c"] forState:UIControlStateNormal];
}
}}