login 适配 se 5s 新增icon 主页修改
This commit is contained in:
@@ -38,12 +38,13 @@
|
||||
waringLabel.text = @"亲爱滴,请您务必要开启手机声音哦";
|
||||
waringLabel.textColor = [UIColor whiteColor];
|
||||
waringLabel.textAlignment = NSTextAlignmentCenter;
|
||||
waringLabel.font = [UIFont systemFontOfSize:16];
|
||||
[waringLabel sizeToFit];
|
||||
waringLabel.font = [UIFont systemFontOfSize:12];
|
||||
|
||||
[self addSubview:waringLabel];
|
||||
[waringLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
||||
make.left.mas_equalTo(iconImg.mas_right).offset(10);
|
||||
make.left.mas_equalTo(self.mas_left).offset(40);
|
||||
make.right.mas_equalTo(self.mas_right).offset(-40);
|
||||
make.centerY.mas_equalTo(self.mas_centerY);
|
||||
}];
|
||||
|
||||
@@ -61,5 +62,20 @@
|
||||
}];
|
||||
}
|
||||
|
||||
-(void)showView{
|
||||
|
||||
[self.dismissBtn initWithBlock:^(UIButton *btn) {
|
||||
|
||||
[UIView animateWithDuration:0.4 animations:^{
|
||||
|
||||
self.frame = CGRectMake(0, KMainH, KMainW, 60);
|
||||
|
||||
} completion:^(BOOL finished) {
|
||||
[self removeFromSuperview];
|
||||
}];
|
||||
|
||||
} for:UIControlEventTouchUpInside ];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user