@@ -348,7 +348,7 @@ - (UIView *)customFooterView{
348
348
#pragma mark BottomView
349
349
- (void )configBottomView {
350
350
if (!_bottomView) {
351
- _bottomView = [[UIView alloc ] initWithFrame: CGRectMake (0 , kScreen_Height - 60 , kScreen_Width , 60 )];
351
+ _bottomView = [[UIView alloc ] initWithFrame: CGRectMake (0 , kScreen_Height - 55 , kScreen_Width , 55 )];
352
352
_bottomView.backgroundColor = [UIColor clearColor ];
353
353
UIButton *registerBtn = ({
354
354
UIButton *button = [[UIButton alloc ] initWithFrame: CGRectMake (0 , 0 , 100 , 30 )];
@@ -359,8 +359,9 @@ - (void)configBottomView{
359
359
[button setTitle: @" 去注册" forState: UIControlStateNormal];
360
360
[_bottomView addSubview: button];
361
361
[button mas_makeConstraints: ^(MASConstraintMaker *make) {
362
- make.size .mas_equalTo (CGSizeMake (100 , 300 ));
363
- make.center .equalTo (_bottomView);
362
+ make.size .mas_equalTo (CGSizeMake (100 , 30 ));
363
+ make.centerX .equalTo (_bottomView);
364
+ make.top .equalTo (_bottomView);
364
365
}];
365
366
button;
366
367
});
0 commit comments