login 适配 se 5s 新增icon 主页修改

This commit is contained in:
lianxiang
2018-09-04 21:54:04 +08:00
parent 3a3e6eeee9
commit 17d4481f2c
66 changed files with 1136 additions and 306 deletions
@@ -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