/**切控件圆角 设置边框*/
+(void)setcontrolStyleWithheightNum:(int)heightNum AndBorderColor:(id)borderColor AndBorderWidth:(float)borderW AndControler:(UIView*)control
{
control.layer.cornerRadius = heightNum;
control.layer.masksToBounds = YES;
if ([borderColor isKindOfClass:[UIColor class]]) {
control.layer.borderColor = ((UIColor*)borderColor).CGColor;
}else if([borderColor isKindOfClass:[NSString class]]){
control.layer.borderColor = [PublicClass colorFromHexRGB:(NSString*)borderColor].CGColor;
}
control.layer.borderWidth = borderW;
}