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/Mine/FeedBackPage.m | 76 +++++++++++++++++++-------------------
1 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/pregnancy_guard/BaseProject/Controller/Mine/FeedBackPage.m b/pregnancy_guard/BaseProject/Controller/Mine/FeedBackPage.m
index e885e9e..56d22dc 100644
--- a/pregnancy_guard/BaseProject/Controller/Mine/FeedBackPage.m
+++ b/pregnancy_guard/BaseProject/Controller/Mine/FeedBackPage.m
@@ -82,44 +82,44 @@
}
else
{
- // ������������������
- MBProgressHUD *HUD = nil;
- HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
- HUD.labelText = @"���������������������...";
- // ���������������������������������
- HUD.removeFromSuperViewOnHide = YES;
- // YES������������������������
- HUD.dimBackground = YES;
-
- NSString *path = [[NSString alloc] initWithFormat:@"%@",[NSString stringWithFormat:[_loginUser[@"opt"] intValue] == 1?USER_FEEDBACK:WAITER_FEEDBACK,_loginUser[@"_id"]]];
-
- NSMutableDictionary *param = [[NSMutableDictionary alloc] init];
- [param setObject:feedbackTextView.text forKey:@"feedback"];
-
- MPWeakSelf(self);
- [NetworkSingleton networkingPostMethod:param urlName:path success:^(id responseBody)
- {
- HUD.hidden = YES;
-
- MPStrongSelf(self);
- BaseResModel * resModel = [Global toBaseModel:responseBody];
- if(resModel.code == 0)
- {
- feedbackTextView.text = @"";
- feedbackTextView.limitLength = [[NSNumber alloc] initWithInt:200]; // ������������
- [Global alertMessageEx:@"������������������������������������������������������!" title:@"������������" okTtitle:nil cancelTitle:@"OK" delegate:self];
- [self.navigationController popViewControllerAnimated:YES];
- }
- else
- {
- [Global alertMessageEx:resModel.desc title:@"������������" okTtitle:nil cancelTitle:@"������" delegate:self];
- }
- }
- failure:^(NSString *error)
- {
- HUD.hidden = YES;
- [Global alertMessageEx:error title:@"������������" okTtitle:nil cancelTitle:@"OK" delegate:self];
- }];
+// // ������������������
+// MBProgressHUD *HUD = nil;
+// HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
+// HUD.labelText = @"���������������������...";
+// // ���������������������������������
+// HUD.removeFromSuperViewOnHide = YES;
+// // YES������������������������
+// HUD.dimBackground = YES;
+//
+// NSString *path = [[NSString alloc] initWithFormat:@"%@",[NSString stringWithFormat:[_loginUser[@"opt"] intValue] == 1?USER_FEEDBACK:WAITER_FEEDBACK,_loginUser[@"_id"]]];
+//
+// NSMutableDictionary *param = [[NSMutableDictionary alloc] init];
+// [param setObject:feedbackTextView.text forKey:@"feedback"];
+//
+// MPWeakSelf(self);
+// [NetworkSingleton networkingPostMethod:param urlName:path success:^(id responseBody)
+// {
+// HUD.hidden = YES;
+//
+// MPStrongSelf(self);
+// BaseResModel * resModel = [Global toBaseModel:responseBody];
+// if(resModel.code == 0)
+// {
+// feedbackTextView.text = @"";
+// feedbackTextView.limitLength = [[NSNumber alloc] initWithInt:200]; // ������������
+// [Global alertMessageEx:@"������������������������������������������������������!" title:@"������������" okTtitle:nil cancelTitle:@"OK" delegate:self];
+// [self.navigationController popViewControllerAnimated:YES];
+// }
+// else
+// {
+// [Global alertMessageEx:resModel.desc title:@"������������" okTtitle:nil cancelTitle:@"������" delegate:self];
+// }
+// }
+// failure:^(NSString *error)
+// {
+// HUD.hidden = YES;
+// [Global alertMessageEx:error title:@"������������" okTtitle:nil cancelTitle:@"OK" delegate:self];
+// }];
}
}
--
Gitblit v1.8.0