time 6 lat temu
rodzic
commit
5e4a991901

+ 0 - 2
UU_Ent/UU_Ent/Modules/Work/Main/Controllers/YRWorkVC.m

@@ -147,8 +147,6 @@
         
     }
     
-    
-    
 }
 
 -(void)viewDidAppear:(BOOL)animated{

+ 3 - 4
UU_Ent/UU_Ent/Supporting Files/defines/macro.h

@@ -23,14 +23,13 @@
 //当前控制器的宽高度
 #define self_width self.view.frame.size.width
 #define self_height self.view.frame.size.height
-
+//屏幕的宽高度
+#define kWidth [UIScreen mainScreen].bounds.size.width
+#define kHeight [UIScreen mainScreen].bounds.size.height
 //颜色
 #define HexColor(h) [UIColor colorWithHexString:(h)]
 #define RGB(r, g, b, A) [UIColor colorWithRed:((r) / 255.0) green:((g) / 255.0) blue:((b) / 255.0) alpha:(A)]
 
-//屏幕的宽高度
-#define kWidth [UIScreen mainScreen].bounds.size.width
-#define kHeight [UIScreen mainScreen].bounds.size.height
 
 //系统版本
 #define iOS11Early [[[UIDevice currentDevice] systemVersion] floatValue] < 11.0