|
|
@@ -85,6 +85,7 @@
|
|
|
}];
|
|
|
|
|
|
UIView *imageBgView = [[UIView alloc] init];
|
|
|
+ imageBgView.userInteractionEnabled = NO;
|
|
|
imageBgView.backgroundColor = [UIColor hwColor:@"#F5F7FA"];
|
|
|
imageBgView.layer.cornerRadius = 8;
|
|
|
imageBgView.layer.masksToBounds = YES;
|
|
|
@@ -155,13 +156,14 @@
|
|
|
{
|
|
|
NSInteger tag = but.tag;
|
|
|
|
|
|
- if(tag == 100){
|
|
|
+ //if(tag == 100)
|
|
|
+ {
|
|
|
[self removeFromSuperview];
|
|
|
}
|
|
|
|
|
|
-// if(_didClickButtonFun){
|
|
|
-// _didClickButtonFun(tag);
|
|
|
-// }
|
|
|
+ if(_didClickButtonFun){
|
|
|
+ _didClickButtonFun(tag);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@end
|