new login style
This commit is contained in:
@@ -477,7 +477,10 @@
|
||||
[self.navigationController pushViewController:resultVC animated:YES];
|
||||
|
||||
}else{
|
||||
|
||||
if (result.code == 401) {
|
||||
//token失效
|
||||
[GiGaBaseAPiRequest userTokenTimeOutGologinFromVC:self];
|
||||
}
|
||||
GIGA_ShowToast(result.message);
|
||||
}
|
||||
|
||||
@@ -531,4 +534,5 @@
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@@ -287,8 +287,10 @@
|
||||
if (self.model == nil) {
|
||||
return 255;
|
||||
}
|
||||
if (KMainW < 375) {
|
||||
return 201;
|
||||
if (KMainW == 375) {
|
||||
return (KMainH - SAFE_NAV_HEIGHT) / 3.00 - 10;
|
||||
}else if (KMainW <= 375){
|
||||
return 201;
|
||||
}
|
||||
CGFloat viewH = self.view.frame.size.height - SAFE_NAV_HEIGHT;
|
||||
CGFloat cellH = viewH / 3;
|
||||
|
||||
@@ -89,12 +89,22 @@
|
||||
[self addSubview:minueImageview];
|
||||
[minueImageview mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
||||
make.left.mas_equalTo(colorView.mas_left).offset(20);
|
||||
if (KMainW < 375) {
|
||||
//se 5s
|
||||
make.size.mas_equalTo(CGSizeMake(48, 49));
|
||||
//make.left.mas_equalTo(colorView.mas_left).offset(20);
|
||||
if (KMainW == 375) {
|
||||
//x
|
||||
make.left.mas_equalTo(colorView.mas_left).offset(30);
|
||||
make.size.mas_equalTo(CGSizeMake(54, 49));
|
||||
|
||||
}else{
|
||||
}
|
||||
else if (KMainW < 375){
|
||||
make.left.mas_equalTo(colorView.mas_left).offset(18);
|
||||
make.size.mas_equalTo(CGSizeMake(48, 49));
|
||||
}else if (KMainW == 414){
|
||||
make.left.mas_equalTo(colorView.mas_left).offset(28);
|
||||
make.size.mas_equalTo(CGSizeMake(54, 49));
|
||||
}
|
||||
else{
|
||||
make.left.mas_equalTo(colorView.mas_left).offset(28);
|
||||
make.size.mas_equalTo(CGSizeMake(72, 49));
|
||||
}
|
||||
make.top.mas_equalTo(jianyiImageView.mas_bottom).offset(20);
|
||||
@@ -104,9 +114,15 @@
|
||||
//时间⌚️
|
||||
UILabel *timeLabel = [[UILabel alloc] init];
|
||||
timeLabel.textColor = [UIColor blackColor];
|
||||
if (KMainW < 375) {
|
||||
if (KMainW == 375) {
|
||||
timeLabel.font = GIGA_TEXTFONTBOLD(26);
|
||||
}else if (KMainW == 414){
|
||||
timeLabel.font = GIGA_TEXTFONTBOLD(30);
|
||||
}
|
||||
else if (KMainW < 375){
|
||||
timeLabel.font = GIGA_TEXTFONTBOLD(24);
|
||||
}else{
|
||||
}
|
||||
else{
|
||||
timeLabel.font = GIGA_TEXTFONTBOLD(35);
|
||||
}
|
||||
timeLabel.text = @"17";
|
||||
|
||||
Reference in New Issue
Block a user