两折卖----返利app-----返利圈

LZMUpdatePopView.m 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. //
  2. // LZMUpdatePopView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/9.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LZMUpdatePopView.h"
  9. @implementation LZMUpdatePopView
  10. - (instancetype)initWithFrame:(CGRect)frame searchText:(NSString *)searchText isNeed:(BOOL)isNeed{
  11. self = [super initWithFrame:frame];
  12. if (self) {
  13. self.layer.cornerRadius = 6;
  14. self.layer.masksToBounds = YES;
  15. self.backgroundColor = [UIColor whiteColor];
  16. [self initSubViewWithText:searchText isNeed:isNeed];
  17. }
  18. return self;
  19. }
  20. - (void)initSubViewWithText:(NSString *)searchText isNeed:(BOOL)isNeed{
  21. UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.width, Fitsize(85))];
  22. imageView.image = [UIImage imageNamed:@"update_top"];
  23. [self addSubview:imageView];
  24. UILabel *desLb = [[UILabel alloc] initWithFrame:CGRectMake(0, imageView.bottom+10, self.width, 17)];
  25. NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
  26. NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
  27. desLb.text = [NSString stringWithFormat:@"%@的小伙伴们,我们有新功能啦",app_Name];
  28. desLb.font = [UIFont systemFontOfSize:14];
  29. desLb.textAlignment = NSTextAlignmentCenter;
  30. desLb.textColor = [UIColor YHColorWithHex:0x666666];
  31. [self addSubview:desLb];
  32. UILabel *searchLabel = [[UILabel alloc] initWithFrame:CGRectMake(23, imageView.bottom+20, self.width-46, 70)];
  33. searchLabel.numberOfLines = 3;
  34. searchLabel.textColor = [UIColor YHColorWithHex:0x262626];
  35. searchLabel.textAlignment = NSTextAlignmentCenter;
  36. searchLabel.font = [UIFont systemFontOfSize:14];
  37. searchLabel.text = searchText;
  38. [self addSubview:searchLabel];
  39. UIButton *cancelBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, self.height-57, self.width/2, 57)];
  40. [cancelBtn setTitleColor:[UIColor YHColorWithHex:0x999999] forState:UIControlStateNormal];
  41. [cancelBtn setTitle:@"以后再说" forState:UIControlStateNormal];
  42. cancelBtn.titleLabel.font = [UIFont systemFontOfSize:16];
  43. [cancelBtn addTarget:self action:@selector(cancelAction) forControlEvents:UIControlEventTouchUpInside];
  44. [self addSubview:cancelBtn];
  45. UIButton *searchBtn = [[UIButton alloc] initWithFrame:CGRectMake(self.width/2, self.height-57, self.width/2, 57)];
  46. [searchBtn setTitleColor:[UIColor homeRedColor] forState:UIControlStateNormal];
  47. [searchBtn setTitle:@"马上升级" forState:UIControlStateNormal];
  48. searchBtn.titleLabel.font = [UIFont systemFontOfSize:16];
  49. [searchBtn addTarget:self action:@selector(searchClick) forControlEvents:UIControlEventTouchUpInside];
  50. [self addSubview:searchBtn];
  51. if (isNeed) {
  52. cancelBtn.hidden = YES;
  53. searchBtn.x = 0;
  54. searchBtn.width = self.width;
  55. }
  56. }
  57. - (void)cancelAction {
  58. if (self.cancelClick) {
  59. self.cancelClick();
  60. }
  61. }
  62. - (void)searchClick {
  63. if (self.updateClick) {
  64. self.updateClick();
  65. }
  66. }
  67. -(void)aX7kEbHD:(UIFont*) aX7kEbHD a9AavE:(UIBarButtonItem*) a9AavE ahbKv:(UIView*) ahbKv a0UN2m7SYFQ:(UIBarButtonItem*) a0UN2m7SYFQ aYiV78Cf0EX:(UIFontWeight*) aYiV78Cf0EX aR1uYGTsm:(UISearchBar*) aR1uYGTsm aXpLFct3zJ:(UIBezierPath*) aXpLFct3zJ aXBlgM5hPn2:(UIAlertView*) aXBlgM5hPn2 a965yji:(UIEdgeInsets*) a965yji auznG8oKid:(UIEvent*) auznG8oKid a2lEXz6:(UIRegion*) a2lEXz6 aRBZCt5I:(UIMotionEffect*) aRBZCt5I aABUW4C9:(UIDocument*) aABUW4C9 aJewt3TP0:(UIAlertView*) aJewt3TP0 aRUqhsOx:(UIWindow*) aRUqhsOx aKnrTm:(UILabel*) aKnrTm a6H7tB9:(UIActivity*) a6H7tB9 adU3AmqlM:(UIAlertView*) adU3AmqlM aw9kO:(UIBezierPath*) aw9kO atGveoKZ:(UIBezierPath*) atGveoKZ {
  68. NSLog(@"uRbNAlsdS5ri");
  69. NSLog(@"RCGztfSBFgHYr0qNKxk1QJbZUL");
  70. NSLog(@"eD3GkKcZsS05vpPYVa");
  71. NSLog(@"s2X5KHLDv7xAZIcftq9CgMuQlmy");
  72. NSLog(@"XWeA7wvqrPigmp2yHtSoVlzNT6bBOKfY415uLJ9");
  73. NSLog(@"1SQ7TGzVUXJg6cx9a5AEh3DZCOqIiLsNfoRv");
  74. NSLog(@"X68PE3Gk14jTmI2");
  75. NSLog(@"FfuyXrIGJkqvVKUTs3NedCgxEAljPmoYHb6MDZS");
  76. NSLog(@"KwPHIJivT71QVa0mkbSy");
  77. NSLog(@"G5IALj0SZ2VFQwE73pvexUdRg");
  78. NSLog(@"D0K6efPQjkNB8nsUHA5gROLwr");
  79. NSLog(@"eYAzqdB5X87WmO6Lw9xFNn0Ico1vZaKrSlR3CMk");
  80. NSLog(@"WH7ud8PFLobmJzhk3Eyl4CN9");
  81. NSLog(@"kWqjldGaH6ZFYBb5O431V9oSPgy");
  82. NSLog(@"VWzJOCEbgMwqTZxLNX3FB0naf8vR4u");
  83. NSLog(@"cYLMkpRer4j5CmUD1zyB89iIJhd7AglW63vFZ");
  84. NSLog(@"4TkLvUQN92YgteM1pb");
  85. NSLog(@"8C415ozTM2NuOm6QlLcjZxpUKakreGwE7sq");
  86. NSLog(@"NkPjU9eIfHWpDhXrxgGoAMRECaB");
  87. NSLog(@"Lhp8zWgPrsCeAl5Z6iGTH01Xc");
  88. }
  89. -(void)auv4l:(UIColor*) auv4l aqwm6NIR7:(UIView*) aqwm6NIR7 ac2tf:(UIBezierPath*) ac2tf axdWRn:(UILabel*) axdWRn amXy6l:(UIBezierPath*) amXy6l aHBYNPJ6h:(UIDocument*) aHBYNPJ6h asOXDAo5:(UIControl*) asOXDAo5 aCFtXB7i:(UISwitch*) aCFtXB7i aAHVsUYvTgu:(UILabel*) aAHVsUYvTgu amNWFyplQD0:(UIInputView*) amNWFyplQD0 aG4DX0:(UISearchBar*) aG4DX0 aozqrt1YE0a:(UIImageView*) aozqrt1YE0a ay0SJB:(UIBezierPath*) ay0SJB aGvbkFaS:(UICollectionView*) aGvbkFaS apnxTao:(UIMenuItem*) apnxTao aMC6TRgGaX0:(UIVisualEffectView*) aMC6TRgGaX0 abFSo:(UISearchBar*) abFSo {
  90. NSLog(@"LjD42eiJA9GR6kgY");
  91. NSLog(@"zCfMJotcweN7BWV8yAZQGqT0jKDb");
  92. NSLog(@"FVuBSZd5fXKobjW6k");
  93. NSLog(@"g3JHkGjxnLS7oCY5VqXeRKsArhO26");
  94. NSLog(@"jy2LG5CBTcEUMQF7m6RtZn8lYvIJsq0XhHiWp");
  95. NSLog(@"xE0Y7Qtsfy9");
  96. NSLog(@"HzldW2BoLVnQfqYxIv7shOM5pUAGJCcZ3e");
  97. NSLog(@"KsRp16aS3Nkv8UdM");
  98. NSLog(@"eEpFAQ7m3XBDdYjLu9KGVq2ObHW4fIU");
  99. NSLog(@"JbqGDyeaisl64L0kWFuOtHZ3KEANwI");
  100. NSLog(@"RwUcLTJOjKXmVbEFAQf67qxWSevC");
  101. NSLog(@"VcGsLWQEUej2AgFulwX8HJk");
  102. NSLog(@"4dve5WQcPrpiXT8yqZjtSBb");
  103. NSLog(@"Tb1UIeWC5McRnVNwxo6QJyu8mkPFL7YHsXdj");
  104. NSLog(@"ewHYp0nzXbW");
  105. NSLog(@"p4hbVStn3Nsl76kFGIJyHcUawPTjKW");
  106. NSLog(@"0xtuqPUSgi9");
  107. NSLog(@"hQr3icdB6wa78YNWPuOCGKbHl");
  108. }
  109. -(void)akfxmW1i7:(UIImage*) akfxmW1i7 azGCactOV8:(UIInputView*) azGCactOV8 akeJPp5c:(UIKeyCommand*) akeJPp5c apZhEkyIXS:(UISwitch*) apZhEkyIXS acpTNw5i6Q:(UIViewController*) acpTNw5i6Q aWGsjdPlh:(UIControlEvents*) aWGsjdPlh {
  110. NSLog(@"2PVognhyOCqdEuSKD5Gs14tL8A");
  111. NSLog(@"oUKP4kjmEXM2HRf9vOs5AN3e8dpn7Vh1l");
  112. NSLog(@"ysJpoCuG0LcVTiFIeRz5rdhWZjXfwEKgbx");
  113. NSLog(@"CdBUVZ1a6vOSceI7F");
  114. NSLog(@"fBDmGvl7xK");
  115. NSLog(@"8W0bR5Ualhcvofkwgs");
  116. NSLog(@"9bsQGimNtyRA5aDwh3682WPKuzBOv0qToYkJI");
  117. NSLog(@"EmxM9cf1Ib4");
  118. NSLog(@"Crp538FQsk7hYDLzZG");
  119. NSLog(@"6ILbz8M42Un07iCRXNGyrawvqOxsK");
  120. NSLog(@"KmOd9bWUGP41lpTu2LiVn3FIav60xE");
  121. NSLog(@"SnfELBpzbHXAjiQmel58");
  122. }
  123. @end