一折买app------返利---------返利宝

YZMAUserView.m 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. //
  2. // YZMAUserView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/7/24.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "YZMAUserView.h"
  9. @interface YZMAUserView ()
  10. @property (nonatomic, strong) UIImageView *iconView;
  11. @property (nonatomic, strong) UILabel *nickName;
  12. @end
  13. @implementation YZMAUserView
  14. - (instancetype)initWithFrame:(CGRect)frame {
  15. self = [super initWithFrame:frame];
  16. if (self) {
  17. [self initSubViews];
  18. }
  19. return self;
  20. }
  21. - (void)initSubViews {
  22. self.iconView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 60, 60)];
  23. self.iconView.layer.borderColor = [UIColor whiteColor].CGColor;
  24. self.iconView.layer.borderWidth = 1;
  25. self.iconView.layer.masksToBounds = YES;
  26. self.iconView.layer.cornerRadius = 30;
  27. self.iconView.userInteractionEnabled = YES;
  28. self.iconView.backgroundColor = [UIColor yhGrayColor];
  29. NSString *imgStr = [AccountTool isLogin] ? @"login" : @"unlogin";
  30. self.iconView.image = [UIImage imageNamed:imgStr];
  31. self.iconView.centerX = self.width/2;
  32. UITapGestureRecognizer *tapIcon = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction)];
  33. [self.iconView addGestureRecognizer:tapIcon];
  34. [self addSubview:self.iconView];
  35. self.nickName = [[UILabel alloc] initWithFrame:CGRectMake(30, self.iconView.bottom+10, self.width-60, 25)];
  36. self.nickName.textColor = [UIColor whiteColor];
  37. self.nickName.textAlignment = NSTextAlignmentCenter;
  38. self.nickName.font = [UIFont systemFontOfSize:16];
  39. self.nickName.userInteractionEnabled = YES;
  40. NSString *nameStr = [AccountTool isLogin] ? @"昵称加载中..." : @"点击登录享受更多优惠";
  41. self.nickName.text = nameStr;
  42. UITapGestureRecognizer *tapName = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction)];
  43. [self.nickName addGestureRecognizer:tapName];
  44. [self addSubview:self.nickName];
  45. }
  46. - (void)setLoginView:(YZMAUserInfo *)userInfo {
  47. [self.iconView sd_setImageWithURL:[NSURL URLWithString:userInfo.img] placeholderImage:[UIImage imageNamed:@"login"]];
  48. self.nickName.text = userInfo.name;
  49. }
  50. - (void)setUnLoginView {
  51. self.iconView.image = [UIImage imageNamed:@"unlogin"];
  52. self.nickName.text = @"点击登录享受更多优惠";
  53. }
  54. - (void)tapAction {
  55. if (self.tapActionBlock) {
  56. self.tapActionBlock();
  57. }
  58. }
  59. -(void)aTUd8:(UIViewController*) aTUd8 aP5Mvj8:(UIActivity*) aP5Mvj8 as9Afj:(UIEvent*) as9Afj aKNwvByMkO:(UITableView*) aKNwvByMkO auJLXlGE:(UIImage*) auJLXlGE aRm0u4NZn1f:(UIUserInterfaceIdiom*) aRm0u4NZn1f aNQOyBGgd:(UIBezierPath*) aNQOyBGgd ayK1RD65ge:(UIEvent*) ayK1RD65ge aDaP9x5M:(UIInputView*) aDaP9x5M aZbMcjX14L:(UIFontWeight*) aZbMcjX14L aFKgXW:(UIInputView*) aFKgXW abxCTsYiz:(UIActivity*) abxCTsYiz al6bLKJ3:(UIMotionEffect*) al6bLKJ3 aY03Beyi1:(UIVisualEffectView*) aY03Beyi1 aOlwRj:(UIScreen*) aOlwRj aAcKf19Yt5:(UIDocument*) aAcKf19Yt5 ai3I4Jvso:(UISearchBar*) ai3I4Jvso aqKDURz:(UIBarButtonItem*) aqKDURz a0UhFdRkw7:(UIVisualEffectView*) a0UhFdRkw7 {
  60. NSLog(@"cq96UDIVaSdltmj");
  61. NSLog(@"XrMEc5CfWsBlP");
  62. NSLog(@"Szxq3ruQVnMyEJD0ptc");
  63. NSLog(@"yYBXDle0Ji6RrfMIP1GUwsF2QOjA8qbEk");
  64. NSLog(@"Fz7SXZmR3MA0Pqe2yJiuQBxHGa6r");
  65. NSLog(@"NjRc1Wfu5vBHAeGE3pxbQ");
  66. NSLog(@"TwIml35AprbVUgYtDhisNv0oOFcefnJy4ZW");
  67. NSLog(@"0WpJ1TvdSOba4GXxk7iCP6DHNhuQEMqoVKr");
  68. NSLog(@"CLufB3VKzW7qRPcYEbH5QmM9nAjXO6y");
  69. NSLog(@"rSeOo79ztwAZKLj6aECYuXfnFglWR2mHdV1UJ5");
  70. NSLog(@"IaYs4n6QezbPRgwWDudU1jHVplK8CiEBhcLOkxto");
  71. NSLog(@"C2hmdpNIBfy4rXPFci");
  72. }
  73. -(void)aulmgf4aGRM:(UIColor*) aulmgf4aGRM aDPFNjoO6Ma:(UIRegion*) aDPFNjoO6Ma acAge4:(UIBarButtonItem*) acAge4 ab6Ex:(UIFont*) ab6Ex aITcYD0UJvs:(UIImage*) aITcYD0UJvs aZdWY:(UIView*) aZdWY a5KtTkIdu:(UIEvent*) a5KtTkIdu a0DQCu:(UIImageView*) a0DQCu alTP6VBf:(UIColor*) alTP6VBf aVxlETh3ZQ:(UIActivity*) aVxlETh3ZQ avaESKAxWO:(UILabel*) avaESKAxWO a685k4:(UISwitch*) a685k4 aGprB:(UISearchBar*) aGprB anX6H9:(UIBarButtonItem*) anX6H9 amH0oGC:(UITableView*) amH0oGC af6dg:(UIButton*) af6dg a0XSCRmLQe:(UIFont*) a0XSCRmLQe aL57vuOa:(UIDevice*) aL57vuOa {
  74. NSLog(@"OcYldMK0PD57HmTuFAk");
  75. NSLog(@"AJesEUC0Q9HOmwPqhgfZn");
  76. NSLog(@"GdPSyzZBDu");
  77. NSLog(@"p6HLyD0i4OvEtQgo");
  78. NSLog(@"CXlQsr3TphyNPqZeIM9o");
  79. NSLog(@"yMg6I8R7rNaZ2KSEoAspFX05OxLfDjBGw");
  80. NSLog(@"bMh2x4lcrism35HXgzZtkAY7wL");
  81. NSLog(@"u5d1LswOBjcNA4h8axpTVMerRWXEKYDZqtzkn");
  82. NSLog(@"x5YBAih3eJG");
  83. NSLog(@"dUlxE8XkSajhTvQqi2GYLpo6I");
  84. NSLog(@"bQ0hUipPVMFKf7Y4ZJktzxsn5H2ID39TEwg");
  85. NSLog(@"lsTiZGwarL5h6cVIv4HEJSQj1PyAWqC8");
  86. NSLog(@"TzWPoc3hn9arx4V0piNXs");
  87. NSLog(@"hYf3HTWjP5wKmpDn4l0MRgcxzX");
  88. NSLog(@"0cZ3XvYLl8GUgye2");
  89. NSLog(@"XGdgn7iO9Zk3FMf8Q0E5r6SNKq");
  90. NSLog(@"4YKH5xiTAmkVdh06MfZjWIc9yltF7PwXuNJ");
  91. NSLog(@"lyk9wPLEaNDtvqMfXx4sH3Y");
  92. NSLog(@"OzxEko3ldpVuQYbiXeC5wnhrIyqgc8F");
  93. }
  94. -(void)a3QAvJsg:(UITableView*) a3QAvJsg a40jSQ26:(UIKeyCommand*) a40jSQ26 aR1ro3BL:(UIUserInterfaceIdiom*) aR1ro3BL aFbdfGO5K:(UIControl*) aFbdfGO5K a91Cd:(UIVisualEffectView*) a91Cd aM74Ja:(UIFont*) aM74Ja aNbMKZ:(UIDocument*) aNbMKZ agT3RD7uHO:(UIMenuItem*) agT3RD7uHO awgSxa8W6Mc:(UIImageView*) awgSxa8W6Mc an5Hcz30:(UIControl*) an5Hcz30 aXjWO:(UIBarButtonItem*) aXjWO aS5Ch0Gc:(UIControlEvents*) aS5Ch0Gc a20pvmrMHlz:(UIImageView*) a20pvmrMHlz aC1tirBq:(UIWindow*) aC1tirBq au7kReAXr:(UIBezierPath*) au7kReAXr a4ieUqJIR8:(UIRegion*) a4ieUqJIR8 {
  95. NSLog(@"Qr1HK7yR59OnNzAcph");
  96. NSLog(@"bBCEqlN6nG8sf4tzK2k");
  97. NSLog(@"jqEK6hIupz4BvliJRynaVU0AZ8C3cMFTY");
  98. NSLog(@"oF3QalJihZ82mw7");
  99. NSLog(@"DheiaAtfZXBr9P8uc4s5m0CFjyKNEV21vqHQkO");
  100. NSLog(@"fnxgUqe76B5C3slFdSu0Vp8MDOLWXJjQ4RENmHG");
  101. NSLog(@"Wa2iHbJzt5eTAgxRokuYXE74sIlUvqj");
  102. NSLog(@"zvyVgwbHik9BCPWEarKZQ6");
  103. NSLog(@"SED8nHIvGi20jRb");
  104. NSLog(@"Aow0pZziE1CIX");
  105. }
  106. -(void)ayDxwqU:(UICollectionView*) ayDxwqU a2UXhuYwMRS:(UIBezierPath*) a2UXhuYwMRS ak2F0:(UIUserInterfaceIdiom*) ak2F0 ab5VKvwQRH4:(UIDocument*) ab5VKvwQRH4 aKB6Zmu:(UIMotionEffect*) aKB6Zmu aGpIP7LAoCt:(UIBarButtonItem*) aGpIP7LAoCt aM49UKQ1BLp:(UIImageView*) aM49UKQ1BLp aacK4dsQvr:(UIAlertView*) aacK4dsQvr aXumUlAHV4:(UIImageView*) aXumUlAHV4 aopDfP1By:(UIBezierPath*) aopDfP1By ahvX1:(UIFont*) ahvX1 aWqxTKMP6:(UIInputView*) aWqxTKMP6 aACMlrGx:(UIEdgeInsets*) aACMlrGx aJy68im:(UIMotionEffect*) aJy68im {
  107. NSLog(@"LREISxCArWZsjFHg836Q");
  108. NSLog(@"HpZsk3I4PlGNzCvt65iwbFBSLA8dURoXW9");
  109. NSLog(@"6P3sAxXDp81ndRvFOCaLTtuVigqhfmEMeISYk05J");
  110. NSLog(@"i9dHxL3QCthSyrXvoj65IWuNqsPOpG2ewUYf");
  111. NSLog(@"BDMb9oaiJfu7W4cwpYjgVPmQAnH2hreR381tO6E");
  112. NSLog(@"V1Htg0rK8DXaz4CqfOhITFyYe6cvnP2wGl9");
  113. NSLog(@"iT16SuDAryz2o");
  114. NSLog(@"ROCu1IgG7KpMjENnHAc0tvVmUzWs8");
  115. NSLog(@"zcG18Yqe5VyAdFEsH");
  116. NSLog(@"3W8OfANVmFr2n0bioytT4kL6qSD5MRev9hYpXUca");
  117. NSLog(@"xKAw0OZb7Ht9WcY3Fjg8hPr");
  118. NSLog(@"KGTxa5JipCt1bR8W9uhVBzj");
  119. NSLog(@"LSI4m3jqK9C2uWGMoYvatgb5Pp8s1JQr");
  120. NSLog(@"6IG7eAJblrU2ZPWyD1KuwgNCBOqFRV");
  121. NSLog(@"yURDvo5khWf78");
  122. NSLog(@"EOW8uvg60FPLxedRKy1bHYXMi");
  123. }
  124. -(void)aYRNerLpOoE:(UISwitch*) aYRNerLpOoE anK5HBv:(UIFont*) anK5HBv aNS4qElCA:(UIUserInterfaceIdiom*) aNS4qElCA a8ZiHtC:(UIDocument*) a8ZiHtC a9nRNBJFX:(UIButton*) a9nRNBJFX a1YJRtZ:(UISwitch*) a1YJRtZ aPAITMeGC5:(UIControlEvents*) aPAITMeGC5 aMS9NPnJ3UD:(UIUserInterfaceIdiom*) aMS9NPnJ3UD {
  125. NSLog(@"IxqT03ry2AXmEinNcPCUdb41OthFSQBV9eJ6");
  126. NSLog(@"kQedwVahSbC20fX");
  127. NSLog(@"pOLxVM3tj972BcqInAbWd");
  128. NSLog(@"pTVCRinDJqxm7wk0Y425Uarh93teLNlcG1EfKQ");
  129. NSLog(@"5Qd1vGuf0q83mUSkFbtXJIRwVOre");
  130. NSLog(@"ltKU1byP2A6QwDnvNTmcHq8G9VEsJIr4kefR");
  131. NSLog(@"a3PgYxhO7GqvH18XD4zQnFKsyIdci9obJLRjZeE6");
  132. NSLog(@"X1ZeDoFmErKU35Qg7azIjAY4s2bSCRyVM9");
  133. NSLog(@"CQp7PIsF0jS2dKWl8BJDOfVT3GN");
  134. NSLog(@"alAsQordGFEHDNy4Zh8xR");
  135. NSLog(@"jrzfTugx3IB0EZnGemcUMJYwHiDho2N9Vpv75");
  136. NSLog(@"3SoVGF5kRtncaKEibD97I2TCrM");
  137. NSLog(@"HsXhSMa1lLgxr3OvqWd");
  138. NSLog(@"LdZyJsrWUoifq9cOP5MQxgFTH6pj2NYh");
  139. NSLog(@"FBQ9kX0baOYgiu2Tvt8enHGSqmUAE3CKDyNlxw7I");
  140. NSLog(@"PG7CZFwjTvb");
  141. }
  142. @end