add files

This commit is contained in:
lianxiang
2018-09-14 18:04:02 +08:00
parent fada68d22d
commit 9bba78987b
59 changed files with 974 additions and 116 deletions
+11 -3
View File
@@ -43,6 +43,10 @@ UD_SYNC
#define kLOCALNotifiID_APPTERMINAL @"GIGALocalNotificationAppTerminal"
//注册成功
#define kUserRegistSucccess @"userRegistSuccess"
//登录成功
#define kUserLoginSuccessNoti @"gigaUserloginSuccess"
//退出登录
#define kUserLogOutNotify @"userLogOutNotify"
//微信登陆授权成功
#define kWeiXinAuthrization_Success @"WXAuthSuccess"
@@ -82,11 +86,15 @@ alpha:((float)(rgbValue & 0xFF))/255.0]
//X
//底部工具栏需要为home indicator留出34pt边距
#define PhoneX_BottomMargin ([UIScreen mainScreen].bounds.size.height == 812.0 ? 34.0 :0.0)
#define PhoneX_BottomMargin ([UIScreen mainScreen].bounds.size.height == 44.0 ? 34.0 :0.0)
//状态栏高度由20pt变成44pt,导航栏以上变化64->88。
#define PhoneX_TopMargin ([UIScreen mainScreen].bounds.size.height == 812.0 ? 24.0 :0.0)
#define PhoneX_TopMargin ([[UIApplication sharedApplication] statusBarFrame].size.height == 44.0 ? 24.0 :0.0)
// 状态栏高度 所有机型
#define Phone_STATUBAR_H [[UIApplication sharedApplication] statusBarFrame].size.height
//状态栏—➕导航栏
#define SAFE_NAV_HEIGHT ([[UIApplication sharedApplication] statusBarFrame].size.height + self.navigationController.navigationBar.frame.size.height)
#define PhoneX_STATUBAR_H ([UIScreen mainScreen].bounds.size.height == 812.0 ? 44.0 :20.0)
#define GIGA_FONTNAME @"PingFangSC-Medium"
#define GIGA_FONTBOLD @"PingFangSC-Semibold"