提交
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(hide)];
|
||||
tap.delegate = self;
|
||||
[self addGestureRecognizer:tap];
|
||||
self.bgView = [[UIView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT, SCREEN_WIDTH, kSafeAreaBottom+ScaleWidth(429+33))];
|
||||
self.bgView = [[UIView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT, SCREEN_WIDTH, kSafeAreaBottom+ScaleWidth(429-141-50+33))];
|
||||
// self.bgView.backgroundColor = [UIColor whiteColor];
|
||||
[self addSubview:self.bgView];
|
||||
|
||||
@@ -385,7 +385,9 @@
|
||||
make.left.mas_equalTo(16);
|
||||
make.right.mas_equalTo(-16);
|
||||
// make.bottom.mas_equalTo(-(kSafeAreaBottom+10));
|
||||
make.top.equalTo(self.relationTableView.mas_bottom).offset(20);
|
||||
// make.top.equalTo(self.relationTableView.mas_bottom).offset(20);
|
||||
make.top.equalTo(self.giftTitleLabel.mas_bottom).offset(12);
|
||||
|
||||
make.height.mas_equalTo(35);
|
||||
}];
|
||||
|
||||
@@ -410,6 +412,11 @@
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
self.relationMoreBtn.hidden = YES;
|
||||
self.relationshipSeatBtn.hidden = YES;
|
||||
self.relationshipCardBtn.hidden = YES;
|
||||
self.relationTableView.hidden = YES;
|
||||
}
|
||||
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{
|
||||
return touch.view == self;
|
||||
@@ -878,7 +885,7 @@
|
||||
-(void)showInView:(UIView *)view{
|
||||
[view addSubview:self];
|
||||
[UIView animateWithDuration:0.3 animations:^{
|
||||
self.bgView.y = SCREEN_HEIGHT- ScaleWidth(429+33)-kSafeAreaBottom;
|
||||
self.bgView.y = SCREEN_HEIGHT- ScaleWidth(429-141-50+33)-kSafeAreaBottom;
|
||||
}];
|
||||
}
|
||||
-(void)hide{
|
||||
|
||||
Reference in New Issue
Block a user