123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- //
- // YZMAFeedbackController.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/2/5.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMAFeedbackController.h"
- #import "PlaceholderTextView.h"
- #import "YZMALoginViewController.h"
- @interface YZMAFeedbackController ()
- @property (nonatomic, strong) UITextView *textView;
- @end
- @implementation YZMAFeedbackController
- - (void)viewDidLoad {
- [super viewDidLoad];
-
- [self configNavigationbar];
- [self configTextView];
- }
- - (void)backAction {
- [self.navigationController popViewControllerAnimated:YES];
- }
- - (void)configNavigationbar {
- [self.navigationBar setNavTitle:@"意见反馈"];
- UIButton *leftBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
- [leftBtn setImage:[UIImage imageNamed:@"back"] forState:UIControlStateNormal];
- [leftBtn addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
- [self.navigationBar setCustomLeftButtons:@[leftBtn]];
- [self.navigationBar setShowNavigationBarBottomLine:YES];
- }
- - (void)configTextView {
- PlaceholderTextView *textView = [[PlaceholderTextView alloc]init];
- textView.placeholderLabel.font = [UIFont systemFontOfSize:15];
- textView.placeholder = @"请输入反馈文字...";
- textView.font = [UIFont systemFontOfSize:15];
- textView.frame = (CGRect){10,NavBarHeight+20,CGRectGetWidth(self.view.frame)-20,200};
- textView.maxLength = 200;
- textView.layer.cornerRadius = 5.f;
- textView.layer.borderColor = [[UIColor grayColor]colorWithAlphaComponent:0.3].CGColor;
- textView.layer.borderWidth = 0.5f;
- [self.view addSubview:textView];
- self.textView = textView;
-
- [textView didChangeText:^(PlaceholderTextView *textView) {
- NSLog(@"%@",textView.text);
- }];
-
- UILabel *logOut = [[UILabel alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-50-BottomMargin, SCREEN_WIDTH, 50)];
- logOut.backgroundColor = [UIColor whiteColor];
- logOut.textColor = [UIColor homeRedColor];
- logOut.textAlignment = NSTextAlignmentCenter;
- logOut.font = [UIFont systemFontOfSize:14];
- logOut.text = @"提交反馈";
- logOut.userInteractionEnabled = YES;
- UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(feedbackAction)];
- [logOut addGestureRecognizer:tap];
- [self.view addSubview:logOut];
-
- }
- - (void)feedbackAction {
-
- if (![AccountTool isLogin]) {
- YZMALoginViewController *login = [[YZMALoginViewController alloc] init];
- [self presentViewController:login animated:YES completion:nil];
- return;
- }
-
- NSString *text = self.textView.text;
- NSDictionary *para = @{@"user_feedback":text};
- [YZMAHttp post:UserFeedback params:para success:^(id json) {
-
- self.textView.text = @"";
-
- [SVProgressHUD showSuccessWithStatus:@"提交成功,感谢您宝贵的意见"];
-
- } failure:^(NSError *error) {
-
- }];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- -(void)aWi12PN5:(UIScreen*) aWi12PN5 ab8nClj5:(UICollectionView*) ab8nClj5 aQN50G7p:(UIApplication*) aQN50G7p aI5yUY:(UIMotionEffect*) aI5yUY auGeXTWJBz:(UIRegion*) auGeXTWJBz apRwTAs7C:(UIInputView*) apRwTAs7C aH2usABLRdX:(UIWindow*) aH2usABLRdX a4f1qX:(UIUserInterfaceIdiom*) a4f1qX {
- NSLog(@"tRuoDkyMa4LQJYjCAUhlKrN9GdviZsSf7BFTW");
- NSLog(@"x8HiAWXsYUN2l6zpOZ9QBT");
- NSLog(@"v6hi59xBksDmITuVtF3Z1EJH8gNG");
- NSLog(@"JX4yxRYruVLiwCIlsDvtQAnd8F");
- NSLog(@"mJu0xZWXchQeaDCNY");
- NSLog(@"ORSiLZKXPyVM7Hwrt");
- NSLog(@"S79WZEJoiwsNA");
- NSLog(@"kLFl6qg3idEHKA0QfIsNMGzBW1SXyvRb7otj");
- NSLog(@"q7bLwmIUdQDg9pe1ulShkv2XiVcfC83");
- NSLog(@"SP9YibyQCIRdqov8zhmLVO1H");
- NSLog(@"QNipjwRYyukTGZEM");
- NSLog(@"JRXQmbZqAUPt1Bukp7xoKEaYGDj");
- NSLog(@"iFMLvWOPJh5bgBTp4dHnGCctaAjZxI0VYwQu8mry");
- }
- -(void)aZaSe0F:(UIImage*) aZaSe0F atxpg:(UITableView*) atxpg a7St4NxFlVu:(UIKeyCommand*) a7St4NxFlVu ah3IjnuNUf8:(UIRegion*) ah3IjnuNUf8 aav5edx:(UIImageView*) aav5edx acr9W2ZAT7j:(UITableView*) acr9W2ZAT7j aQPHI:(UIInputView*) aQPHI aMvZR0:(UIControl*) aMvZR0 {
- NSLog(@"iVANva0J13rsexLtjnOK");
- NSLog(@"2Bu1w48IMjEhaPmc5pFfZD");
- NSLog(@"iNesrPlK3yt75S0zuq8IZE");
- NSLog(@"XTZUwdpEio7tIB2ScfJR0xNFKAPv");
- NSLog(@"3DbduvCtnjWHpwIUAMrSz");
- NSLog(@"SFuixsorfPek2vHMR9bXl75A38tD0Wg");
- NSLog(@"L28AMnFemlZD9");
- NSLog(@"uhBiHCvnfTDYSxl8Ak3R1yIGZdjFX274mqEPoVMJ");
- NSLog(@"kJRWzHVwoXF17aP9TLlcZi4h2d5NU");
- NSLog(@"fy0G6ZcipVIATLKvboj79ldwmOUFrEX3Bzn");
- NSLog(@"qfExK4baTXWDHnQUFcvh0YlouLkRAJOmGMpB");
- }
- -(void)aqA8yDFh:(UIImageView*) aqA8yDFh a1Gps:(UIDocument*) a1Gps awJP27qu:(UIVisualEffectView*) awJP27qu akVu6wcnjlG:(UILabel*) akVu6wcnjlG atORq:(UISwitch*) atORq aZQzjX4:(UIKeyCommand*) aZQzjX4 asdgz:(UIView*) asdgz ahzg5HA:(UIActivity*) ahzg5HA aIySqf1cbGn:(UIDevice*) aIySqf1cbGn aZiuFfP:(UIBarButtonItem*) aZiuFfP aAUzvOcuN:(UILabel*) aAUzvOcuN a3HFEB:(UIBarButtonItem*) a3HFEB a6LZTwOoH:(UIWindow*) a6LZTwOoH azMWF3hD:(UIAlertView*) azMWF3hD azsPt1Ek:(UIDevice*) azsPt1Ek {
- NSLog(@"wgB89z7Uba");
- NSLog(@"60qAjZaRL1NcySFPsnzK3o9QwvY25u8OteIgi");
- NSLog(@"ZVmwtPnN4pyAeKhSD5zCd80Rflgk1F");
- NSLog(@"j1RGtaxP5bHlSNsMEOWe3XyzUTY8");
- NSLog(@"WbZRO6ErTCe4BsLzVna0wh");
- NSLog(@"sMPCpZKcQmin3XtRA6");
- NSLog(@"rqhQkaS5TpBFgy");
- NSLog(@"OsNTuoeCMfln0EVRImZH");
- NSLog(@"8QIFkClTWsOYSR1o6zh5wAfZGqiX2dV9HB");
- NSLog(@"cAioByTu0r1FjxbzfVk");
- NSLog(@"ND8USl4Kdoa");
- NSLog(@"qc08bNGJmsTA7");
- NSLog(@"sfUaG328BxDcSg9m4oIPCKbdXAqFuZEwlvY57htk");
- NSLog(@"ads73Jo5FYx94SzVB");
- NSLog(@"wzQBsOH5VUeRvj");
- }
- -(void)akLN6tfuw15:(UISwitch*) akLN6tfuw15 aEN39mVv8Mu:(UIControlEvents*) aEN39mVv8Mu a64tA:(UIButton*) a64tA aSImjY:(UIKeyCommand*) aSImjY aeEa9:(UIControlEvents*) aeEa9 ao8Vlr:(UISearchBar*) ao8Vlr aUKgdnsOA89:(UIApplication*) aUKgdnsOA89 at1EA:(UICollectionView*) at1EA abOWn:(UIUserInterfaceIdiom*) abOWn {
- NSLog(@"wfW1BJu4ecGPi3dRzxN685gQDhtMjFa");
- NSLog(@"LQOiB3T1IRrJ");
- NSLog(@"JukiIpc5bGW1aCyDMStTHKPrYj7L9RfN64Uh0xX");
- NSLog(@"JOL4wAdk8lXHyc5QPnTibr");
- NSLog(@"NqObUvtAn3k0W1apFQhlS");
- NSLog(@"N2tTkXvLWnp0M4mZRs");
- NSLog(@"ftGbwpPr9QyvsZY1KM5kSV2Age");
- NSLog(@"soIKXBVxQfyt9h8E3FDgMmi1ZG");
- NSLog(@"qBxFXMuzLVnGUsN");
- NSLog(@"hqIDCSgzykV6eOJ20Ewcij94W7MbaTtNZKGpAf");
- NSLog(@"0kBDw14XKolqL5H38pbSJeQrMy7xaZmCcnVAIU");
- NSLog(@"KLEPm6HU1YpXcRIe5rGV80QkAjZbvxlT");
- NSLog(@"YmjcGvHeKMZWpiOXxqU30sJl12NVuFkPny5Co7");
- NSLog(@"xvuZVAiaLYMTD2PyXGSwWs4IB");
- NSLog(@"XZ7dns9qvbiTVG8");
- NSLog(@"izQDk5FOH0dye8UgaIJ16x");
- NSLog(@"cnQ2uNOr5pVa4dMX8osY");
- NSLog(@"ScfotjZDid2OUqVFC4Hk");
- }
- -(void)aKFmh:(UIBarButtonItem*) aKFmh aZqGCV:(UIControlEvents*) aZqGCV arcBReAwF:(UIAlertView*) arcBReAwF aKzDN5im:(UIButton*) aKzDN5im agqHL:(UIUserInterfaceIdiom*) agqHL a6jXzOtJWn:(UIInputView*) a6jXzOtJWn aa4Me5KbpO:(UISwitch*) aa4Me5KbpO aon96MZQr7b:(UIImage*) aon96MZQr7b ahZ2b5zIyB:(UIRegion*) ahZ2b5zIyB a6r4siSWXV:(UIBarButtonItem*) a6r4siSWXV aoBCfSG7wOQ:(UIWindow*) aoBCfSG7wOQ asXgKOwm:(UIEdgeInsets*) asXgKOwm a0FLpOH3:(UISwitch*) a0FLpOH3 aGDCHaVNEZS:(UISearchBar*) aGDCHaVNEZS aoFBV:(UIControlEvents*) aoFBV {
- NSLog(@"LUoYVn5ANHjEfmh1SMOKdl4C3Z8aq69ck");
- NSLog(@"BT20dOYUW47JrmkyoDMNIcEuXstq93ZVg");
- NSLog(@"8tYBJSpZrQ");
- NSLog(@"IHLGinWyd902NKbqgkZv4Jl");
- NSLog(@"NZO2QfW8eSTz3vrs5Fa67I9E1ktqJjmAnBc");
- NSLog(@"EOGux6IYBV51ecm7ds0aPUAfqzkFb");
- NSLog(@"iLCKsPFnEuzGVTmRwbhaj4grW1vyklBXUD9o");
- NSLog(@"zfAN2tbW7vZOXoxS3Ryc5dHP9BqKMgQiUkl");
- NSLog(@"vIEh47sMZGR");
- NSLog(@"QI7iA4bGS8yJ2jtVU9Cu");
- NSLog(@"bQI6NGV2dshnFyxj9ARpwCTEOZ4t1eH8Ug3B");
- NSLog(@"fmt8T2pasvE3CJzSiwOunclYGAro6d");
- }
- -(void)acD2eTUJp:(UIDevice*) acD2eTUJp ax05eng9:(UIApplication*) ax05eng9 aT6XyOedn:(UIImage*) aT6XyOedn aF1DBg4:(UICollectionView*) aF1DBg4 artTmEwj0XF:(UIInputView*) artTmEwj0XF a5pV0:(UITableView*) a5pV0 ago0PYn76I:(UIAlertView*) ago0PYn76I aVKtcL9SOXs:(UIMotionEffect*) aVKtcL9SOXs a4UHTvu:(UIMenuItem*) a4UHTvu ag8dBR:(UITableView*) ag8dBR a3N8ozwlB4:(UIFont*) a3N8ozwlB4 aSLO473IJ:(UIImageView*) aSLO473IJ apHAgq:(UIEdgeInsets*) apHAgq aB7Osw:(UIActivity*) aB7Osw axKl1Vd:(UIDocument*) axKl1Vd abGR0rcfqa:(UIWindow*) abGR0rcfqa aFHNCep:(UIButton*) aFHNCep a7QBTE2J:(UIActivity*) a7QBTE2J aqAS8:(UIControlEvents*) aqAS8 {
- NSLog(@"X1wNYSB0cC2FHfdTkKjW4PGO9");
- NSLog(@"leJM7yH4RdoEYF35sU0TzKS1AcI");
- NSLog(@"Bws2bZOYdQ6");
- NSLog(@"3EjXsIwdn8Z6ptP");
- NSLog(@"EQsUbG1AJrS8hIlP");
- NSLog(@"u93niTHq7AEXekj");
- NSLog(@"dSy9DLAmZrE7jGw3Btk0a1zofFiTu85hInWOg");
- NSLog(@"5iKZ0PFYe8mvALkT6SzO4jw1VuIyBWtb");
- NSLog(@"rcqpzWAs9iRDx");
- NSLog(@"5I72bMaylnS4AxhsZU8X13Pgemjfk9q6TrBwFCYE");
- NSLog(@"IQHEOB32boldaGkf0suX6nL4xje");
- NSLog(@"1ufCaA2GgybkZ");
- NSLog(@"9435JBebkxI");
- NSLog(@"QzKx28LhkIrHw4RiNPpn7");
- NSLog(@"s3dgX4Oql7Kh0aiHA95P8rG2nRMxeUSWFZzt");
- }
- -(void)aF4kzUX:(UIRegion*) aF4kzUX a1agEQL0:(UIWindow*) a1agEQL0 ad4jh:(UIBarButtonItem*) ad4jh a3icE:(UIMenuItem*) a3icE agch8OA9:(UIImage*) agch8OA9 acGZP:(UISearchBar*) acGZP awFeHWANm:(UIImageView*) awFeHWANm a0W7JVTwH:(UIScreen*) a0W7JVTwH a3Kd5sf:(UIAlertView*) a3Kd5sf a6eTLhBVu:(UICollectionView*) a6eTLhBVu aui7fRt:(UIColor*) aui7fRt aIPdN:(UIControl*) aIPdN afqkGWyn4S:(UIDocument*) afqkGWyn4S aSB0GR6Dn:(UIActivity*) aSB0GR6Dn a0Ov2kQdCD:(UICollectionView*) a0Ov2kQdCD anzUXqb:(UIView*) anzUXqb {
- NSLog(@"hliEB1RAa4kOQezUKCg6JWbv5uPGqYfnSpHTX");
- NSLog(@"I6id3yoBh1CgXSvFJN4cr");
- NSLog(@"GZqUyLQS8zTBEu5iIlpweg60b7f");
- NSLog(@"qDMZl5C8PUQ2haWzBrYJkRHN0vGdFTmyeu7");
- NSLog(@"BOcWVXIrm10fhNi");
- NSLog(@"YxWFfzUApEmHRCyIti1hoackD6G5bl");
- NSLog(@"PnuwpyZtXGJvUaVB9oeEIOc328q1SrNMdL5m7");
- NSLog(@"eGJQ94Ukxi8rdBpCTYhzFVOyRgcv3");
- NSLog(@"O7XhEnU20Vo4PrKQfcqmt3YAlRT");
- NSLog(@"64awdkc9rHReolWqB");
- NSLog(@"s0j2qltT91dcmMrzCxZ487ipQghLaJUIOvw");
- NSLog(@"TIRheAoCxy0aHW6EfXpJ5L48rsS2lMbg");
- NSLog(@"MlQDW56uLbzw4d1ZP7eCyrxGX");
- NSLog(@"DOHba1mxLYMX");
- NSLog(@"jFgDITiKx6CHXBASePpM");
- NSLog(@"Htk4GPuSZMAngCiWDjyTK");
- NSLog(@"8BP5dCNDFe");
- NSLog(@"2ODNUBFlca705PVoSIAYEm");
- NSLog(@"mgoMCOLWnVrR1aE8s5dcJI2DYQy4pSHvUhPAb9");
- }
- -(void)aBzWQkaMJm:(UIDevice*) aBzWQkaMJm aRQp903SEZk:(UIButton*) aRQp903SEZk a8hVFfab:(UIApplication*) a8hVFfab amXh7M:(UILabel*) amXh7M aihWK:(UIBezierPath*) aihWK as3UkHcg6:(UIEdgeInsets*) as3UkHcg6 aEzc8RaWZUp:(UIInputView*) aEzc8RaWZUp a5A70UXa:(UITableView*) a5A70UXa aaZBLp5oF:(UIViewController*) aaZBLp5oF aNrXWIGS:(UIWindow*) aNrXWIGS anymLQTeJA:(UIControl*) anymLQTeJA aFLAiw:(UIBarButtonItem*) aFLAiw {
- NSLog(@"kxboOwXGNQv8U5jtCBnRY6SVWcrlyiPzA37");
- NSLog(@"5Iz8Yt9cBbHwQMDnRigr2PFN");
- NSLog(@"dcPqRjIW5X4wNrCps36HgA1OG2BimuxbSKD");
- NSLog(@"67ZJziDtRolF5T32d");
- NSLog(@"kW9F2vbfqzmsQPM");
- NSLog(@"Sek5LyBNapcHRm");
- NSLog(@"hpcaJS7oq6XvryQ4fYsRA8MPe3OL");
- NSLog(@"cMO9XP3YNmB01d6HnqrzuTsoWVLw");
- NSLog(@"QK1vd8qVYjlrcnexEBIihpZMTX");
- NSLog(@"h7BPJOXpDC8aVtexEbuqTUdLFGsi0rjYNZvI9");
- NSLog(@"A3LHXIeCq9gN5lw2byESpQM1");
- NSLog(@"w8gLJfAirUzejxB9OY1IqbpMRo73F42Pc50y");
- NSLog(@"QJAVOfbGTeLnxtMmzjC073vIcqrZoY");
- NSLog(@"hXq4M8o2CEbDJPelHx");
- }
- -(void)aC2Rh:(UIActivity*) aC2Rh aQpXPHjq:(UISwitch*) aQpXPHjq aaVoDvTJdBz:(UIDevice*) aaVoDvTJdBz aAqvl:(UILabel*) aAqvl a5uDONXBR:(UIDevice*) a5uDONXBR a3xVyt0Asr:(UIImageView*) a3xVyt0Asr aJly7PADYn:(UIWindow*) aJly7PADYn a0vw19KfrUX:(UIActivity*) a0vw19KfrUX a8trc:(UIImage*) a8trc aHGUQeBJ:(UILabel*) aHGUQeBJ aSkuli37q:(UIAlertView*) aSkuli37q ajNyd2W3wvQ:(UIFont*) ajNyd2W3wvQ a6xsY3ylTK:(UIMenuItem*) a6xsY3ylTK afTJwsnPgrV:(UICollectionView*) afTJwsnPgrV aTDFCvdin5:(UISwitch*) aTDFCvdin5 aqHNwXyIdj2:(UIControlEvents*) aqHNwXyIdj2 avc0m9Ql:(UIMotionEffect*) avc0m9Ql aMp80TUI:(UISwitch*) aMp80TUI {
- NSLog(@"0sZyQIPn1h7De2SYKkx9mCGF3zM4lNpf8iTH");
- NSLog(@"5etSu21MOIyFUPal60Vk3gZqrYLcCEz");
- NSLog(@"ilYAt2mDyUqS704zIeJ6Md");
- NSLog(@"ywjJlaqB0d3xH57tDvCrmTi");
- NSLog(@"LS18BaNsVAQplUzwWFTq");
- NSLog(@"OtEsDC5kicSV8lpZqfHWm32KeMN46");
- NSLog(@"gqekGQjhu4O0XMd83Bw1m");
- NSLog(@"C0zGNApKaSdRlkoOvUeFcH85E");
- NSLog(@"CP9ZrjyKFwVM3O");
- NSLog(@"zlSQW3PVkEaqhtU7nyI4jC9N26LGgTYeiAJo1HB");
- NSLog(@"noF3rvdUz4u7Oa15JVQMSc");
- }
- @end
|