From 25f409185a53e5e7beb17518a684298d92d31b3f Mon Sep 17 00:00:00 2001
From: 单军华 <WindShan@danjunhuas-MacBook-Pro.local>
Date: Fri, 04 May 2018 13:34:53 +0800
Subject: [PATCH] iPhone x 屏幕适配修改

---
 pregnancy_guard/BaseProject/Controller/Home/RadiaDetectionPage.m |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/pregnancy_guard/BaseProject/Controller/Home/RadiaDetectionPage.m b/pregnancy_guard/BaseProject/Controller/Home/RadiaDetectionPage.m
index ee93f57..f528e9b 100644
--- a/pregnancy_guard/BaseProject/Controller/Home/RadiaDetectionPage.m
+++ b/pregnancy_guard/BaseProject/Controller/Home/RadiaDetectionPage.m
@@ -1124,6 +1124,15 @@
         scale = 0.8;
         pointerOffset = 5;
     }
+//    else if(IsiPhoneX)
+//    {
+//        unitFontSize = 12;
+//        jiliangFontSize = 12;
+//        numFontSize = 14;
+//        tipsFontSize = 13;
+//        scale = 0.8;
+//        pointerOffset = 5;
+//    }
     
     UIImageView * ic_head_bg = [[UIImageView alloc] initWithFrame:CGRectMake(10, 0, SCREEN_WIDTH-20, 66*scale)];
     ic_head_bg.image = [UIImage imageNamed:@"ic_head_bg"];
@@ -1207,7 +1216,7 @@
     _currentShuziTipsLabel.text = @"���������������";
     [ic_zhishu_bk addSubview:_currentShuziTipsLabel];
     
-    UIImageView * ic_bottom_bg = [[UIImageView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-64-88*scale-44, SCREEN_WIDTH, 88*scale)];
+    UIImageView * ic_bottom_bg = [[UIImageView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-NavBar_Height-88*scale-TabbarHeight, SCREEN_WIDTH, 88*scale)];
     ic_bottom_bg.image = [UIImage imageNamed:@"ic_radia_bottom_bg"];
     [self.view addSubview:ic_bottom_bg];
     

--
Gitblit v1.8.0