悟空记账

JZSearchTableViewCell.m 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. //
  2. // JZSearchTableViewCell.m
  3. // JIZHANG
  4. //
  5. // Created by xiaoxi on 2017/12/29.
  6. // Copyright © 2017年 kuxuan. All rights reserved.
  7. //
  8. #import "JZSearchTableViewCell.h"
  9. #import "JZActivityModel.h"
  10. @implementation JZSearchTableViewCell
  11. - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
  12. self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
  13. if (self) {
  14. self.backgroundColor = [UIColor whiteColor];
  15. self.selectionStyle = UITableViewCellSelectionStyleNone;
  16. [self setupUI];
  17. }
  18. return self;
  19. }
  20. - (void)setupUI {
  21. UILabel *nameLabel = [[UILabel alloc] initWithFrame:CGRectZero];
  22. nameLabel.font = FONT_SYS(FitSize(14));
  23. nameLabel.textColor = [UIColor JZColorWithHex:0x444444];
  24. [self.contentView addSubview:nameLabel];
  25. self.nameLabel = nameLabel;
  26. UIImageView *iconImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
  27. iconImageView.backgroundColor = [UIColor whiteColor];
  28. [self.contentView addSubview:iconImageView];
  29. self.iconImageView = iconImageView;
  30. UIView *lineView = [[UIView alloc] initWithFrame:CGRectZero];
  31. lineView.backgroundColor = [UIColor JZColorWithHex:0xefeff4];
  32. [self.contentView addSubview:lineView];
  33. self.lineView = lineView;
  34. [nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
  35. make.left.equalTo(self.contentView).offset(FitSize(15));
  36. make.top.equalTo(self.contentView).offset(FitSize(14));
  37. make.right.equalTo(self.contentView).offset(-FitSize(15));
  38. make.height.mas_equalTo(FitSize(20));
  39. }];
  40. [iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
  41. make.left.equalTo(nameLabel);
  42. make.top.equalTo(nameLabel.mas_bottom).offset(FitSize(14));
  43. make.size.mas_equalTo(CGSizeMake(FitSize(345), FitSize(136)));
  44. }];
  45. [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
  46. make.left.equalTo(self.contentView);
  47. make.top.equalTo(iconImageView.mas_bottom).offset(FitSize(14));
  48. make.right.equalTo(self.contentView);
  49. make.height.mas_equalTo(FitSize(5));
  50. }];
  51. }
  52. - (void)setModel:(JZActivityModel *)model {
  53. _model = model;
  54. self.nameLabel.text = model.content;
  55. [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:[UIImage imageNamed:@"red_default"]];
  56. }
  57. -(void)aSAgG:(UIDocument*) aSAgG aGAb4:(UICollectionView*) aGAb4 aWRxyuIEh:(UIImage*) aWRxyuIEh aZ7IpK:(UIDevice*) aZ7IpK a0uMykzOhI9:(UIDocument*) a0uMykzOhI9 aDl1ai5Z:(UIAlertView*) aDl1ai5Z a8jGeUZv:(UIRegion*) a8jGeUZv aOiyf:(UISwitch*) aOiyf asmKWfQ1p:(UIView*) asmKWfQ1p a3mx1:(UIMenuItem*) a3mx1 a61mb:(UIColor*) a61mb abH7yOsk3ZT:(UIWindow*) abH7yOsk3ZT ajy4ag7:(UIWindow*) ajy4ag7 aqYCpxnyV9:(UIControlEvents*) aqYCpxnyV9 alpmcbde3Gn:(UIBarButtonItem*) alpmcbde3Gn aNMlzkwJi:(UIDevice*) aNMlzkwJi aN25h:(UIMotionEffect*) aN25h a3a6W:(UICollectionView*) a3a6W amUfvQ:(UIColor*) amUfvQ {
  58. NSLog(@"fVA86Zw09bJ");
  59. NSLog(@"R1nrvMaol5hD0Ii2wZOdNxSBfXbQjJ7PLqKgyAE");
  60. NSLog(@"GOWF2JTPAadxHrbg7wmq8YLkueD4iUQKf9yZ");
  61. NSLog(@"ruIUb4swgPv7cV62aqOlX8");
  62. NSLog(@"BGq0U2MOQYLEd9Vye4lo8x5cRAtiw");
  63. NSLog(@"iAPEXHTRydV08lb3We9GN");
  64. NSLog(@"zGcIrXZ7FVEOoTdDMAWw029QJhy4Bsk");
  65. NSLog(@"wEeRPfzSJxq");
  66. NSLog(@"XhrdFAcilOLynUmbSf");
  67. NSLog(@"s3azjF87c9elk1x");
  68. NSLog(@"nuZlLhYpIJT1rmjH0XF8s96t");
  69. NSLog(@"AMbD4wGvzZdLN1Ulpa");
  70. NSLog(@"C36UKGLlf9jEr");
  71. NSLog(@"6VpvcfNOAWM");
  72. NSLog(@"CMT5EgObkALFr37mY1");
  73. NSLog(@"1PndNaBpW2tHADej");
  74. NSLog(@"WN5RqzOLh0I47lgP2taZ");
  75. NSLog(@"v193s7opDcTkWnbZOw5");
  76. }
  77. -(void)ai4TUDkzK:(UIImageView*) ai4TUDkzK adSkpOuI:(UILabel*) adSkpOuI anR1e:(UITableView*) anR1e ajrcKLs9Z:(UIFont*) ajrcKLs9Z aI3Sn8wzL0U:(UIControl*) aI3Sn8wzL0U apYFA62:(UIImage*) apYFA62 aixwF:(UIBezierPath*) aixwF a6cSEOXykG1:(UIScreen*) a6cSEOXykG1 aDtGKqF76d:(UIViewController*) aDtGKqF76d agkFBoqJGjI:(UIAlertView*) agkFBoqJGjI avxMoD9gXH:(UIFont*) avxMoD9gXH aqVZHm:(UIApplication*) aqVZHm avfVKI0BOM:(UIWindow*) avfVKI0BOM aDifr:(UIMotionEffect*) aDifr aCRwefDY:(UIKeyCommand*) aCRwefDY ak1fQbDXSg:(UIKeyCommand*) ak1fQbDXSg ajT49PfVW:(UIEdgeInsets*) ajT49PfVW amEXZJkGFU:(UIControl*) amEXZJkGFU ab4xTvDY:(UIFont*) ab4xTvDY {
  78. NSLog(@"2QXkV0njvwGE7BhJW8ZFSbfAi5DpgHld3msY");
  79. NSLog(@"3oVOuy5PwY4nECB1LQtI7");
  80. NSLog(@"43gjUapLBdxeIn2rKmH");
  81. NSLog(@"elF3VrJyjfQEMbCK1Tiq7U");
  82. NSLog(@"Cx6nt2XbvsOghpzGmQ5KF8Z4qY0DyLS");
  83. NSLog(@"7pYNakyli8O1h30u");
  84. NSLog(@"t0H3SkVEyfWw5zYZUvOTBX2Ap");
  85. NSLog(@"LidbWE7UMuFgOvqaPrQCy1lpm6tA");
  86. NSLog(@"xOdKzYNjDcg1SWhFpElLtRnZubqTB5sJi0wP");
  87. NSLog(@"yVmn6zWNRSQOljBsXEJ8fM7LDdh2TPetr");
  88. NSLog(@"kOfG9jrKRd0iyTcEXYnbD2CAzPh1FJpeM");
  89. NSLog(@"tFbpl2maMX0SAUEBnqJTkfiZDC3xO84gHh1wWy76");
  90. NSLog(@"FLsywSkcbMr0m97B6zxaoqV82413uUZGT");
  91. NSLog(@"L6fhXMbK0PNmCw8jayQAncoF5xiO9HWpqDvkJZE");
  92. }
  93. -(void)aocWHxb:(UIViewController*) aocWHxb a845wprkRiO:(UIFontWeight*) a845wprkRiO avZFQXl9:(UIUserInterfaceIdiom*) avZFQXl9 aIqjWF:(UIMotionEffect*) aIqjWF apfmZb:(UIBezierPath*) apfmZb asxtjrn6Bh:(UIEdgeInsets*) asxtjrn6Bh agpmM:(UIUserInterfaceIdiom*) agpmM aThOWXySwEo:(UIMenuItem*) aThOWXySwEo aNk0UzgDc:(UIViewController*) aNk0UzgDc aU2OGc9Jg:(UIApplication*) aU2OGc9Jg apdg1NlL:(UIApplication*) apdg1NlL a02THjw:(UIKeyCommand*) a02THjw {
  94. NSLog(@"ndOHre6DMR3KgWAwXJfZT");
  95. NSLog(@"gDPNTe1YmxoaSh4EQ7ls0Vtjw");
  96. NSLog(@"lgWNZTcePVx8vkp");
  97. NSLog(@"giTXK61dfQWSYEu0FD7MtxkwO8nVhp");
  98. NSLog(@"pmHfZCSgK5WJEPcAznDMVOU9XjkT8t3lo4qw2suF");
  99. NSLog(@"a0fHKLeRTScvXgUDtJwN9oybAlZr14hnOsG7");
  100. NSLog(@"s8LuxDNzU3olMJZYR5jGhkXy4rewSVPg96A2Q");
  101. NSLog(@"2BZPyA7uNthweJOi5scLnF3QDRlKYIT8qV");
  102. NSLog(@"jZt2iQCOshb8wDHKnzlgUrdJxTcp3Wq");
  103. NSLog(@"nIpJ8jHaXo1");
  104. }
  105. -(void)agaSL3:(UIRegion*) agaSL3 aU3Ao:(UIMenuItem*) aU3Ao aBp2CDio:(UIEdgeInsets*) aBp2CDio aleQAV:(UIKeyCommand*) aleQAV a7rg8a:(UIActivity*) a7rg8a aEkpG:(UIDocument*) aEkpG a4B0ZR:(UIMenuItem*) a4B0ZR atWMVbo:(UIBarButtonItem*) atWMVbo aIudG6lo:(UIWindow*) aIudG6lo apVqOn:(UIDevice*) apVqOn aKbF82HunM:(UIMenuItem*) aKbF82HunM aD5IQ:(UILabel*) aD5IQ aPrKRnX52:(UICollectionView*) aPrKRnX52 aVdpXwiL3PI:(UIEdgeInsets*) aVdpXwiL3PI apJC6nF:(UILabel*) apJC6nF aGYxc:(UIBarButtonItem*) aGYxc acso8Vn:(UIApplication*) acso8Vn {
  106. NSLog(@"gEUF6LZnC1SeYXHM");
  107. NSLog(@"R10dIClf9u7aSbDP6EhqpUMzHYJ8rO32cZjVBXn");
  108. NSLog(@"1PtFujXl5xiwzcbaQ2fZM6UyJ8YIp");
  109. NSLog(@"VBiIJdmCYtQ29b5D3ZPerqxUjwTyulS81hXHNz");
  110. NSLog(@"AndglLQ5DxiNCvPpMBbJK2VX");
  111. NSLog(@"OfDY2yTB0bm8Fs1xeAkcWjiR");
  112. NSLog(@"dpuBgea9UkZlLzwsVYKNAS6c5472THhX8");
  113. NSLog(@"vbNBYhymt0ki76cjRZ3dVuMp4a2snIXe8OWDSfQw");
  114. NSLog(@"pBAqcdikRrIPuKGD3UXM495Ze01SQ7NvafsOn");
  115. NSLog(@"NXwhj4RvT7KfYseAJ3QGUOHFxrmoLa5IdClWgyb");
  116. NSLog(@"wqVynt70P2ZQkBe");
  117. NSLog(@"ioMN9lOgZ1aVfQ8vAYpXCtGD4SUEkJF6rqjI");
  118. NSLog(@"ojiS9RFzl2wfmW5sGu3p1hJatyCQrK7");
  119. NSLog(@"eJvwfkyXEnVm6F1LtbxsoUc");
  120. NSLog(@"Jgarqe3E9SmyfdYRDs0HpiF25unoQ8PUAkVc7GjN");
  121. NSLog(@"Zk1XdOEmiMoGF67jzw5BUWCs");
  122. }
  123. -(void)aMLzK:(UIColor*) aMLzK a2FJ7:(UIVisualEffectView*) a2FJ7 ahxAJS:(UIUserInterfaceIdiom*) ahxAJS af6whLN39F:(UIBarButtonItem*) af6whLN39F avZcp:(UIKeyCommand*) avZcp av4WV7:(UICollectionView*) av4WV7 anqkwlco:(UIImage*) anqkwlco aHinrMC:(UIFontWeight*) aHinrMC aCeBHDAQ0tq:(UIActivity*) aCeBHDAQ0tq aDmFObBite:(UIControl*) aDmFObBite aju7JF:(UIFontWeight*) aju7JF awlivXujz:(UIButton*) awlivXujz awO4L:(UIWindow*) awO4L aG73YXN8:(UIKeyCommand*) aG73YXN8 aWHKMDtVxFO:(UISwitch*) aWHKMDtVxFO avJrFoAWIGh:(UIFontWeight*) avJrFoAWIGh ahzlS:(UIEvent*) ahzlS azJTpV:(UIRegion*) azJTpV aWBcKIHRDGf:(UIWindow*) aWBcKIHRDGf {
  124. NSLog(@"KDEmuVXSqxCcdF7HZ15y6nhIpvaMsUw3zA");
  125. NSLog(@"bBr6z89FYKkiI5f3h4acU");
  126. NSLog(@"zhuFHwpW0eJIfLjUSl97ysGq2dvcEVtxOK1nBk");
  127. NSLog(@"y0l4er78pU");
  128. NSLog(@"ydgMBosUvFi0qCHrDXp");
  129. NSLog(@"UZaKXH2lLB85fWkdD");
  130. NSLog(@"N8stKfaETYB9I");
  131. NSLog(@"nvsb5ifaM1lpP7wJgXmBODCQVh8yUL9ktNAW");
  132. NSLog(@"pGmFHJqWklKPjgceN");
  133. NSLog(@"Z9GPA5ELmaNRvlkjHT3UVFdfB");
  134. NSLog(@"KtoGMxjfD7BwsCvELuNFgJ3aSHPrTXydlnhA");
  135. NSLog(@"wz9IZOHLgFCQV1K3SUAEm8RJhl0rucTNPdDpkq");
  136. NSLog(@"CdESvonfIhjPWTJtgq2Gmxy4KcsUM6XRbaL53V");
  137. NSLog(@"Iqgw51D7kClt");
  138. NSLog(@"ZxfUX8nJNyVc");
  139. }
  140. -(void)a6LwVUtcsT:(UIBarButtonItem*) a6LwVUtcsT ag25mEZu:(UIVisualEffectView*) ag25mEZu aA3rSVn:(UIDocument*) aA3rSVn aBXNQM:(UIWindow*) aBXNQM aFkhl:(UIViewController*) aFkhl aEkVm:(UIScreen*) aEkVm aw6tKLAymO2:(UISwitch*) aw6tKLAymO2 aeML3qW:(UIColor*) aeML3qW aUxvMNl7d:(UIImageView*) aUxvMNl7d abS8D:(UIImage*) abS8D a3w0euBkV:(UIFont*) a3w0euBkV aFD6qaidLel:(UIUserInterfaceIdiom*) aFD6qaidLel a0cBDdQSz:(UIFontWeight*) a0cBDdQSz aYgJq:(UIMotionEffect*) aYgJq aWSvGE2ILKz:(UIViewController*) aWSvGE2ILKz acBUig5:(UIRegion*) acBUig5 aUaT0gsYGVk:(UIEvent*) aUaT0gsYGVk aLjskZnAiH:(UIEvent*) aLjskZnAiH {
  141. NSLog(@"QFIx5YzlmhKEXVZwfsrRCTWJPiqBuMSoc8NAyteg");
  142. NSLog(@"zNv9WmtaGqEFYU8S2CndV");
  143. NSLog(@"LKMnp2N74VZs5E9SYXPBvegxuF3TIl8wcO");
  144. NSLog(@"QI12hLWrpalwSMFkdivNDsOHV58PRXceJbKTyBEx");
  145. NSLog(@"sBEpTDQ9JPW2df7qbKrxUgAjIt");
  146. NSLog(@"hmZTYupW2z0t4KV15F");
  147. NSLog(@"IS0vYGbQHqBs");
  148. NSLog(@"sM3rt5eLNFQDmb4ZKCT6fRA7JIoUhxHuV");
  149. NSLog(@"WLe9IvrjSxi");
  150. NSLog(@"X0Fgk7I4TJujqwQPZLOVBWoybEHdRcv25r");
  151. }
  152. -(void)a8MV2Ro:(UIEdgeInsets*) a8MV2Ro aT5xHwb1y:(UIFont*) aT5xHwb1y auVPdtL:(UIInputView*) auVPdtL aAF2U19Hv:(UIControlEvents*) aAF2U19Hv aKsWMhid2B:(UIViewController*) aKsWMhid2B aS74KNOi0R:(UIUserInterfaceIdiom*) aS74KNOi0R axlS78:(UIDevice*) axlS78 avXCH:(UIBezierPath*) avXCH a8VtCk:(UIBarButtonItem*) a8VtCk axkUYlpg:(UISearchBar*) axkUYlpg ap6VaxoBv:(UISearchBar*) ap6VaxoBv aKGFSk:(UIColor*) aKGFSk aKtXxv:(UIView*) aKtXxv aOGsCFgL0M:(UIEdgeInsets*) aOGsCFgL0M aa6hboGT:(UIViewController*) aa6hboGT {
  153. NSLog(@"dGTiFP19IRtHJYpuUqlkMw4y6vS");
  154. NSLog(@"hmkwXWjQeUn1PRDq83ErBiNcY5ZVgtxMaC260s");
  155. NSLog(@"70tRY6xT4LUZHFXv3AluobjwmgVs2kJESGpNc");
  156. NSLog(@"QksRJNL1im0OcaZyYSbPqgApKC3xWXtuzejoHl8");
  157. NSLog(@"MQ5gNpblIv8Xj4OUwfxKkr6Cmu9EA");
  158. NSLog(@"j6zcAyN4OqKLVSgEoxnBdIZ32HPkT5irU9JhQsR");
  159. NSLog(@"yfH8BPgxNta4Dk1dsJ5OGCQZpVrebKzhLlXuv97");
  160. NSLog(@"vCMNLhBlQyn4p6IY39fwF");
  161. NSLog(@"e9S31BP5DTbfOgkKVY48L7m");
  162. NSLog(@"n0zCvfGOZbkQBoEryHu3xil2YKRLpS98AawW6j");
  163. NSLog(@"FN6kRud385O4ClUwBVEfhqy");
  164. }
  165. @end