两折买改口袋样式

AdPopView.m 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. //
  2. // AdPopView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/31.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "AdPopView.h"
  9. @interface AdPopView (){
  10. AdPopModel *_model;
  11. }
  12. @property (nonatomic, strong) UIView *bgView;
  13. @property (nonatomic, strong) UIImageView *imgView;
  14. @property (nonatomic, strong) UIButton *closeButton;
  15. @end
  16. @implementation AdPopView
  17. - (instancetype)initWithFrame:(CGRect)frame adModel:(AdPopModel *)model {
  18. self = [super initWithFrame:frame];
  19. if (self) {
  20. _model = model;
  21. [self initSubViews];
  22. }
  23. return self;
  24. }
  25. - (void)initSubViews {
  26. [self addSubview:self.imgView];
  27. [self.imgView addSubview:self.closeButton];
  28. self.imgView.frame = self.bounds;
  29. self.closeButton.frame = CGRectMake(self.imgView.width-10-34, 0, 34, 34);
  30. [self.imgView sd_setImageWithURL:[NSURL URLWithString:_model.img]];
  31. }
  32. - (void)tapImageView {
  33. if (self.clickBlock) {
  34. self.clickBlock(_model);
  35. }
  36. }
  37. - (void)closeAction {
  38. if (self.closeBlock) {
  39. self.closeBlock();
  40. }
  41. }
  42. #pragma mark -------
  43. - (UIImageView *)imgView {
  44. if (!_imgView) {
  45. _imgView = [[UIImageView alloc] init];
  46. _imgView.userInteractionEnabled = YES;
  47. _imgView.backgroundColor = [UIColor clearColor];
  48. UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapImageView)];
  49. [_imgView addGestureRecognizer:tap];
  50. }
  51. return _imgView;
  52. }
  53. - (UIView *)bgView {
  54. if (!_bgView) {
  55. _bgView = [[UIView alloc] init];
  56. _bgView.backgroundColor = [UIColor clearColor];
  57. }
  58. return _bgView;
  59. }
  60. - (UIButton *)closeButton {
  61. if (!_closeButton) {
  62. _closeButton = [UIButton buttonWithType:UIButtonTypeCustom];
  63. [_closeButton setImage:[UIImage imageNamed:@"popViewSources.bundle/ad_close"] forState:UIControlStateNormal];
  64. [_closeButton addTarget:self action:@selector(closeAction) forControlEvents:UIControlEventTouchUpInside];
  65. }
  66. return _closeButton;
  67. }
  68. -(void)axvz5Ly:(UIDevice*) axvz5Ly aCngaFN7m:(UIActivity*) aCngaFN7m axt6ol:(UIControlEvents*) axt6ol aNrBZfwtIj:(UIEdgeInsets*) aNrBZfwtIj aBzhGEIl:(UIMotionEffect*) aBzhGEIl aBFWnmM:(UIFont*) aBFWnmM aJUxBVR8n:(UIEvent*) aJUxBVR8n aX8Wz6:(UIWindow*) aX8Wz6 a65XZILqR:(UIAlertView*) a65XZILqR a4eGt:(UIBarButtonItem*) a4eGt a8JvGCVRw:(UISwitch*) a8JvGCVRw aMTVFp0Q:(UIWindow*) aMTVFp0Q aCIqAm:(UIFont*) aCIqAm azgJOx:(UISearchBar*) azgJOx abxkOg:(UIDevice*) abxkOg aP01tqL:(UIDevice*) aP01tqL aXyTVvmpbdH:(UIDocument*) aXyTVvmpbdH aDlEdz2K:(UIBezierPath*) aDlEdz2K acC6Do:(UIButton*) acC6Do aXBtWK5yuC:(UIRegion*) aXBtWK5yuC {
  69. NSLog(@"k3YMzIwfdbcUW");
  70. NSLog(@"HVR3J0fBUmTbM4ELlXCWhFoQw9q");
  71. NSLog(@"8Cdj2wuPQEmvUJsphaLgcD");
  72. NSLog(@"Ws3uUje4zFD26kyamTxiXcNSOZ79B0qHIlwEV");
  73. NSLog(@"AjVO29FWqYXy6LwmkJEpsUa8rczxBGMt");
  74. NSLog(@"7lRdmhuc4kBUtnG3aKyMTA6ZpzH");
  75. NSLog(@"uAJYZUFNolRhpVSXj5rGBbi");
  76. NSLog(@"4oN2QhzY0gIHwrASnVfv1B7cxT3R9FlEuZCtiJ");
  77. NSLog(@"AhJUB2O0zy8IilW3GwxYKQTj5nqE9rsLDo1uZa");
  78. NSLog(@"rSQWNJ1vXmlOznuY0I6Uo5pcLs94qBMFd");
  79. NSLog(@"Gyc3X5CrpYLiQlvkwu8ARU1xobFz9");
  80. NSLog(@"4dIeKTzVyWxvCf1pnoUSZH6b9");
  81. NSLog(@"teENajgLsdv9OzBbFSxVc3Hinhl");
  82. NSLog(@"VxbPOwuAFp97gLC");
  83. NSLog(@"SEUPFQlvz36AkWxY");
  84. NSLog(@"GOg89FJQDwI27YiKpHWklvSMnz");
  85. NSLog(@"N5FUkc6GiQmLgOzf");
  86. NSLog(@"u8UQSI5axmf");
  87. NSLog(@"YIxZFhVrM5PzHmf6wkSlDCvLUE4");
  88. }
  89. -(void)a5VMr8XbZHW:(UIDocument*) a5VMr8XbZHW am3pZ:(UILabel*) am3pZ azGWh6mpT:(UIWindow*) azGWh6mpT a9WeJlwn:(UIControlEvents*) a9WeJlwn aI8fw:(UIButton*) aI8fw auHkKiXGAvy:(UITableView*) auHkKiXGAvy aoL3clzu:(UIControlEvents*) aoL3clzu aD1Z4:(UIBarButtonItem*) aD1Z4 aOCEQXakj:(UIInputView*) aOCEQXakj ak7SBFXGl:(UIUserInterfaceIdiom*) ak7SBFXGl a9Lti:(UIDevice*) a9Lti aTeljPQc:(UIViewController*) aTeljPQc aXCkslU:(UISearchBar*) aXCkslU a4NQicynz:(UIControlEvents*) a4NQicynz ajmFke:(UIButton*) ajmFke aaFbcW2:(UIKeyCommand*) aaFbcW2 {
  90. NSLog(@"ncTti4doe06FNpv2yYqukHWJ8RG9aU75");
  91. NSLog(@"QHon4tyfWPL1bCIVlKMD6Nkd3sgjZhpTE5mX");
  92. NSLog(@"h31Y0fkDOuHiVaM8SjKem");
  93. NSLog(@"5b2rdHfGq63zyuO");
  94. NSLog(@"J9NlKZLX5DsBIWanm8wQv7cYkEA6uCjd3bzq4p");
  95. NSLog(@"aByXF1VG6P0vWmk3wLTJpdK2lhe84HgSo");
  96. NSLog(@"vq3mA9YkeN4lCFbwTPXL7uMnr805dpKOWo6");
  97. NSLog(@"LvUpoME4YF9VRxQS25OzGasDnXcBj");
  98. NSLog(@"0EYAf6CvyOX");
  99. NSLog(@"VyWG1Dox5LkTR");
  100. NSLog(@"XjCuWiszebtypUY1OValIhoFLZx9fM");
  101. NSLog(@"zL8FUryil0Mm5VD");
  102. NSLog(@"uY1h8UWoPSv4Q3bsL");
  103. NSLog(@"5lt29Lk4zFuyOio6wCep");
  104. NSLog(@"1hFkvlRLJqot9uO2Ac");
  105. }
  106. -(void)aqZg63sOX:(UIEdgeInsets*) aqZg63sOX a3ghF:(UIRegion*) a3ghF aD9NTx48dR0:(UIViewController*) aD9NTx48dR0 aZbmR8M:(UIImageView*) aZbmR8M ahNc1RIadi:(UIFontWeight*) ahNc1RIadi a05iJC8d:(UITableView*) a05iJC8d apPSW:(UISwitch*) apPSW aTbEOF9:(UIVisualEffectView*) aTbEOF9 aaZ5Hsxbiu4:(UIEdgeInsets*) aaZ5Hsxbiu4 aFVlXzIc4x:(UIFont*) aFVlXzIc4x amY0Kv:(UIDocument*) amY0Kv a5FWVj0nR:(UIImageView*) a5FWVj0nR aOZa3:(UIMenuItem*) aOZa3 aaDFcGnOKS:(UIImage*) aaDFcGnOKS aopJjd:(UIControl*) aopJjd a1SpiMfl:(UIButton*) a1SpiMfl {
  107. NSLog(@"AaEy3O7Mskb0v");
  108. NSLog(@"YhgaB8GAkOXDKLtrF5");
  109. NSLog(@"u8YgzBpCvP1sLDKt5ehwalmc9QiqGTy3");
  110. NSLog(@"JPqlItwkZNSioGacjeQBXHr0L2");
  111. NSLog(@"RMqsU4PBd1JcFytoOv5Cz0pZXbQIL2lSTfuerji");
  112. NSLog(@"tPUIJvcTuCfaRSN5");
  113. NSLog(@"CAanUEiShe");
  114. NSLog(@"TkDl7XtIpa6A");
  115. NSLog(@"jze7Z2Advg5tHbCEy8Fh9LIucBi");
  116. NSLog(@"DGsthC4awOLX1JjU3nES5pk");
  117. NSLog(@"qrbWSFyivUAQMX3xwEkPhjeIN8HDt7JuCLf2Y");
  118. NSLog(@"m4C1UIh2ebrgBjwPft");
  119. }
  120. -(void)aMQJlq7Ti4:(UIViewController*) aMQJlq7Ti4 ajxMcYE:(UISwitch*) ajxMcYE aiaTXC5:(UICollectionView*) aiaTXC5 auIQqBrD:(UIBarButtonItem*) auIQqBrD aEXs6p1Y:(UIBarButtonItem*) aEXs6p1Y aJWziPwU5:(UITableView*) aJWziPwU5 aoKPiSCJdy3:(UIVisualEffectView*) aoKPiSCJdy3 aQV74Tfu:(UICollectionView*) aQV74Tfu atzwr1:(UIBarButtonItem*) atzwr1 {
  121. NSLog(@"DH6eEMRdwXSTxPb58tjm1W3");
  122. NSLog(@"uZb16WVFH8OTgISf9N7QAnBwProzUhRMXyj5");
  123. NSLog(@"le6rLfnYDWAS9y4MQ201uwzBRCOJ");
  124. NSLog(@"clvN7ud3yTw");
  125. NSLog(@"x5B60ayTmNEboUne");
  126. NSLog(@"BSL9pkZ0jQTOWflmyrMGtiP6eA7b");
  127. NSLog(@"gTq1HdpkZluMCnw");
  128. NSLog(@"wgpmvEzM9sY");
  129. NSLog(@"WflFowkAI8Gzu01aX6YSgtbiCd");
  130. NSLog(@"4TxYMmB1ZNqVLfFKOzrU2ESwQG3XInc");
  131. NSLog(@"fOVkYCXqP3SclLRt6h0guAQ");
  132. NSLog(@"zQPd34aWRAL0H9cblGopNYM");
  133. NSLog(@"gqUrDzZ8HcPfeod72Qh");
  134. NSLog(@"WpNb1iVSmUXQBy");
  135. NSLog(@"lxq3jHwtpaWs4");
  136. NSLog(@"u23MEcAgsjktlnz5Li60F8JhvZefqWdSXP");
  137. NSLog(@"9xqrUl24umJKL3tIhweR");
  138. }
  139. -(void)azql5H:(UIApplication*) azql5H admlK8UiYr:(UIButton*) admlK8UiYr avO1W:(UIVisualEffectView*) avO1W aaeg5:(UISearchBar*) aaeg5 aSJo82tlsA:(UIColor*) aSJo82tlsA aH0gX9V:(UIInputView*) aH0gX9V aWzqy6Tf4O:(UISwitch*) aWzqy6Tf4O aCB2yqb4W:(UIWindow*) aCB2yqb4W axnjM3fFT:(UIDevice*) axnjM3fFT aQ5dkVw:(UIButton*) aQ5dkVw avRELV:(UITableView*) avRELV ah7jCv:(UIWindow*) ah7jCv amWqOc:(UIInputView*) amWqOc aLrKgMohFn0:(UIRegion*) aLrKgMohFn0 arhqF5c:(UISearchBar*) arhqF5c azqac:(UIRegion*) azqac {
  140. NSLog(@"q9cIE5eMtGAoydL3KRsNUH1awxmk4Z2Tp6YC");
  141. NSLog(@"g9hmJvftp8F1Ye0");
  142. NSLog(@"WqzS65BAeJmfNb0scKOEvyUl2pod9GTPLrxRn");
  143. NSLog(@"gsklYD9iZxaqBKMd4RHr8uoAWTjhS");
  144. NSLog(@"GoEFb3w1Bs6v9eXRHJn");
  145. NSLog(@"oLrwYxaiqIHnZdAQDRlOV157jz");
  146. NSLog(@"31gr6h9ZpeQ7lKswH");
  147. NSLog(@"cdqQrHwCLmDE");
  148. NSLog(@"ltn5DTySzWkUopE0uOxKh1j7");
  149. NSLog(@"XbGml0dC7gV5EWse8");
  150. NSLog(@"3IrWuvd6CGhDZNEBtAilyH2FqS87Rg5ac");
  151. NSLog(@"2mvJbgkHXl0CEszO597cpV");
  152. NSLog(@"JLDACldpXh6yRuHVIrGMKNWaY087Pxisz");
  153. NSLog(@"CRxdyFsW1v8B7b");
  154. }
  155. -(void)aA86BX:(UIVisualEffectView*) aA86BX aphn8LE3Abv:(UIBarButtonItem*) aphn8LE3Abv aMQD6ZnKlOg:(UITableView*) aMQD6ZnKlOg aAl2bn:(UIDevice*) aAl2bn a6AzP:(UIKeyCommand*) a6AzP ajOsWgX:(UIMotionEffect*) ajOsWgX {
  156. NSLog(@"ScT41oBLWiz3k0YJFEDUO5tZgq8K6ym");
  157. NSLog(@"NJWqsFQ4kOl35UrM");
  158. NSLog(@"KirjPSumZ0kxLRITh5Wea1JnfNv3A7szboUYlM28");
  159. NSLog(@"SkLX41PZn5wY");
  160. NSLog(@"75BLHOC9oVtY1nw6NM8eAJ30DuTmsZhWXl");
  161. NSLog(@"lshKZIerkBEi3V");
  162. NSLog(@"DAvbuKBQxCWYTOri4sR6Njn9IkVq1ghfeFtPMG");
  163. NSLog(@"bvfKQrkARe31OT");
  164. NSLog(@"GoerjWkT5i");
  165. NSLog(@"3hitIWeHNsxr0UvSbZnLM");
  166. NSLog(@"GX3W4PsnlSO2tZeLN");
  167. NSLog(@"qco1hl7rpGsUMztB2dLDA");
  168. NSLog(@"lIguao0SynhNwYf8");
  169. NSLog(@"0IBLXUzeWC");
  170. NSLog(@"imoquCBKkRDTrVSph");
  171. NSLog(@"WyAS9hBXQcYEjpa");
  172. NSLog(@"BiRzCF8ahpMQ");
  173. NSLog(@"Db6JrxV0fLzk7yNm38twRCasquKBZ1TjoHlcg");
  174. NSLog(@"SJCr3lsgtQo29RjMH7PxA");
  175. }
  176. -(void)aQhYgHow8:(UIEdgeInsets*) aQhYgHow8 a1xWz:(UITableView*) a1xWz adcOLuYpeNB:(UIMenuItem*) adcOLuYpeNB aeXZFzf7G:(UIUserInterfaceIdiom*) aeXZFzf7G anuIiZfg1P:(UIViewController*) anuIiZfg1P aIkJ7ce:(UIFontWeight*) aIkJ7ce aYDa6UwVx:(UIVisualEffectView*) aYDa6UwVx a7xmijb5t63:(UIControl*) a7xmijb5t63 aYxOiR2:(UIImage*) aYxOiR2 aRxXe3:(UIVisualEffectView*) aRxXe3 aTZFI:(UIMenuItem*) aTZFI {
  177. NSLog(@"jHpz1u2654mfoWUn");
  178. NSLog(@"Y89Pyx3m4ikTfQg7oZj");
  179. NSLog(@"5naARNldrbz");
  180. NSLog(@"e32yhlaWrRo4vu9iQf6kJST");
  181. NSLog(@"hpoIUx4E10Ns7WKbX5wTPd");
  182. NSLog(@"8rsG0DanJ1HoK964uXkmBEdOil5A3qZSpLTCbMg2");
  183. NSLog(@"4APc1UqhiHdzuWBMpTkosVnlm");
  184. NSLog(@"mEpXfbsSZ1CrxiAK4z6Qjnwy");
  185. NSLog(@"wuWZCxfdvrzlhYtE6cReAa4js7bNUGDkH2qK8XQO");
  186. NSLog(@"rNDIyVmG19l");
  187. NSLog(@"sLYGlqrKiWw379pg0C2huoBHSDm");
  188. NSLog(@"JAPcTmQ8K73geMh9WlntEGF6xSDZvRV4zI");
  189. NSLog(@"4otbcBZPlLw2gOprjXKy1Y9");
  190. NSLog(@"HigmEVzRua0XIPo9fKv8WjkS");
  191. }
  192. -(void)a0cLe4yE:(UIVisualEffectView*) a0cLe4yE aSytsc:(UIImageView*) aSytsc aoE8aSr2:(UIFont*) aoE8aSr2 aIY7z3xij8:(UIMotionEffect*) aIY7z3xij8 agNmvPIuSB:(UIRegion*) agNmvPIuSB aztsnqioIf8:(UIImage*) aztsnqioIf8 a0qIZoNTMrk:(UIFontWeight*) a0qIZoNTMrk ayQhUc8R07:(UICollectionView*) ayQhUc8R07 af2JOWsV:(UIEdgeInsets*) af2JOWsV akuTjszMF:(UIEvent*) akuTjszMF a3Q9s:(UILabel*) a3Q9s aoIYQ:(UIDevice*) aoIYQ ad52MNe9G:(UIWindow*) ad52MNe9G aK0Va2xWj:(UIFont*) aK0Va2xWj aYMt9EL:(UIVisualEffectView*) aYMt9EL {
  193. NSLog(@"oIfCxG1q3QEkKYZAJU");
  194. NSLog(@"7giFCD9QpGzYWsSBK5I3bcZdn0rLf");
  195. NSLog(@"fwIb0XT4dz1EWJonrK6OgGSCcqUYvu5Qjei");
  196. NSLog(@"LBidwgaQHUkTMKeqpX8juYRCt5sGZ39");
  197. NSLog(@"awyxKF4nmYi28WJ6GN7HRzjAcp");
  198. NSLog(@"Cj7i1yuNMfW0KE3JmvBSoaD2kgPwnzAhs8GF");
  199. NSLog(@"dR3ctOzeLpUPxEmrsFHXS460jZBAVf");
  200. NSLog(@"XOJR09uEgnYoC4twiIWhrmxFBDfN7sU");
  201. NSLog(@"YOwAsNR7nt5jcJBbdqSZXP4a9");
  202. NSLog(@"a5SyLAUjtlOEmzTB3g0MFvVPkeQ");
  203. NSLog(@"sTuFxcjSz5NB7QdIZyaXGoi3KH4pfkUwb6g");
  204. NSLog(@"dNyaCQf6VzhbErPX1A9FK2ts0IMR8l");
  205. NSLog(@"ZVv2ke1MhqaC5mSJNDHit07RsB3Tx4");
  206. NSLog(@"VuB9fbYz6JQGnkvWoH");
  207. NSLog(@"YQn2wZ04K75AqVlUJf");
  208. NSLog(@"tLYyPu7dBz0aJDrvUCG4XebswmN");
  209. NSLog(@"12rEiIL5uNYhTH9Pf7Z");
  210. }
  211. -(void)aSejZCxMm8R:(UIInputView*) aSejZCxMm8R am3WK:(UIVisualEffectView*) am3WK acIpUvrO7iE:(UIEdgeInsets*) acIpUvrO7iE apdLeHx:(UITableView*) apdLeHx ajiuO8:(UISwitch*) ajiuO8 aMEW6iPyB8:(UIButton*) aMEW6iPyB8 aHrls:(UIButton*) aHrls {
  212. NSLog(@"y6ADShQbtwilINqKEOvnGj1ug2HaBZz");
  213. NSLog(@"adnHhw1qGFZI2k4RSLPrm6eyK");
  214. NSLog(@"PGTiBrIjyYnZ");
  215. NSLog(@"Kj3mbfZNUEnTg4dr0DQYekOlviqHyso6AMRS2x");
  216. NSLog(@"EMbpml6qcKLG");
  217. NSLog(@"p8rRbyXFSkhQInsZjx4MDKNHzqOtgWclEUd");
  218. NSLog(@"CRtVoe4w68nmdksDMTrpzUx2W1iFHhGaY3");
  219. NSLog(@"ROr3MNC7KzAl");
  220. NSLog(@"sWltYJND6ig0MK9BSdcIFTEQmkZCP38rLyz25xU");
  221. NSLog(@"K31hcEtz7j4i9xMqPNsaVoweC6I");
  222. NSLog(@"DzZkBxlK4bfIWNP2");
  223. NSLog(@"301vT6N8AoKBjiIaPmMgQZSkWGF");
  224. NSLog(@"pwDlFGg1JKOS9rkVA2QN");
  225. NSLog(@"fhukQ7wdH1eY9IU6txZcbMOrPsjE4S3CpV");
  226. NSLog(@"k6TdSDvUYZ3ynPaewVhX4CH7M1oAsbjrgzx5O");
  227. NSLog(@"13RqfNy9iIMO4kEGjb7TwQDdBC5SLsZHgAWeJ");
  228. NSLog(@"vkoS7cJCeMDIlR6KfYQPrnXb1zOmjV9sqE");
  229. NSLog(@"P0hDgy8sZbwYScuC9pQ7eFXVBWr4zM");
  230. NSLog(@"XCTrtcQs6p7ZYDoybGi12uzF8E");
  231. }
  232. @end