//设置按钮字体颜色
[self.determineBtn setTitleColor:[UIColor colorWithHexString:@"0xff9500"] forState:UIControlStateNormal];
[self.clearBtn setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
//设置button的边框的颜色和粗细
self.determineBtn.layer.borderWidth = 0.5;
self.determineBtn.layer.borderColor = [UIColor colorWithHexString:@"0xff9500"].CGColor;
self.clearBtn.layer.borderWidth = 0.5;
self.clearBtn.layer.borderColor = [UIColor colorWithRed:0.8 green:0.8 blue:0.8 alpha:1].CGColor;
//设置圆角
self.clearBtn.layer.masksToBounds = YES;
self.clearBtn.layer.cornerRadius = 5;
self.determineBtn.layer.masksToBounds = YES;
self.determineBtn.layer.cornerRadius = 5;
//设置线的高度的约束值
self.oneConstraint.constant = 0.45;
self.twoConstraint.constant = 0.45;
self.threeConstraint.constant = 0.45;
self.fourConstraint.constant = 0.45;
self.fiveConstraint.constant = 0.45;