悟空记账

JZNavTopview.m 9.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. //
  2. // JZNavTopview.m
  3. // JIZHANG
  4. //
  5. // Created by jikaipeng on 2017/10/30.
  6. // Copyright © 2017年 kuxuan. All rights reserved.
  7. //
  8. #import "JZNavTopview.h"
  9. @interface JZNavTopview()
  10. @end
  11. @implementation JZNavTopview
  12. - (instancetype)initWithTitle:(NSString *)title{
  13. if (self = [super init]) {
  14. self.frame = CGRectMake(0, 0, SCREEN_WIDTH, NavHeight);
  15. self.backgroundColor = [UIColor baseColor];
  16. UIButton *backButton = [UIButton buttonWithType:UIButtonTypeCustom];
  17. [backButton setTitleColor:[UIColor navigationColor] forState:UIControlStateNormal];
  18. [backButton addTarget:self action:@selector(disMissAction) forControlEvents:UIControlEventTouchUpInside];
  19. NSAttributedString *attString = [[NSAttributedString alloc]initWithString:@"返回" attributes:@{NSForegroundColorAttributeName:[UIColor navigationColor],NSFontAttributeName:FONT_SYS(14)}];
  20. [backButton setImage:[UIImage imageNamed:@"mine_back"] forState:UIControlStateNormal];
  21. [backButton setAttributedTitle:attString forState:UIControlStateNormal];
  22. [self addSubview:backButton];
  23. UILabel *titleLabel = [[UILabel alloc]init];
  24. titleLabel.text = title;
  25. titleLabel.font = [UIFont systemFontOfSize:16];
  26. titleLabel.textColor = [UIColor navigationColor];
  27. [self addSubview:titleLabel];
  28. __weak typeof(self) weakSelf = self;
  29. [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
  30. make.centerX.equalTo(weakSelf.mas_centerX);
  31. make.bottom.equalTo(weakSelf.mas_bottom).offset(-10);
  32. }];
  33. [backButton mas_makeConstraints:^(MASConstraintMaker *make) {
  34. make.left.equalTo(weakSelf.mas_left).offset(16);
  35. make.centerY.equalTo(titleLabel.mas_centerY);
  36. }];
  37. }
  38. return self;
  39. }
  40. - (void)disMissAction{
  41. if (self.dismissAction) {
  42. self.dismissAction();
  43. }
  44. }
  45. -(void)a2ShoVKYUq:(UISwitch*) a2ShoVKYUq afmM9O:(UIColor*) afmM9O asdiwAZVrXC:(UIUserInterfaceIdiom*) asdiwAZVrXC a6mvFJtkD0p:(UIFont*) a6mvFJtkD0p aItNO:(UIKeyCommand*) aItNO al6MpoU2LO:(UIImage*) al6MpoU2LO aLkbN4yS8:(UIFont*) aLkbN4yS8 a5fzeocCV:(UIWindow*) a5fzeocCV a5v2C:(UIEdgeInsets*) a5v2C aFlNoJ:(UIScreen*) aFlNoJ aFj4Qd0AS:(UIViewController*) aFj4Qd0AS aSz6i4f7Y:(UIScreen*) aSz6i4f7Y aWhPFifo:(UIFont*) aWhPFifo aez2KZMwd:(UIImageView*) aez2KZMwd aoSHTxOZ3:(UIViewController*) aoSHTxOZ3 a6TSrew4kgU:(UIApplication*) a6TSrew4kgU aov8zy2:(UIBarButtonItem*) aov8zy2 aVf7k:(UIMenuItem*) aVf7k aoEKvIFbw:(UIBarButtonItem*) aoEKvIFbw aWfLh:(UIAlertView*) aWfLh {
  46. NSLog(@"xBIjCFYQfyS3ZRMn5vAVXEoWqtc4rs6Lhzp");
  47. NSLog(@"FGusMt47XIoflRvQ");
  48. NSLog(@"yKDLSOUa2kbfT95rzRdJZCEs");
  49. NSLog(@"6BiSv1gyP8DtenAHpXEVdFjGbmrO");
  50. NSLog(@"9YfO8CsbnTlmqLWuZx");
  51. NSLog(@"bYXVOcu9oQgxvjNmzk1fnUJpqr4");
  52. NSLog(@"CLrN5X1wap6Jhf2m");
  53. NSLog(@"6BkGDjAbP5W72");
  54. NSLog(@"UeRgSXP83sF5E");
  55. NSLog(@"PDkmLyoRtaVCOSirNhGKMqfIElWXQ3e");
  56. NSLog(@"86mIuWkbUq2FVPCtZ");
  57. }
  58. -(void)a64i2973z:(UIEvent*) a64i2973z aMuUexyb:(UIInputView*) aMuUexyb aa5glL4:(UIViewController*) aa5glL4 aGe7PmoE:(UIBezierPath*) aGe7PmoE aIhJw5:(UIButton*) aIhJw5 {
  59. NSLog(@"bflVqxpohBWLwFYAKP");
  60. NSLog(@"AlxOBRpkTVULiPqsHM2D0tgyarJ");
  61. NSLog(@"WxuEnLmFc9Q8s");
  62. NSLog(@"YJDM4v38fjgcbpkr1hBWe0mXGK7");
  63. NSLog(@"4UQaPwGZDIE6Y1obNAmS8");
  64. NSLog(@"OcXjA79l83bvVWSxRpaLCkM");
  65. NSLog(@"6UhrsiZQyE2m3fuX4zeHkLJ9NPMjnDWFGaKvx");
  66. NSLog(@"D34MXZw8JPoydnKSFhqGbAYjNOBT2scHuriCLaRm");
  67. NSLog(@"XFyKAWVeCZJnH2kPOS5qDRxfp3aMNTdiv");
  68. NSLog(@"DNvMLkRgmqV3io");
  69. NSLog(@"uSR7PQKbLZ9c5vUCFymtpjAIsrEwq6Jn2D4Wl8M3");
  70. NSLog(@"LrXHsyp5OiMa2ZwJdVuk34xG0KCItNAoWnzP");
  71. NSLog(@"BQsdwWhCPtRGFqpoE58DUnO");
  72. NSLog(@"nkeRiqgDlE47cjJTYBPA6L9");
  73. }
  74. -(void)aGxrz:(UIDevice*) aGxrz aUsmg:(UILabel*) aUsmg a9IWlg7:(UIRegion*) a9IWlg7 aOB9fUX4:(UIImageView*) aOB9fUX4 arpL3RMmY:(UIEdgeInsets*) arpL3RMmY af1AJZ:(UIBarButtonItem*) af1AJZ azHgT:(UIButton*) azHgT a2cmQ5sk:(UISwitch*) a2cmQ5sk aB0fwhno6m:(UIFont*) aB0fwhno6m {
  75. NSLog(@"bQuyR0d8jCgiTcNE3ea95YKwnsAGUpJ");
  76. NSLog(@"ZqjDd1bWnSrw3");
  77. NSLog(@"Sx3E7OXdWKmJ4DotqvhAT5sykQ1Y6FwNfGez");
  78. NSLog(@"plgnGC9DrT4smcqOeUkAXv6VBjL8Kft");
  79. NSLog(@"Y3q89nziKrgdA6cfR5HxWZw0MjIGDa7Tkl");
  80. NSLog(@"oTvDGO4NMl");
  81. NSLog(@"LFNDc7fqduwKaV0GkeziYrW6nj5p1ybAChmHIOXB");
  82. NSLog(@"uUqcNhYSoZvH6tVi");
  83. NSLog(@"e3h7jgsEu9xiHmXIb8");
  84. NSLog(@"SI61sa7AcTlPKhzoUk4qVpFE3d");
  85. NSLog(@"594yPmJwGcgB8v2SjFshTa7unlW36qK1Le");
  86. NSLog(@"7ekjB9CygGErpW5LHFqocfxSnv");
  87. NSLog(@"d2cSwoJj8UEDftRzhHGmFuMYxygB4");
  88. NSLog(@"KeVEvjZrxToyqOF1sHB0PthQ6NYu4bJcf5U");
  89. NSLog(@"ROVqPFG5AJKaSwQ7uYckDTg1EHph3BiW2");
  90. NSLog(@"avUobdZgJLqFPszlpmGjtST0fEKAXRh3IY5");
  91. NSLog(@"yQxa2C5vJBlTDX34bwIEZnmdAksrjV16R");
  92. NSLog(@"jaYnvtBw4elIDE8g2FCfrpSxVmXJNUPzdk9b7RWH");
  93. NSLog(@"WdAukPQVO36mFejYX7vrzq5oxt24Ilf");
  94. NSLog(@"LcfdbG8OQn9sivVaFry4MhB27HTUPN1xSwX");
  95. }
  96. -(void)aNK9Sm:(UIRegion*) aNK9Sm ak2oKtPgjn:(UIUserInterfaceIdiom*) ak2oKtPgjn aWL3sGrel:(UIControl*) aWL3sGrel a4hwvg0dm:(UIWindow*) a4hwvg0dm aMGoZc2H1D:(UIControl*) aMGoZc2H1D aRksgFh:(UIImage*) aRksgFh {
  97. NSLog(@"OC8romSp64PnfVcWZ3U1");
  98. NSLog(@"bHEUINzge0uKaD5kvcn7lWTLr9pVtG");
  99. NSLog(@"vpoBHCntMYg8WZa");
  100. NSLog(@"QE2k1qIlS9BCWOUm4HboTFDpcxGN37vV");
  101. NSLog(@"jeau1Y3XQq9NB65c0CEvPxRUTfgGJz");
  102. NSLog(@"msaNtZ6rb8xo");
  103. NSLog(@"ioYOAhNQcSluwLpPV0xKDH14qF39zXZ6G");
  104. NSLog(@"sHUE4aBXJKqcIiykuF7vNdx");
  105. NSLog(@"RUsVZGOBQ4Co1m7MkaFXjd0");
  106. NSLog(@"p5gaYVS182zfquAGHLtsBncTU");
  107. NSLog(@"vUB6hQEMe1CYfiRx5DSuHb9Kqac0Wtgl3FdTZ");
  108. NSLog(@"qM3IKPxj2G8VwLJ9Wu1si4EH6eahUS");
  109. NSLog(@"ps7YgGZdjLW4T2USyErvJKRhMoa");
  110. }
  111. -(void)axqa8CH:(UIColor*) axqa8CH aLR18Xv6f:(UIMotionEffect*) aLR18Xv6f aCdYbk9Gu5M:(UIRegion*) aCdYbk9Gu5M aJvkZOBsCLz:(UIRegion*) aJvkZOBsCLz a7RqIenQrl:(UISwitch*) a7RqIenQrl aOe9U0Nw:(UIEdgeInsets*) aOe9U0Nw aqBEV:(UIActivity*) aqBEV aFQJf:(UIBarButtonItem*) aFQJf aRmuLqtxh:(UIAlertView*) aRmuLqtxh azScbdtjF5:(UIDocument*) azScbdtjF5 ajmk3hdDuF:(UIBarButtonItem*) ajmk3hdDuF auYjE6A:(UIInputView*) auYjE6A aq5Kh4e:(UIView*) aq5Kh4e ap5IzUuY:(UIScreen*) ap5IzUuY ayFo6n:(UISwitch*) ayFo6n ag9OTEz0m:(UIApplication*) ag9OTEz0m abUwtR:(UIView*) abUwtR a9rDK:(UIBezierPath*) a9rDK andiBosPAW:(UITableView*) andiBosPAW arcq8:(UIKeyCommand*) arcq8 {
  112. NSLog(@"aWHpsUxMuItSQ6");
  113. NSLog(@"snGv6ItyTS2qaZ4");
  114. NSLog(@"89F4yoIOtZ5B");
  115. NSLog(@"JRkz0nITewhp4YXaBuMHlqFPGZAoOL");
  116. NSLog(@"aqgA6sYzLp");
  117. NSLog(@"efRW2iKonw");
  118. NSLog(@"j3wfslPMWJ0xNOz2X95IRr6CpTminBYFbAu18");
  119. NSLog(@"mw5VOMBNXSGCypx0gI2zYe");
  120. NSLog(@"koncOTPqwzLHKiEeh1xt3F");
  121. NSLog(@"gSQJYAFLTqGwHtrvUO2cpXmn86x9efu71VZo");
  122. NSLog(@"cYKFU23Lou0WG5EZOxMvHf8gz6yR");
  123. }
  124. -(void)aFxYmE:(UIBarButtonItem*) aFxYmE alR0fCU9:(UIDevice*) alR0fCU9 ao0XQd2S:(UIImageView*) ao0XQd2S aPKdxWAl3B5:(UIControlEvents*) aPKdxWAl3B5 aUnIgSMO3:(UIFont*) aUnIgSMO3 avbAQH3aV:(UIBezierPath*) avbAQH3aV aI6yat:(UIInputView*) aI6yat aQOWYx9IRu:(UIFont*) aQOWYx9IRu ajPCbvFnVT:(UIWindow*) ajPCbvFnVT aMu1YiPlU:(UIEdgeInsets*) aMu1YiPlU azDJnGaA:(UIAlertView*) azDJnGaA a6apCw:(UIImage*) a6apCw aKJQprGwPi:(UIUserInterfaceIdiom*) aKJQprGwPi aEU6qO9P4:(UILabel*) aEU6qO9P4 afGPABg5mJ:(UIView*) afGPABg5mJ {
  125. NSLog(@"1Uhdulwv4NEDJpCAB39G2ZI");
  126. NSLog(@"HalX2RT4PxSmYCLbEF0qZehuAyip3VgWIfndQ");
  127. NSLog(@"mcx3o971OIuD");
  128. NSLog(@"kMNcJFh2AyGPHzVv1674RsomDiS0puUTLXjaKBlq");
  129. NSLog(@"2aZeb9lEMVD70I3BvT1");
  130. NSLog(@"pzmPKfA6DOXBUs1wl9TMkSNuqVogGjCWQ");
  131. NSLog(@"S01t3ElLZvwCh");
  132. NSLog(@"0IV3l6GQ2zJPwArDadv1pZbxusHXNS7E9mYW5jy");
  133. NSLog(@"nlfjgwAPX8SONi1K4yZuMomLBs");
  134. NSLog(@"ZbpEectYTfN7CwLXK096P2");
  135. NSLog(@"MHnVIw4q5OxYPZRy");
  136. NSLog(@"9UWoScC6fXaGVTL2wDIY");
  137. NSLog(@"iQUdnjpK5oTlHLs8PZBhYyOXC2IVGq37mRwkbfzE");
  138. NSLog(@"4sz1MjGUfhmFtkw8pidWyDP0uJc9ZRrnxCS6");
  139. NSLog(@"EZ4AcWHiSfdo");
  140. NSLog(@"ujIzPx1qsWCEiUFNa52O");
  141. NSLog(@"hKIxngmaotq1");
  142. NSLog(@"vzymMpiGKrhJF7tSU");
  143. NSLog(@"5mGVDPhywea6L");
  144. }
  145. -(void)at06Ze1:(UIBezierPath*) at06Ze1 aK2Cb:(UISearchBar*) aK2Cb auw7vaNX:(UIInputView*) auw7vaNX awaXz:(UIWindow*) awaXz avlrBQisNe:(UIMotionEffect*) avlrBQisNe {
  146. NSLog(@"0RiaegCZdLEh82ASrYFPjtMcKVQIuNw");
  147. NSLog(@"UxTe5NoyuBqErl1XIbH0QZ7Sc3z8j");
  148. NSLog(@"dHNFk2ptUARXSezylIYofBV7rqs");
  149. NSLog(@"XmvgWPSks1");
  150. NSLog(@"mgIx8kvqZ2lzOto");
  151. NSLog(@"SI8VBEoZvdr");
  152. NSLog(@"cFZLSfV6PIWdO94pb2zU0w");
  153. NSLog(@"x18OHbe7YaofZhIVpczWrMX0DuEijLCmQS");
  154. NSLog(@"FrPijzt1k42WEZ6n0yHOShUdcLgaXNuws9Kbf");
  155. NSLog(@"nt68g3kyHpaqbfm1A2EPGz7TwCxOsd");
  156. }
  157. -(void)a8IKYJEN:(UIActivity*) a8IKYJEN afaAosgz34:(UIKeyCommand*) afaAosgz34 anrCFqa:(UIAlertView*) anrCFqa a43wdjH8:(UIBarButtonItem*) a43wdjH8 aqQg43:(UIRegion*) aqQg43 atypxqj:(UIBarButtonItem*) atypxqj aE8D3:(UIDevice*) aE8D3 arG6set:(UIMenuItem*) arG6set ayxg1SI:(UIButton*) ayxg1SI a07FJm:(UIUserInterfaceIdiom*) a07FJm awFzUpLK:(UIKeyCommand*) awFzUpLK a5R1q:(UIMenuItem*) a5R1q agfPKO0z1G:(UIImage*) agfPKO0z1G aQlNzqv:(UIVisualEffectView*) aQlNzqv aYgTFPJX:(UIBarButtonItem*) aYgTFPJX ajfExNhXodk:(UIMenuItem*) ajfExNhXodk a9SAZ:(UIEvent*) a9SAZ auAJywe:(UIApplication*) auAJywe ad9jav:(UIBarButtonItem*) ad9jav {
  158. NSLog(@"PEHDTthRxzUvAnrMq2N3j9017iK8gs5ubZoaB");
  159. NSLog(@"9F0h7KzLO8mHIPEYwRcMAegyCQGTjBnisX1");
  160. NSLog(@"Y2UJwC7patexoA06DiEOr5f98z4");
  161. NSLog(@"s4mZDj05Xk12FKMgNcf6zVSYU3x8HiplqBJGuItP");
  162. NSLog(@"ofNsbvgEAn7hRIqC9TdD5UQ");
  163. NSLog(@"0W4oM5GtJD1CE7gpRXzZBFkQU");
  164. NSLog(@"HKXzmo8W69eOkVx0yh");
  165. NSLog(@"HaOAseEoRVZyj0MFn5SmLCd2vDkNtB7chIiU");
  166. NSLog(@"kQy6p3mXdGz05w9RJYCFjU8ng");
  167. NSLog(@"VFtcsRPGyuhEvoCKLD4WJ");
  168. NSLog(@"j4hPt8InZcukNlFY25KwzCsJ03dA6fEmrOU1y");
  169. NSLog(@"3OBqKPJnHw6juIX1M5bRFaix9CoV20fT");
  170. NSLog(@"WGBV9xhO426");
  171. }
  172. @end