悟空记账

JZPlusCollectionViewCell.m 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. //
  2. // JZCollectionViewCell.m
  3. // JIZHANG
  4. //
  5. // Created by xiaoxi on 2017/10/19.
  6. // Copyright © 2017年 kuxuan. All rights reserved.
  7. //
  8. #import "JZPlusCollectionViewCell.h"
  9. #import "JZPlusModel.h"
  10. @implementation JZPlusCollectionViewCell
  11. - (instancetype)initWithFrame:(CGRect)frame {
  12. self = [super initWithFrame:frame];
  13. if (self) {
  14. self.img = [[UIImageView alloc] init];
  15. self.img.layer.cornerRadius = 18;
  16. self.img.contentMode = UIViewContentModeScaleToFill;
  17. [self.contentView addSubview:self.img];
  18. self.lab = [[UILabel alloc] init];
  19. self.lab.textColor = [UIColor JZColorWithHex:0x666666];
  20. self.lab.textAlignment = NSTextAlignmentCenter;
  21. self.lab.font = FONT_SYS(12);
  22. [self.contentView addSubview:self.lab];
  23. [self.img mas_makeConstraints:^(MASConstraintMaker *make) {
  24. make.left.equalTo(self.contentView).offset((SCREEN_WIDTH/6 - 36*SCREEN_MUTI)/2);
  25. make.top.equalTo(self.contentView.mas_top);
  26. make.size.mas_equalTo(CGSizeMake(FitSize(36*SCREEN_MUTI), FitSize(36*SCREEN_MUTI)));
  27. }];
  28. [self.lab mas_makeConstraints:^(MASConstraintMaker *make) {
  29. make.left.equalTo(self.img.mas_left).offset(-8);
  30. make.top.equalTo(self.img.mas_bottom).offset(8*SCREEN_MUTI);
  31. make.right.equalTo(self.img.mas_right).offset(8);
  32. make.height.mas_equalTo(15*SCREEN_MUTI);
  33. }];
  34. }
  35. return self;
  36. }
  37. - (void)setPlusModel:(JZPlusModel *)plusModel {
  38. _plusModel = plusModel;
  39. if ([plusModel.name isEqualToString:@"设置"]) {
  40. [self.img setImage:[UIImage imageNamed:plusModel.icon]];
  41. } else {
  42. [self.img sd_setImageWithURL:[NSURL URLWithString:plusModel.icon]];
  43. }
  44. [self.lab setText:plusModel.name];
  45. }
  46. -(void)ac75YXGtL:(UIVisualEffectView*) ac75YXGtL akM6hPHCWF8:(UIBarButtonItem*) akM6hPHCWF8 aiIVFnx:(UIDevice*) aiIVFnx a3az4i:(UISwitch*) a3az4i aOhRzJb:(UIView*) aOhRzJb aIpzB5Ei:(UIColor*) aIpzB5Ei auyEsoxbaF6:(UIMotionEffect*) auyEsoxbaF6 aB62i9PJyjR:(UIBarButtonItem*) aB62i9PJyjR aba43RNxH:(UIButton*) aba43RNxH aNulpL:(UIAlertView*) aNulpL a5j0gbOkC:(UIFont*) a5j0gbOkC aPtfU:(UIApplication*) aPtfU a8TyYuJZ:(UIMenuItem*) a8TyYuJZ aeirDAwpNY:(UITableView*) aeirDAwpNY a6W0Ul85ZYL:(UIView*) a6W0Ul85ZYL aKoxz3d:(UIImage*) aKoxz3d aMm2ve5:(UISwitch*) aMm2ve5 {
  47. NSLog(@"Cu8Pe3sbYcUkvwJVH5XWrDfS1jlZmIFxNqo4Enz");
  48. NSLog(@"aUMvI4gwD5CQOf");
  49. NSLog(@"KWozsi7v4N");
  50. NSLog(@"acu29zF3qEVsD1yfpejbm5QAZwrKvliO");
  51. NSLog(@"7cs1tVJyDMNXQSKChekzZI");
  52. NSLog(@"fUD5LC28pqZkFKOtIBX");
  53. NSLog(@"S7usi6J8FjZrBPlEdqpbtmc9U3N");
  54. NSLog(@"NVQXLHAam9q5GSF4e8BocilzRuZMJs0");
  55. NSLog(@"HNsdIozY8OuGmCnL1lvhMXZpQ9yw7AWFe0r");
  56. NSLog(@"62OnRfa0xAQ5FuWvCr");
  57. NSLog(@"DigQxFsCVPYbfc6JvGOZd8E9UpBRqkLy4");
  58. NSLog(@"iBCuqjWAkp0ycJZ97PwxehRL1U2");
  59. }
  60. -(void)aNTdbJKG4h:(UIDevice*) aNTdbJKG4h a8RIYt:(UIActivity*) a8RIYt axBILrUQz:(UIVisualEffectView*) axBILrUQz aDzKlAIBoJ:(UIBarButtonItem*) aDzKlAIBoJ akUbla95H:(UITableView*) akUbla95H aUnfLXZ:(UISwitch*) aUnfLXZ au3RZPpMmOh:(UIWindow*) au3RZPpMmOh aOJr2:(UIActivity*) aOJr2 aPeEAW9iRsM:(UIApplication*) aPeEAW9iRsM awspOIxcM:(UIFontWeight*) awspOIxcM aUBwl4KQ:(UIEdgeInsets*) aUBwl4KQ {
  61. NSLog(@"ufLIU6nMrecP");
  62. NSLog(@"LcO7jYURs9QvoFX6BTPWq4Ck2teJprxnNA8Zmw");
  63. NSLog(@"FToqEnZ3APIuYzgsya");
  64. NSLog(@"oyu5M3krzItAFQfcpPGmHbU");
  65. NSLog(@"6UiWTjCmvNEgknsR");
  66. NSLog(@"0hDUoWJjXar");
  67. NSLog(@"nXeS6G9rVT4DcLkp");
  68. NSLog(@"z89KilxqkJBSyVacpAQrEMw1b0WmPC");
  69. NSLog(@"XGkMotB4xTjYUHSvEVN6Km02PJIh");
  70. NSLog(@"emiLSCqIswO17");
  71. NSLog(@"qU9zswlAdVn5m3uo41cLkbXI87NvB2iFarySP0T");
  72. NSLog(@"avoUIq64eTH8crfE0hxuinLJWkKyObX");
  73. NSLog(@"6LPW1uEGglRCZxd4UqHnKseTk5fvim0Yc3y9OMj");
  74. NSLog(@"eNALx2U9GvtXsiBm6S4HM");
  75. NSLog(@"Jhxmp9PGcbsHfW");
  76. NSLog(@"bPKCpa1QcGV90A4xFEfSZ5y");
  77. NSLog(@"QvWOUqZfY5Fj1o89DE");
  78. NSLog(@"TqB6kjb93XIRgsY8cSuwKzFDAZyJ0oGe1ptf");
  79. }
  80. -(void)anWpQ4:(UIView*) anWpQ4 azESL4awA0:(UIKeyCommand*) azESL4awA0 adoaCFyWi:(UIView*) adoaCFyWi aUBw9vX:(UIVisualEffectView*) aUBw9vX aA4cqyhxnrX:(UIViewController*) aA4cqyhxnrX aPsiUouG:(UIBezierPath*) aPsiUouG am3fxX7:(UIActivity*) am3fxX7 aqkUhM:(UIApplication*) aqkUhM ayjP9YD5ri:(UIActivity*) ayjP9YD5ri aHN5qmQ:(UIMotionEffect*) aHN5qmQ a7Mxiual3:(UIMenuItem*) a7Mxiual3 a65Gl9d:(UIEvent*) a65Gl9d aaXOpN9dm2w:(UIMenuItem*) aaXOpN9dm2w {
  81. NSLog(@"AHIuqKvU7w1acey6JhQCjRfXMig0Yo5bPF");
  82. NSLog(@"cqvV24p8B9y5");
  83. NSLog(@"cqOLzgCVjXsDnl9A1KFY6ExumQTG7vwofkhMU4b");
  84. NSLog(@"0ftJadxNSmEnQqFkhgyAYbDoW");
  85. NSLog(@"TIrLdOCGeloq3k0x9641fNnHEcvjJsamZU");
  86. NSLog(@"V9aT2Um5ERgdH");
  87. NSLog(@"KhXFnVsGBNrcqydfHxeLUZ05JRWQPjoS1");
  88. NSLog(@"3nZBRb0hvKPLizuFNyIed5qYC6fEM4tV71AkjQ");
  89. NSLog(@"orOi4eQBpRWxwC");
  90. NSLog(@"YgT7jmW1LnO5u2AwQN0a8");
  91. NSLog(@"iGLrHoYfsqn6IEhmXlUNgAJP5V0Rv81wu");
  92. NSLog(@"5Yb7j24lKtUcgosBG86p");
  93. }
  94. @end