Commit 14ba157f authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

no message

parent 84f7a8e1
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "矢量智能对象@2x(1).png", "filename" : "icon-test@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "矢量智能对象@3x(1).png", "filename" : "icon-test@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }
......
...@@ -5,18 +5,18 @@ ...@@ -5,18 +5,18 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "icon-test@2x.png",
"idiom" : "universal", "idiom" : "universal",
"filename" : "map_card_profile@2x.png",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "icon-test@3x.png",
"idiom" : "universal", "idiom" : "universal",
"filename" : "map_card_profile@3x.png",
"scale" : "3x" "scale" : "3x"
} }
], ],
"info" : { "info" : {
"version" : 1, "author" : "xcode",
"author" : "xcode" "version" : 1
} }
} }
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "矩形 2@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "矩形 2@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "组 2@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
......
...@@ -154,13 +154,13 @@ ...@@ -154,13 +154,13 @@
removeBtn = customViewArr[3]; removeBtn = customViewArr[3];
removeBtn.frame = CGRectMake(0, 0, KScaleWidth(70), KScaleWidth(35)); removeBtn.frame = CGRectMake(0, 0, KScaleWidth(70), KScaleWidth(35));
[removeBtn setTitle:kLocalizedString(@"alert_unfriend") forState:0]; [removeBtn setTitle:kLocalizedString(@"alert_unfriend") forState:0];
[removeBtn setTitleColor:[UIColor colorWithHex:0x528BFF] forState:0]; [removeBtn setTitleColor:kMassColor forState:0];
[removeBtn.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]]; [removeBtn.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]];
[removeBtn setBackgroundColor:[UIColor colorWithHex:0xffffff]]; [removeBtn setBackgroundColor:[UIColor colorWithHex:0xffffff]];
removeBtn.layer.cornerRadius = removeBtn.frame.size.height/2; removeBtn.layer.cornerRadius = removeBtn.frame.size.height/2;
removeBtn.layer.masksToBounds = YES; removeBtn.layer.masksToBounds = YES;
removeBtn.layer.borderWidth = 1; removeBtn.layer.borderWidth = 1;
removeBtn.layer.borderColor = [UIColor colorWithHex:0x528BFF].CGColor; removeBtn.layer.borderColor = kMassColor.CGColor;
[removeBtn addTarget:self action:@selector(removeBtnClick) forControlEvents:UIControlEventTouchUpInside]; [removeBtn addTarget:self action:@selector(removeBtnClick) forControlEvents:UIControlEventTouchUpInside];
[removeBtn mas_updateConstraints:^(MASConstraintMaker *make) { [removeBtn mas_updateConstraints:^(MASConstraintMaker *make) {
make.width.mas_equalTo(KScaleWidth(70)); make.width.mas_equalTo(KScaleWidth(70));
......
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
//guanXiButton //guanXiButton
_guanXiButton = [UIButton buttonWithType:UIButtonTypeCustom]; _guanXiButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_guanXiButton setTitle:kLocalizedString(@"alert_unfriend") forState:0]; [_guanXiButton setTitle:kLocalizedString(@"alert_unfriend") forState:0];
[_guanXiButton setTitleColor:[UIColor colorWithHex:0x528BFF] forState:0]; [_guanXiButton setTitleColor:kMassColor forState:0];
[_guanXiButton.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]]; [_guanXiButton.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]];
[_guanXiButton setBackgroundColor:[UIColor colorWithHex:0xffffff]]; [_guanXiButton setBackgroundColor:[UIColor colorWithHex:0xffffff]];
[_beiJingView addSubview:_guanXiButton]; [_beiJingView addSubview:_guanXiButton];
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
_guanXiButton.layer.cornerRadius = KScaleWidth(17); _guanXiButton.layer.cornerRadius = KScaleWidth(17);
_guanXiButton.layer.masksToBounds = YES; _guanXiButton.layer.masksToBounds = YES;
_guanXiButton.layer.borderWidth = 0.5; _guanXiButton.layer.borderWidth = 0.5;
_guanXiButton.layer.borderColor = [UIColor colorWithHex:0x528BFF].CGColor; _guanXiButton.layer.borderColor = kMassColor.CGColor;
[_guanXiButton addTarget:self action:@selector(guanXiButtonClick) forControlEvents:UIControlEventTouchUpInside]; [_guanXiButton addTarget:self action:@selector(guanXiButtonClick) forControlEvents:UIControlEventTouchUpInside];
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
[_queRenButton setTitle:kLocalizedString(@"alert_confirm") forState:0]; [_queRenButton setTitle:kLocalizedString(@"alert_confirm") forState:0];
[_queRenButton setTitleColor:[UIColor colorWithHex:0xFFFFFF] forState:0]; [_queRenButton setTitleColor:[UIColor colorWithHex:0xFFFFFF] forState:0];
[_queRenButton.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]]; [_queRenButton.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]];
[_queRenButton setBackgroundColor:[UIColor colorWithHex:0x528BFF]]; [_queRenButton setBackgroundColor:kMassColor];
[_beiJingView addSubview:_queRenButton]; [_beiJingView addSubview:_queRenButton];
[_queRenButton mas_makeConstraints:^(MASConstraintMaker *make) { [_queRenButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(_beiJingView).mas_offset(0); make.bottom.equalTo(_beiJingView).mas_offset(0);
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
//tongYiButton //tongYiButton
self.tongYiButton = [UIButton buttonWithType:UIButtonTypeCustom]; self.tongYiButton = [UIButton buttonWithType:UIButtonTypeCustom];
[self.tongYiButton setTitle:kLocalizedString(@"message_confirm") forState:0]; [self.tongYiButton setTitle:kLocalizedString(@"message_confirm") forState:0];
[self.tongYiButton setTitleColor:[UIColor colorWithHex:0x528BFF] forState:0]; [self.tongYiButton setTitleColor:kMassColor forState:0];
[self.tongYiButton.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]]; [self.tongYiButton.titleLabel setFont:[UIFont systemFontOfSize:KFont(14)]];
[self.tongYiButton setBackgroundColor:[UIColor colorWithHex:0xffffff]]; [self.tongYiButton setBackgroundColor:[UIColor colorWithHex:0xffffff]];
[self.contentView addSubview:self.tongYiButton]; [self.contentView addSubview:self.tongYiButton];
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
self.tongYiButton.layer.cornerRadius = KScaleWidth(13.5); self.tongYiButton.layer.cornerRadius = KScaleWidth(13.5);
self.tongYiButton.layer.masksToBounds = YES; self.tongYiButton.layer.masksToBounds = YES;
self.tongYiButton.layer.borderWidth = 0.5; self.tongYiButton.layer.borderWidth = 0.5;
self.tongYiButton.layer.borderColor = [UIColor colorWithHex:0x528BFF].CGColor; self.tongYiButton.layer.borderColor = kMassColor.CGColor;
[self.tongYiButton addTarget:self action:@selector(tongYiButtonClick) forControlEvents:UIControlEventTouchUpInside]; [self.tongYiButton addTarget:self action:@selector(tongYiButtonClick) forControlEvents:UIControlEventTouchUpInside];
} }
...@@ -150,9 +150,9 @@ ...@@ -150,9 +150,9 @@
break; break;
case 3: case 3:
[self.tongYiButton setTitle:kLocalizedString(@"message_confirm") forState:0]; [self.tongYiButton setTitle:kLocalizedString(@"message_confirm") forState:0];
[self.tongYiButton setTitleColor:[UIColor colorWithHex:0x528BFF] forState:0]; [self.tongYiButton setTitleColor:kMassColor forState:0];
self.tongYiButton.enabled = YES; self.tongYiButton.enabled = YES;
self.tongYiButton.layer.borderColor = [UIColor colorWithHex:0x528BFF].CGColor; self.tongYiButton.layer.borderColor = kMassColor.CGColor;
break; break;
default: default:
break; break;
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
_juJueButton= [[UIButton alloc] init]; _juJueButton= [[UIButton alloc] init];
[_beiJingView addSubview:_juJueButton]; [_beiJingView addSubview:_juJueButton];
[_juJueButton setTitle:kLocalizedString(@"alert_decline") forState:UIControlStateNormal]; [_juJueButton setTitle:kLocalizedString(@"alert_decline") forState:UIControlStateNormal];
[_juJueButton setTitleColor:[UIColor colorWithHex:0x528BFF] forState:UIControlStateNormal]; [_juJueButton setTitleColor:kMassColor forState:UIControlStateNormal];
[_juJueButton mas_makeConstraints:^(MASConstraintMaker *make) { [_juJueButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(_jieSouButton.mas_bottom).mas_offset(KScaleWidth(17)); make.top.equalTo(_jieSouButton.mas_bottom).mas_offset(KScaleWidth(17));
make.centerX.equalTo(_beiJingView); make.centerX.equalTo(_beiJingView);
......
...@@ -112,9 +112,9 @@ ...@@ -112,9 +112,9 @@
slider.round = true; slider.round = true;
slider.trackImageView.backgroundColor = [UIColor colorWithHex:0xEEEEEE]; slider.trackImageView.backgroundColor = [UIColor colorWithHex:0xEEEEEE];
slider.traceImageView.backgroundColor = [UIColor colorWithHex:0x528BFF]; slider.traceImageView.backgroundColor = kMassColor;
slider.thumbImageView.image = [UIImage imageNamed:@"location_find_seleted_icon"]; slider.thumbImageView.image = [UIImage imageNamed:@"location_find_seleted_icon"];
slider.thumbImageView.backgroundColor = [UIColor colorWithHex:0x528BFF]; slider.thumbImageView.backgroundColor = kMassColor;
slider.thumbImageView.layer.cornerRadius = 10; slider.thumbImageView.layer.cornerRadius = 10;
slider; slider;
}); });
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
sendBtn = [[UIButton alloc] init]; sendBtn = [[UIButton alloc] init];
[sendBtn setTitle:kLocalizedString(@"login_send_code") forState:UIControlStateNormal]; [sendBtn setTitle:kLocalizedString(@"login_send_code") forState:UIControlStateNormal];
[sendBtn setTitleColor:kColorWithRGB(85, 142, 252) forState:UIControlStateNormal]; [sendBtn setTitleColor:kMassColor forState:UIControlStateNormal];
sendBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(18)]; sendBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(18)];
[sendBtn addTarget:self action:@selector(sendSmsCode:) forControlEvents:(UIControlEventTouchUpInside)]; [sendBtn addTarget:self action:@selector(sendSmsCode:) forControlEvents:(UIControlEventTouchUpInside)];
[self.view addSubview:sendBtn]; [self.view addSubview:sendBtn];
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
lab.font = [UIFont systemFontOfSize:KFont(28)]; lab.font = [UIFont systemFontOfSize:KFont(28)];
lab.textAlignment = NSTextAlignmentCenter; lab.textAlignment = NSTextAlignmentCenter;
lab.tag = 0x64+x; lab.tag = 0x64+x;
lab.backgroundColor = kColorWithRGBA(86, 152, 252, .2f); lab.backgroundColor = kMassColorAlpha(.2f);
lab.layer.cornerRadius = KScaleWidth(8); lab.layer.cornerRadius = KScaleWidth(8);
lab.layer.masksToBounds = YES; lab.layer.masksToBounds = YES;
[codeView addSubview:lab]; [codeView addSubview:lab];
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
[loginBtn setTitle:kLocalizedString(@"login") forState:UIControlStateSelected]; [loginBtn setTitle:kLocalizedString(@"login") forState:UIControlStateSelected];
// loginBtn.backgroundColor = kMassColor; // loginBtn.backgroundColor = kMassColor;
loginBtn.userInteractionEnabled = NO; loginBtn.userInteractionEnabled = NO;
loginBtn.backgroundColor = kColorWithRGBA(86, 142, 252, 0.5f); loginBtn.backgroundColor = kMassColorAlpha(.5f);
loginBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(18)]; loginBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(18)];
loginBtn.layer.cornerRadius = KScaleWidth(50)/2; loginBtn.layer.cornerRadius = KScaleWidth(50)/2;
[loginBtn addTarget:self action:@selector(login) forControlEvents:(UIControlEventTouchUpInside)]; [loginBtn addTarget:self action:@selector(login) forControlEvents:(UIControlEventTouchUpInside)];
...@@ -381,8 +381,8 @@ ...@@ -381,8 +381,8 @@
}else{ }else{
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
[sender setTitle:kLocalizedString(@"login_send_code_again") forState:UIControlStateNormal]; [sender setTitle:kLocalizedString(@"login_send_code_again") forState:UIControlStateNormal];
[sender setTitleColor:kColorWithRGB(85, 142, 252) forState:UIControlStateNormal]; [sender setTitleColor:kMassColor forState:UIControlStateNormal];
sender.titleLabel.textColor = kColorWithRGB(85, 142, 252); sender.titleLabel.textColor = kMassColor;
sender.layer.borderColor = sender.titleLabel.textColor.CGColor; sender.layer.borderColor = sender.titleLabel.textColor.CGColor;
sender.enabled = YES; sender.enabled = YES;
}); });
......
...@@ -136,10 +136,10 @@ ...@@ -136,10 +136,10 @@
UIButton * addBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, KScaleWidth(125), KScaleWidth(42))]; UIButton * addBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, KScaleWidth(125), KScaleWidth(42))];
[addBtn setTitle:kLocalizedString(@"emergency_add") forState:UIControlStateNormal]; [addBtn setTitle:kLocalizedString(@"emergency_add") forState:UIControlStateNormal];
[addBtn setTitleColor:kColorWithRGB(85, 142, 252) forState:UIControlStateNormal]; [addBtn setTitleColor:kMassColor forState:UIControlStateNormal];
addBtn.layer.cornerRadius = addBtn.frame.size.height/2; addBtn.layer.cornerRadius = addBtn.frame.size.height/2;
addBtn.layer.borderWidth = 1.f; addBtn.layer.borderWidth = 1.f;
addBtn.layer.borderColor = kColorWithRGB(85, 142, 252).CGColor; addBtn.layer.borderColor = kMassColor.CGColor;
addBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(17)]; addBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(17)];
[addBtn addTarget:self action:@selector(addBtnClick:) forControlEvents:UIControlEventTouchUpInside]; [addBtn addTarget:self action:@selector(addBtnClick:) forControlEvents:UIControlEventTouchUpInside];
[_emptyHintView addSubview:addBtn]; [_emptyHintView addSubview:addBtn];
......
...@@ -129,10 +129,10 @@ ...@@ -129,10 +129,10 @@
UIButton * addBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, KScaleWidth(125), KScaleWidth(42))]; UIButton * addBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, KScaleWidth(125), KScaleWidth(42))];
[addBtn setTitle:kLocalizedString(@"alert_back") forState:UIControlStateNormal]; [addBtn setTitle:kLocalizedString(@"alert_back") forState:UIControlStateNormal];
[addBtn setTitleColor:kColorWithRGB(85, 142, 252) forState:UIControlStateNormal]; [addBtn setTitleColor:kMassColor forState:UIControlStateNormal];
addBtn.layer.cornerRadius = addBtn.frame.size.height/2; addBtn.layer.cornerRadius = addBtn.frame.size.height/2;
addBtn.layer.borderWidth = 1.f; addBtn.layer.borderWidth = 1.f;
addBtn.layer.borderColor = kColorWithRGB(85, 142, 252).CGColor; addBtn.layer.borderColor = kMassColor.CGColor;
addBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(17)]; addBtn.titleLabel.font = [UIFont systemFontOfSize:KFont(17)];
[addBtn addTarget:self action:@selector(pop) forControlEvents:UIControlEventTouchUpInside]; [addBtn addTarget:self action:@selector(pop) forControlEvents:UIControlEventTouchUpInside];
[_emptyHintView addSubview:addBtn]; [_emptyHintView addSubview:addBtn];
......
...@@ -78,7 +78,9 @@ isPhoneX = [[UIApplication sharedApplication] delegate].window.safeAreaInsets.bo ...@@ -78,7 +78,9 @@ isPhoneX = [[UIApplication sharedApplication] delegate].window.safeAreaInsets.bo
#define kColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0] #define kColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
#define kColorWithRGBA(r, g, b, a) [UIColor colorWithRed:(r) / 255.f green:(g) / 255.f blue:(b) / 255.f alpha:(a)] #define kColorWithRGBA(r, g, b, a) [UIColor colorWithRed:(r) / 255.f green:(g) / 255.f blue:(b) / 255.f alpha:(a)]
#define kColorWithRGB(r, g, b) kColorWithRGBA(r, g, b, 1.f) #define kColorWithRGB(r, g, b) kColorWithRGBA(r, g, b, 1.f)
#define kMassColor kColorFromRGB(0x05aa60) #define kMassColor kColorFromRGB(0x05aa60)
#define kMassColorAlpha(a) [UIColor colorWithRed:5 / 255.f green:170 / 255.f blue:96 / 255.f alpha:(a)]
#define kLocalizedString(key) NSLocalizedString(key, @"") #define kLocalizedString(key) NSLocalizedString(key, @"")
......
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
//#if DEBUG //#if DEBUG
// //
//#define ServerReport @"http://report.linking100.com" #define ServerReport @"http://report.linking100.com"
//#define ServerHost @"https://feedapitest.zhangxinhulian.com" #define ServerHost @"https://feedapitest.zhangxinhulian.com"
//#define ServerHostFeed @"https://feedapitest.zhangxinhulian.com" #define ServerHostFeed @"https://feedapitest.zhangxinhulian.com"
// //
//#else //#else
#define ServerReport @"http://report.linking100.com" //#define ServerReport @"http://report.linking100.com"
#define ServerHost @"https://feedapi.linking100.com" //#define ServerHost @"https://feedapi.linking100.com"
#define ServerHostFeed @"https://feedapi.linking100.com" //#define ServerHostFeed @"https://feedapi.linking100.com"
//#endif //#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment