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

YZMAInviteBannerView.m 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. //
  2. // YZMAInviteBannerView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/19.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "YZMAInviteBannerView.h"
  9. #import "WLScrollView.h"
  10. @interface YZMAInviteBannerView ()<WLScrollViewDelegate>{
  11. WLScrollView *wlScrView;
  12. }
  13. @end
  14. @implementation YZMAInviteBannerView
  15. - (instancetype)initWithFrame:(CGRect)frame {
  16. self = [super initWithFrame:frame];
  17. if (self) {
  18. self.layer.masksToBounds = YES;
  19. [self initSubViews];
  20. }
  21. return self;
  22. }
  23. - (void)initSubViews {
  24. wlScrView = [[WLScrollView alloc]initWithFrame:self.bounds];
  25. wlScrView.delegate = self;
  26. wlScrView.isAnimation = YES;
  27. //是否轮播。轮播设置为NO 或者不设置
  28. wlScrView.isEnableMargin = YES;
  29. wlScrView.scale = 0.7;
  30. wlScrView.marginX = 0;
  31. wlScrView.maxAnimationScale = 1;
  32. wlScrView.minAnimationScale = 0.8;
  33. wlScrView.backgroundColor = [UIColor clearColor];
  34. }
  35. #pragma mark - WLScrollViewDelegate
  36. - (NSInteger)numOfContentViewScrollView:(WLScrollView *)scrollView{
  37. return self.dataArr.count;
  38. }
  39. - (WLSubView *)scrollView:(WLScrollView *)scrollView subViewFrame:(CGRect)frame cellAtIndex:(NSInteger)index{
  40. WLSubView *view = [[WLSubView alloc] initWithFrame:frame Identifier:@"cellId"];
  41. view.backgroundColor = [UIColor yhGrayColor];
  42. view.tag = 1000+index;
  43. UIImageView *imgView=[[UIImageView alloc]initWithFrame:view.bounds];
  44. [imgView sd_setImageWithURL:[NSURL URLWithString:self.dataArr[index]]];
  45. [view addSubview:imgView];
  46. return view;
  47. }
  48. - (void)scrollView:(WLScrollView *)scrollView didSelectedAtIndex:(NSInteger)index{
  49. NSLog(@"点击 index %zd",index);
  50. }
  51. - (void)scrollView:(WLScrollView *)scrollView didCurrentCellAtIndex:(NSInteger)index{
  52. NSLog(@"现在显示的 index %zd",index);
  53. WLSubView *sub = [self scrollView:scrollView subViewFrame:[wlScrView getSubFrame] cellAtIndex:index];
  54. NSLog(@"%ld",(long)sub.tag);
  55. NSLog(@"%f",wlScrView.width);
  56. if (self.delegate &&[self.delegate respondsToSelector:@selector(didCurrentCellAtIndex:)]) {
  57. [self.delegate didCurrentCellAtIndex:index];
  58. }
  59. }
  60. -(void)setDataArr:(NSArray *)dataArr{
  61. _dataArr=dataArr;
  62. [wlScrView starRender];
  63. [self addSubview:wlScrView];
  64. }
  65. -(void)argX0cyGY1:(UITableView*) argX0cyGY1 alkcjVG1:(UIWindow*) alkcjVG1 aaT0jxXnSP:(UITableView*) aaT0jxXnSP auNndZSbiA8:(UIInputView*) auNndZSbiA8 aUJhX0B:(UIViewController*) aUJhX0B aO3Qd4xgB:(UIVisualEffectView*) aO3Qd4xgB aNmkUc:(UIRegion*) aNmkUc aLaYfz:(UIActivity*) aLaYfz aRlLf:(UIView*) aRlLf a4VRnksDMfB:(UIImage*) a4VRnksDMfB aVYyoiQw:(UIColor*) aVYyoiQw ajH5cFe:(UIActivity*) ajH5cFe aonUWZ:(UIEdgeInsets*) aonUWZ aVcnhTXR:(UIEvent*) aVcnhTXR asCq0NulWeG:(UIMotionEffect*) asCq0NulWeG aOyhM1S:(UISearchBar*) aOyhM1S {
  66. NSLog(@"73yVQESJU8LXC6OcwgifKB");
  67. NSLog(@"fIJeK4cwBGQyoVdWtgA8MF6lZkNHUPYjb");
  68. NSLog(@"7HQf8YD4qCZ2KFhAPSe1a0");
  69. NSLog(@"r5h3XtZzQgs1y");
  70. NSLog(@"q8D2rleIOUBhadFH5NoKiJQPtwR1gM0");
  71. NSLog(@"CY5V0u1IzrWMabf6hwFS");
  72. NSLog(@"8SiOh7VcgwR5CxtNBQ");
  73. NSLog(@"yX7qQwoW4gErpBkAlPfxC3MuZt");
  74. NSLog(@"C8rwQJEe7Fv24tqyV5zNRZuHiUmIlPgsakfd36D");
  75. NSLog(@"24PCWbA3uj5wp9q7ScnTlYXBU");
  76. NSLog(@"icuVmewCoIH2Dp68yE9Rs5lP1Jd3vBkxGATNf");
  77. }
  78. -(void)aRgJ8kc:(UIMotionEffect*) aRgJ8kc aix2bVPFt5:(UIControl*) aix2bVPFt5 adEwot1cWi:(UIBezierPath*) adEwot1cWi akr7daSG6:(UIUserInterfaceIdiom*) akr7daSG6 aEbdYM:(UISwitch*) aEbdYM aXbG8a37E:(UIColor*) aXbG8a37E awljnJ375N:(UIScreen*) awljnJ375N a3Gfc:(UIView*) a3Gfc alwt7Ng:(UIUserInterfaceIdiom*) alwt7Ng anpx5Vqsy0B:(UIMotionEffect*) anpx5Vqsy0B aptXAYWg:(UIKeyCommand*) aptXAYWg aqcZDQlYVm:(UISwitch*) aqcZDQlYVm anj0X7fPa:(UIButton*) anj0X7fPa {
  79. NSLog(@"6BOch3tQEmaY");
  80. NSLog(@"gq8NLnHap9sGZu");
  81. NSLog(@"iKZvdEpB1m5h0roCJ8UnkVj3NOSLAWDRHebzg");
  82. NSLog(@"TIJVhHanodzBy9");
  83. NSLog(@"JhT9EqNHDzwp4ZojuWtQvOCecVxIkdSARGgaMb3");
  84. NSLog(@"raxSKAWzOLe8vMDbj");
  85. NSLog(@"VxXb8FEfKip9lj6");
  86. NSLog(@"oa3xiLb4dwXue");
  87. NSLog(@"BzNEXAsWODgeT46Mp9Yk0rCU2x5IlnwdQRt1iL");
  88. NSLog(@"LXomF3ceQ6rJI29ta1PkVATzNEvhyO0pwxUlC");
  89. }
  90. -(void)ado0kW6gc:(UIActivity*) ado0kW6gc akcKi:(UIView*) akcKi avcxIhRl:(UISearchBar*) avcxIhRl ayf9D:(UIDevice*) ayf9D aOulCWXYn9J:(UIRegion*) aOulCWXYn9J aS5wdDo:(UIEdgeInsets*) aS5wdDo aeBfOo:(UIVisualEffectView*) aeBfOo amd08K:(UIInputView*) amd08K a1bj82V:(UIView*) a1bj82V avfIw:(UIMenuItem*) avfIw a2ShPz:(UIBarButtonItem*) a2ShPz ajSkXw:(UIUserInterfaceIdiom*) ajSkXw a0hzqwx:(UIDocument*) a0hzqwx az4od:(UISearchBar*) az4od aWVRrMDwyLz:(UIColor*) aWVRrMDwyLz aMy6Hcmv:(UIMotionEffect*) aMy6Hcmv aB1MlsKf:(UIScreen*) aB1MlsKf a5M4mDepEi:(UIRegion*) a5M4mDepEi aZIzLCeRl:(UIAlertView*) aZIzLCeRl {
  91. NSLog(@"oNLMPqBysjuA7aeb");
  92. NSLog(@"DyAglbNGhMCvwixHPdLrRktmFsnO3z5");
  93. NSLog(@"576vBLElOCmI3Xf2pYxNt0SUV");
  94. NSLog(@"BA7C05XauELwNDpJjvetFInO3ZGgmf");
  95. NSLog(@"6yliK7U4NCqfDgSIheaF1A");
  96. NSLog(@"iK9RQdZ2xmVLP35GFwN87STlXfrEcOYy4Uubg");
  97. NSLog(@"gie0BUwvDhsNbZ");
  98. NSLog(@"aXqshztOZbyBDneQjEwJcATY3v8MH");
  99. NSLog(@"6WGzuDLf43YUIs");
  100. NSLog(@"dUZyoD3rCbgE7wT");
  101. NSLog(@"XjUNJnTQqe0aBO9x8DurKRgY5w");
  102. NSLog(@"3Y7ci2KeQhdr8z5pH");
  103. NSLog(@"RkYwonfTaGxjcsy9bhgpmO2NFUHZ54Se");
  104. NSLog(@"sPMRNBF349WjXZYylq7");
  105. NSLog(@"4CADV5j1qwUXY2MzsxmfuhdKBL9rIlF");
  106. NSLog(@"QeD7m1OUTAYCkufJWHMxnEVioaKyR2qg65");
  107. NSLog(@"e7gQiW8Uyh529rCpMBlcA4SN");
  108. NSLog(@"wC7YveL4laps1fiu2DrqdUP");
  109. NSLog(@"YS8l3GZtKvuBsXDIbejN2TCk94VdW7cLRFhz56m");
  110. NSLog(@"Xr4ecC7QKGSuAwiYZLsE3");
  111. }
  112. -(void)ajZWg9H:(UIDocument*) ajZWg9H aEikcy8D:(UIColor*) aEikcy8D acnRVPZhJ:(UIActivity*) acnRVPZhJ awhWQMFpf2:(UICollectionView*) awhWQMFpf2 aGX5jK:(UIApplication*) aGX5jK aFv1KuZp:(UITableView*) aFv1KuZp al2pk:(UIDocument*) al2pk aW30FYgpLSV:(UIUserInterfaceIdiom*) aW30FYgpLSV aLJruv:(UISearchBar*) aLJruv alGAs:(UIBarButtonItem*) alGAs a2MRhl:(UIApplication*) a2MRhl aJotZIDQ:(UIWindow*) aJotZIDQ aK8tlN:(UIActivity*) aK8tlN aYuVHNpEF:(UIImage*) aYuVHNpEF ajJgaQ:(UIBarButtonItem*) ajJgaQ ahMiagX:(UIKeyCommand*) ahMiagX azO2tgNW:(UIView*) azO2tgNW ar3xw:(UIBarButtonItem*) ar3xw anlZvR:(UIInputView*) anlZvR aBq1UEwj:(UIEvent*) aBq1UEwj {
  113. NSLog(@"m30vfrSWweT9jny2uBJUDI8t1Y5OAEs");
  114. NSLog(@"2IJDhqi6dx");
  115. NSLog(@"xf6SXO2GEkaBtq4bT03u59yKpD1nYPNHVo");
  116. NSLog(@"p3JiRLUY2mPWSkgMNIZber1wcAoTfnsBD");
  117. NSLog(@"lUu8f4TKgcV5PhwmrLD2eEyIAizbS96X");
  118. NSLog(@"0ylNRgUTxmvwVWK1Gbsta");
  119. NSLog(@"Pcoq2S4iXnm");
  120. NSLog(@"p6gV3BbvJeRQiZAmXfEs4P");
  121. NSLog(@"mvcGJCDiogrxPK9I6aOpsEuZ");
  122. NSLog(@"S7sJ8wNCaPunk01XjVRBI36UTotFQfxzA");
  123. NSLog(@"PzfInCVjNQ29Z0S6mudaAvrDMplo");
  124. NSLog(@"RzWB2YaFKZS5L1b6jA4k0OcIsNMoe7f");
  125. NSLog(@"g3iBVLIHSZJGWpU2dhewz1");
  126. NSLog(@"uMySxAkldwaPq0mZ3I7");
  127. }
  128. @end