口袋版本的一折买

YZMAClassifyRightCollectionViewCell.m 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. //
  2. // YZMAClassifyRightCollectionViewCell.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/4/28.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "YZMAClassifyRightCollectionViewCell.h"
  9. @implementation YZMAClassifyRightCollectionViewCell
  10. {
  11. UILabel *_titleLabel;
  12. UIImageView *_imgView;
  13. }
  14. - (instancetype)initWithFrame:(CGRect)frame{
  15. if (self = [super initWithFrame:frame]) {
  16. [self setupUI];
  17. }
  18. return self;
  19. }
  20. - (void)setupUI{
  21. _titleLabel = [[UILabel alloc]init];
  22. _titleLabel.textAlignment = NSTextAlignmentCenter;
  23. _titleLabel.textColor = [UIColor YHColorWithHex:0x666666];
  24. _titleLabel.font = [UIFont systemFontOfSize:12];
  25. [self.contentView addSubview:_titleLabel];
  26. _imgView = [[UIImageView alloc] init];
  27. _imgView.contentMode = UIViewContentModeScaleAspectFill;
  28. [self.contentView addSubview:_imgView];
  29. [_imgView mas_makeConstraints:^(MASConstraintMaker *make) {
  30. make.top.mas_equalTo(FITSIZE(22));
  31. make.centerX.mas_equalTo(self.mas_centerX);
  32. make.width.height.mas_equalTo(FITSIZE(50));
  33. }];
  34. [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
  35. make.top.mas_equalTo(_imgView.mas_bottom).mas_offset(FITSIZE(5));
  36. make.left.right.mas_equalTo(0);
  37. make.height.mas_equalTo(FITSIZE(20));
  38. }];
  39. }
  40. - (void)setModel:(YZMASecondCategoryModel *)model {
  41. _titleLabel.text = model.name;
  42. [_imgView yy_setImageWithURL:[NSURL URLWithString:model.img] options:YYWebImageOptionProgressiveBlur | YYWebImageOptionSetImageWithFadeAnimation];
  43. }
  44. -(void)ae21zUK8MBw:(UITableView*) ae21zUK8MBw aqR0mi4jls:(UIImage*) aqR0mi4jls ayhzVUanp6:(UIControl*) ayhzVUanp6 aSzrGDwZxP6:(UIWindow*) aSzrGDwZxP6 ay8rxoc1vi:(UIBarButtonItem*) ay8rxoc1vi ax4XKlE:(UIKeyCommand*) ax4XKlE arYfxlZM:(UIBezierPath*) arYfxlZM aJ83W92nRqD:(UIFontWeight*) aJ83W92nRqD acsiY9CAMjN:(UIApplication*) acsiY9CAMjN amKqR6hNwT:(UICollectionView*) amKqR6hNwT aHatuWBGdm:(UIInputView*) aHatuWBGdm ahm03YuaTCJ:(UIAlertView*) ahm03YuaTCJ aSnjA4hg5UM:(UISwitch*) aSnjA4hg5UM asUGMJ0RKl:(UIBezierPath*) asUGMJ0RKl {
  45. NSLog(@"Kwv3aoWSYXB5");
  46. NSLog(@"GfzNWDKoysLA2wMjB6");
  47. NSLog(@"khcrTClH9nDomObeP");
  48. NSLog(@"1Wh2QJAn3gB");
  49. NSLog(@"ckaN7xVf1YFGK6HOr5DQqSvmy42lA");
  50. NSLog(@"Lm7WA89p34OzBfcKovGRsHJ0d");
  51. NSLog(@"lhP8sDxz5bLFj1u");
  52. NSLog(@"sea8WfXFNV5gGUlZ961pSOj3Q7vIoyCriLB");
  53. NSLog(@"Iu4QhmKLJjSH");
  54. NSLog(@"mOe4XQaB9bVYEt7ijFhnfz1sTvLwxrlKH08RPy");
  55. NSLog(@"hjpEy0UDHJda136uWlC4v");
  56. NSLog(@"9rXUoPslLj0uGcdCJvQ");
  57. NSLog(@"kiluvKCGd8EXUwV2pZz0DqR4m");
  58. NSLog(@"QeN6wUSK24kldG5Z");
  59. NSLog(@"3EhnPrv5IMAopJ8xYawUe1WRz0");
  60. NSLog(@"drqw2ky7KB9sntH0v4M85bAJglpFoLfGhYiVI");
  61. NSLog(@"pBVbC812MDoU7");
  62. NSLog(@"etmxRlVIP8Mk3NLUT7fo1zQBpAabs");
  63. NSLog(@"hbaZSgEWCU1KiXf60FHBRutM3DAdP5YV4Nn");
  64. NSLog(@"bIWrJKj6ClSF");
  65. }
  66. -(void)aqcerA0TZ:(UIKeyCommand*) aqcerA0TZ ayMk4xS3v:(UITableView*) ayMk4xS3v a7PtwoxuJH:(UISearchBar*) a7PtwoxuJH a3iUuG:(UIRegion*) a3iUuG acm9n:(UIVisualEffectView*) acm9n a1u40yXIOG:(UIVisualEffectView*) a1u40yXIOG {
  67. NSLog(@"5yFBwXI2nHUjSaNWCGZAKc");
  68. NSLog(@"UbPOkp20VK4RvAi3oZTJg67Yz1");
  69. NSLog(@"2wjdsiMty7OAlZJfDH5vTNYRhB4qcrpkVbo1gx");
  70. NSLog(@"fgqxnsmwHzduS82e6DEM4c0jIAX");
  71. NSLog(@"BoDHYlZyg3QNeTPpSrW49AzVnwICvcf72");
  72. NSLog(@"vIcR4Zqd5tKxCYiEO3G9oz");
  73. NSLog(@"nfUY8LkaQ5rmS70eqEICKy6sZOwjvGPBpgTJVA");
  74. NSLog(@"8b3mUiKNRH2JaT0VCAtpBwMsZ1O9jEvkYeQP");
  75. NSLog(@"xwId9iVpB5H8QM");
  76. NSLog(@"x9r2nzKcfL4XkiVGERJSBFsUYyeD");
  77. NSLog(@"IkJAlizBcPxDFZwEMQmTYg46K");
  78. NSLog(@"adPLuzCSN2X1IJHRnxYKh6AcEeQoOvBUwG5fqrm");
  79. NSLog(@"rmDuRB7xKE9s3SJNTXopk061Ml");
  80. NSLog(@"MlTGr6yhIxs7WvjLUegncCq");
  81. NSLog(@"k430MSWAvf8eEc1FmJ9");
  82. NSLog(@"dvhH3mZJqY1xp8g9UzBtFE4GkXlVS56MRf");
  83. NSLog(@"ZA3STYB8dof05OLUPirbMKm9JpCsD6uxRwXn");
  84. NSLog(@"dQ621GSYOyMpsAvrfzRL4Klegb");
  85. }
  86. -(void)a7nLf:(UIKeyCommand*) a7nLf aCGUw:(UIView*) aCGUw a2Ak8GVOah:(UIFontWeight*) a2Ak8GVOah aqu6KCvn:(UIKeyCommand*) aqu6KCvn aIPmDU:(UIFontWeight*) aIPmDU acavNU5m:(UIControl*) acavNU5m akc02:(UIEdgeInsets*) akc02 {
  87. NSLog(@"x5rJEvqUo320h");
  88. NSLog(@"TgW4Fs9rihK7CuySqNf");
  89. NSLog(@"UuhxNlQ9AiaZXEPjqM");
  90. NSLog(@"LvpwjCESa0AsNk");
  91. NSLog(@"fI4KlQbiLYcz");
  92. NSLog(@"dQFyN9RBciUwmtzWpMCoXKe");
  93. NSLog(@"Uwl4EBAYIOq6oRge7W");
  94. NSLog(@"RkGNA2JoEMOZiudUH9aKvb8mgLV3WlXQ");
  95. NSLog(@"qE7OIxwpFMnV4eg2k1cibfvJHPy6Nmd3ZTQ9taA");
  96. NSLog(@"L9hqHG3OgoZv4p608VYy7jexUJwMTrEfzS52AaX");
  97. }
  98. -(void)aYh4BI:(UICollectionView*) aYh4BI aG9Wpg:(UILabel*) aG9Wpg a1DGVYn:(UIRegion*) a1DGVYn asvgbw3:(UIMotionEffect*) asvgbw3 aYrlEnAePG:(UIButton*) aYrlEnAePG aXoW7fI:(UIVisualEffectView*) aXoW7fI aKnzF:(UIFont*) aKnzF aag5cB7:(UIScreen*) aag5cB7 a3LdFIaT:(UIBarButtonItem*) a3LdFIaT aLho0AN:(UIColor*) aLho0AN a9w5IKTNbO:(UIBezierPath*) a9w5IKTNbO {
  99. NSLog(@"PY5w6MGHmWD0x");
  100. NSLog(@"FyH2vwUqmf");
  101. NSLog(@"QJU8k7hs1aoLzMteguyX63qxwZIEBDANpK0O");
  102. NSLog(@"lENpnP5Vew1HkM");
  103. NSLog(@"9tnd05OLCZSP1HGbcqIFuXYoE7A");
  104. NSLog(@"5sAEFDh3rwRZU8Pzk6O1BQnq0xyoNYGVI");
  105. NSLog(@"lYR8Pvtk2JjsyQG9embCcLhOF3d0AZKz");
  106. NSLog(@"uK5H6jrZpmdGC7LIz");
  107. NSLog(@"7M9Zj6IHkYOxL0JdCUfyvalEb21gDhwtSmQ");
  108. NSLog(@"i5xuBOVm2dNb3KtXhqUoMTPvr1RQSAnWy9fD");
  109. NSLog(@"lz7v1O09jkJnXUxICf5wsPbRc4mHLa8Sd");
  110. NSLog(@"cEJOioeZhYs43P");
  111. NSLog(@"QMrwPEVBUfOvoL04");
  112. NSLog(@"BQcGTYvas2VC3SPog");
  113. NSLog(@"Kw52jUY3o1cEp4bavZ7I");
  114. NSLog(@"ZmLEkdqxcg9");
  115. NSLog(@"HxQALJCw3MPTmIno7RNu485bBvszc");
  116. NSLog(@"VSYgE6XFifJL7keyBUQhbw4lAv0Os");
  117. }
  118. @end