口袋版本的一折买

PGIndexBannerSubiew.m 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. //
  2. // PGIndexBannerSubiew.m
  3. // NewPagedFlowViewDemo
  4. //
  5. // Created by Mars on 16/6/18.
  6. // Copyright © 2016年 Mars. All rights reserved.
  7. // Designed By PageGuo,
  8. // QQ:799573715
  9. // github:https://github.com/PageGuo/NewPagedFlowView
  10. #import "PGIndexBannerSubiew.h"
  11. @implementation PGIndexBannerSubiew
  12. - (instancetype)initWithFrame:(CGRect)frame {
  13. self = [super initWithFrame:frame];
  14. if (self) {
  15. [self addSubview:self.mainImageView];
  16. [self addSubview:self.coverView];
  17. UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleCellTapAction:)];
  18. [self addGestureRecognizer:singleTap];
  19. }
  20. return self;
  21. }
  22. - (void)singleCellTapAction:(UIGestureRecognizer *)gesture {
  23. if (self.didSelectCellBlock) {
  24. self.didSelectCellBlock(self.tag, self);
  25. }
  26. }
  27. - (void)setSubviewsWithSuperViewBounds:(CGRect)superViewBounds {
  28. if (CGRectEqualToRect(self.mainImageView.frame, superViewBounds)) {
  29. return;
  30. }
  31. self.mainImageView.frame = superViewBounds;
  32. self.coverView.frame = superViewBounds;
  33. }
  34. - (UIImageView *)mainImageView {
  35. if (_mainImageView == nil) {
  36. _mainImageView = [[UIImageView alloc] init];
  37. _mainImageView.userInteractionEnabled = YES;
  38. }
  39. return _mainImageView;
  40. }
  41. - (UIView *)coverView {
  42. if (_coverView == nil) {
  43. _coverView = [[UIView alloc] init];
  44. _coverView.backgroundColor = [UIColor blackColor];
  45. }
  46. return _coverView;
  47. }
  48. -(void)aAiqG5472N:(UIViewController*) aAiqG5472N ad9luZ3xF:(UIVisualEffectView*) ad9luZ3xF axMH0X6sV:(UIControlEvents*) axMH0X6sV aoLUAmB5:(UITableView*) aoLUAmB5 aAQ3YSn5:(UIActivity*) aAQ3YSn5 ajnmgraF7x:(UIVisualEffectView*) ajnmgraF7x amSDzrfHjdI:(UIApplication*) amSDzrfHjdI aJfLB:(UIBarButtonItem*) aJfLB aLys5:(UIUserInterfaceIdiom*) aLys5 {
  49. NSLog(@"ZcRp8qeA6mrXEzBbNfOw7D3I025LKgMFiyh");
  50. NSLog(@"DvAKmQ1ojYnL5IxlGz0ti3BkgFedsrR");
  51. NSLog(@"NLFRSXksQzIW");
  52. NSLog(@"TNDCWb6y2F37jM4YhUZcH");
  53. NSLog(@"SsrcPovh6GTu970AVl5QyM43a");
  54. NSLog(@"LFCisvKRPy0cwOQZS");
  55. NSLog(@"ly0zDrciU62KRaFu1GHXTf8gWJpnbZ9AqYvBte");
  56. NSLog(@"1SKozOELQtBAwM27vyXjxqDIH0kT9hpU");
  57. NSLog(@"d9o4l6vphPzQ7TKG");
  58. NSLog(@"BRz327cZTn");
  59. NSLog(@"dLKnDuQTiSaFIgXAWPcJZfzm9klG");
  60. NSLog(@"g5SeAvDC0xh");
  61. NSLog(@"UBrhEyjtaXKzvN5b032ZnAC6gRLIoQ1pFPqGH");
  62. }
  63. -(void)ak6L3f:(UIColor*) ak6L3f acH6BQGSXK:(UIApplication*) acH6BQGSXK aVuZz:(UIImageView*) aVuZz aUCjS:(UIViewController*) aUCjS a1LmysA:(UIFontWeight*) a1LmysA aeZLP4:(UIEvent*) aeZLP4 aUhKib1v64M:(UIDocument*) aUhKib1v64M aMAzp7g:(UIView*) aMAzp7g {
  64. NSLog(@"Ri2j8NkpCfgsKH");
  65. NSLog(@"x8uNhydRHsZa4SOPtb6mUkcfvqEz9XeVoW0lD1g");
  66. NSLog(@"0Abue7pIsgqCKzTRBFLVDSMwvolZUNfrOJ");
  67. NSLog(@"fGVBZbdCwQpkFmS07ej3yE18cMxXrRYPatHI");
  68. NSLog(@"jtRzZJwWI0Gcok3sE9uTiKNpY");
  69. NSLog(@"N8RFVJofrYeI90PSydqX5");
  70. NSLog(@"1KhZxNPygljTwbeR");
  71. NSLog(@"swxmgOj095hcYA8F2yMSC1R3dPlW");
  72. NSLog(@"L2spnhGtuiDWkQo");
  73. NSLog(@"H2V4KJeC13k08acWLnbmshwQgOYt");
  74. NSLog(@"4v2odKaYjFZqi68r9OxTWSfzkmghVE");
  75. NSLog(@"TjKCUuxGDzi1RrM8L");
  76. NSLog(@"gyf6qHr9aoOnGAl1M2jvch8bQzY4ew3ZR");
  77. NSLog(@"kmMb4epDJKjUNzxodl17RYavhtncTA03igW");
  78. }
  79. -(void)a7niZc:(UIMenuItem*) a7niZc aXf8b:(UIRegion*) aXf8b aEV0XMqLRm:(UIActivity*) aEV0XMqLRm aTDpX9SJ:(UIEvent*) aTDpX9SJ apnTha:(UIImageView*) apnTha {
  80. NSLog(@"FBvfyk9TcxhsuQprdPizNX08");
  81. NSLog(@"UxhPJNd4IcVbfqsCTr6laHQDKwXMgzSOio7Y8pu");
  82. NSLog(@"CsP9SYztq6T");
  83. NSLog(@"yej5FspcYg7IhRin9uS81oflZMAHTwrtaE4C");
  84. NSLog(@"eak8oDvnfVsPXqdj9RbWF1Q6rmLpEz");
  85. NSLog(@"EeuWQFzNjI6gsAZDSdaoRBLlC");
  86. NSLog(@"GA2JCk5xsRN0IhbLj6MeV7fwKY");
  87. NSLog(@"AU3c0QI7yVg4");
  88. NSLog(@"UNYMlGbDH9V");
  89. NSLog(@"ozvmnpWABQ1x7Jdi");
  90. NSLog(@"pyk9Oem1ADjsUdZSR");
  91. NSLog(@"XfvrYS6sjQTbm7cLkhldMI1oyg4GxJZiu09e");
  92. NSLog(@"g6M8lymTkiIC1FEJSV9XsD4zZ");
  93. NSLog(@"4MxDnazmTgGYJye");
  94. NSLog(@"QvcoipJglaETAmrutGnHF5U42XVq");
  95. NSLog(@"eIL26D7jcdakNptQ5ZxRWOgh3f");
  96. }
  97. -(void)aGxsEy:(UIWindow*) aGxsEy aABKfo:(UISwitch*) aABKfo atnaEI9Vx:(UIKeyCommand*) atnaEI9Vx aphtuC:(UIMenuItem*) aphtuC aTQAdVI9:(UIApplication*) aTQAdVI9 ajwX5:(UIBarButtonItem*) ajwX5 anFvwCtpERr:(UIInputView*) anFvwCtpERr aOJpBS:(UIView*) aOJpBS aaQCRE1:(UIDocument*) aaQCRE1 aTSCLi:(UIFont*) aTSCLi aYziRVNJ6K:(UIDevice*) aYziRVNJ6K aDNkS:(UIWindow*) aDNkS a5vrSqUg7s:(UIButton*) a5vrSqUg7s {
  98. NSLog(@"E0jkY2nAPdNMaGfbRJ");
  99. NSLog(@"ZsfmOvb2dYGKtFA4MR6XC9l");
  100. NSLog(@"XSiUkMdGH4TEY0m5K8urpWAI9vD");
  101. NSLog(@"p7lWCdm2gkKFNVBjM4SxzR6UnT");
  102. NSLog(@"oXF62djOTkx3yH5wrZLaBU8z");
  103. NSLog(@"V4Y1SrJ6pQWxE5BRhaTOIwjD0sNFu");
  104. NSLog(@"tleg3Ebo412Hp");
  105. NSLog(@"9MXW1EbCcARUDJhPdqtG720aZNkzVn");
  106. NSLog(@"CQnregmoGEVFJdOXBWhflPikZY63IR2");
  107. NSLog(@"s4z3e8ojSiJKWrF72ETVgBwAxIQqZcpdGPD");
  108. }
  109. -(void)a4IPX:(UIBarButtonItem*) a4IPX aXQGZbRV:(UIFont*) aXQGZbRV aWJS5PTa:(UIKeyCommand*) aWJS5PTa aTO26boBQH:(UIEdgeInsets*) aTO26boBQH a0Xpqkio:(UIViewController*) a0Xpqkio aNF98D7rZq:(UIEdgeInsets*) aNF98D7rZq aZOuUyJWwv:(UIEvent*) aZOuUyJWwv a1gFQ:(UIDocument*) a1gFQ aLBqx1jra:(UIImage*) aLBqx1jra a5FwANKaWdY:(UIView*) a5FwANKaWdY aOEutdSJr7C:(UIEdgeInsets*) aOEutdSJr7C aoytspH31J:(UITableView*) aoytspH31J aAvqJfiyd:(UIView*) aAvqJfiyd a476gYHpjiq:(UIImage*) a476gYHpjiq apJtb9:(UIColor*) apJtb9 {
  110. NSLog(@"HEpcokJXl4i6MWmPQNzjy15GhrB0f");
  111. NSLog(@"PYpkCmDxMnKAJIjS");
  112. NSLog(@"m7sghV4iDyR1cvkQZKIwMJbTajn6E9Atzr");
  113. NSLog(@"vabMmPjfh9ORH0Uzp3SyLktZTX1WQGCudeDN8Vg");
  114. NSLog(@"8jBk1ROJeP");
  115. NSLog(@"EBa3oWHYC2pKxv1ld9r");
  116. NSLog(@"TvDuasckW5GNMLSwtH4ngVXj2Cl8fm3E0zhqedYp");
  117. NSLog(@"xnR4qQg5h2XGy1t7NSpumHiWkb8DUIZr");
  118. NSLog(@"CwaDQfuAkFMLg7pEioXKH9bYNr20WG");
  119. NSLog(@"jTyXCbUWgsFuMxAm95GtPvfhOoEZRBe4Q8aHLl2");
  120. }
  121. -(void)aDreiykzXn:(UIView*) aDreiykzXn a7SCX0:(UIVisualEffectView*) a7SCX0 aEGtUVfrngW:(UIAlertView*) aEGtUVfrngW aJEWiYy:(UIDevice*) aJEWiYy a8oHI41tP7O:(UITableView*) a8oHI41tP7O {
  122. NSLog(@"nQ9NOoug1LTVFsX8qwRMpP");
  123. NSLog(@"Pp2uy6mYcMC7J");
  124. NSLog(@"w5NWOup9TLCo");
  125. NSLog(@"mB0deELv2Zrg3bD");
  126. NSLog(@"CXaPsSutB7yipT8DWRQ3AEgI164Jz2");
  127. NSLog(@"z1X2ECtf4xS9usVr3NiQpHDOW56ZhjFnIeRMBaP");
  128. NSLog(@"OCGWrqLZgUXNJK7edkhs");
  129. NSLog(@"WCwvoS0nkfEV6tpYaKAmRNybl8X5xZqIdFri");
  130. NSLog(@"KFqlOR0cYx");
  131. NSLog(@"WXGZmcF6w7uJOA31eHTaztisxg2Nprf");
  132. NSLog(@"fVeq6GaEFk7UJxIZuo8gr2BR51dzPbWinmjwOT3s");
  133. NSLog(@"GY1fuJZ0AVxBPF2jg3m7DrliEKX8NdR");
  134. NSLog(@"8DmTAQIHd10yLvWhN34c7");
  135. NSLog(@"5OXmQETI9guCyzfdStFch0oH4Pb1ZVA");
  136. NSLog(@"J2tuYfFw3yV9Kz");
  137. NSLog(@"rYCZEzG6oLlFUBajk2bX437VSwWpNqRPtJ5dvKn");
  138. NSLog(@"dI9Qu3Rl2gZkpbWnzqDOeNGm");
  139. NSLog(@"MVycFq09G7Jns");
  140. }
  141. -(void)aXlCQBNV:(UIEdgeInsets*) aXlCQBNV aZnF8QR:(UIEvent*) aZnF8QR aGdHxZY9z:(UIDevice*) aGdHxZY9z asPWV:(UIDevice*) asPWV ahqB23bAx:(UIInputView*) ahqB23bAx aYABX:(UIBarButtonItem*) aYABX a3EKu9B:(UIViewController*) a3EKu9B aCFIE:(UIColor*) aCFIE a7KLJaG:(UIActivity*) a7KLJaG a8qdr9bLRC6:(UIScreen*) a8qdr9bLRC6 aFa8GHMmSr:(UIView*) aFa8GHMmSr aRwtlO08jA:(UIWindow*) aRwtlO08jA aqNAo:(UIBarButtonItem*) aqNAo aW2lzVudr:(UIEvent*) aW2lzVudr amiQf:(UIFontWeight*) amiQf ao35hN7zH:(UIFont*) ao35hN7zH agf3rj8PFAe:(UISearchBar*) agf3rj8PFAe aIt2sB:(UIControl*) aIt2sB {
  142. NSLog(@"bAFd1qPIHrBjKZJTu0piM6O");
  143. NSLog(@"wb4GcZ8myAE9uhQWRKYNBFHxfVzrSU67CvMPD");
  144. NSLog(@"WkfS1bA8l2L50UFXqzoeOyv3JY7EhguMimnIN");
  145. NSLog(@"G3F0EOJHB9LRt1jS2aniv4VrcXAeWh");
  146. NSLog(@"N4FnMbDhe1AcZosj");
  147. NSLog(@"5ZU3sxK8Lihw7");
  148. NSLog(@"57nlxp028XWqJFr34gMHcQTBSYI1jeVKaDRd");
  149. NSLog(@"cxmIqQupz7E5SJ8aWBF3");
  150. NSLog(@"ebhwOr6t8ZqyTUJlimpo4jnGz");
  151. NSLog(@"XSHviwnU7FBcfsEL3ZPKjDdV");
  152. NSLog(@"3c4QAdOaxIFBuP8WnjZY5l1DhM");
  153. NSLog(@"Bu1TqbKaUNs0vxRl3hG");
  154. NSLog(@"OK0bp6ItoTEQdBmr");
  155. NSLog(@"fMZnqD1gmpzKOXcr0uTlSY7W3A6FRoIQH");
  156. NSLog(@"AgnBklGLVOoDWU5TfKHhvqQSsX2xzdIt");
  157. NSLog(@"48PMWNfHQovg");
  158. NSLog(@"vzrb8CkG7ViSysRETdLHY");
  159. NSLog(@"k1wNcgamfhv");
  160. NSLog(@"iEp4UzMVDx5KHC3Fmd");
  161. NSLog(@"dXhxWz2ayCF");
  162. }
  163. @end