线上所有马甲包模板,与《猎豆》同UI。域名zhuadd

HSQNoDataCell.m 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // HSQNoDataCell.m
  3. // YouHuiProject
  4. //
  5. // Created by liuxueli on 2018/11/22.
  6. // Copyright © 2018 kuxuan. All rights reserved.
  7. //
  8. #import "HSQNoDataCell.h"
  9. @implementation HSQNoDataCell
  10. -(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
  11. {
  12. self =[super initWithStyle:style reuseIdentifier:reuseIdentifier];
  13. if (self) {
  14. self.backgroundColor=[UIColor clearColor];
  15. UILabel *labels =[[UILabel alloc]initWithFrame:CGRectMake(0, FITSIZE(150), SCREEN_WIDTH, FITSIZE(20))];
  16. labels.text=@"您还没有收益哦~";
  17. labels.font =[UIFont systemFontOfSize:FITSIZE(13)];
  18. labels.textColor=[UIColor YHColorWithHex:0x979595];
  19. [self addSubview:labels];
  20. labels.textAlignment=NSTextAlignmentCenter;
  21. UIImageView *imgs =[[UIImageView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH/2-FITSIZE(37.5), FITSIZE(70), FITSIZE(65), FITSIZE(72))];
  22. imgs.image=[UIImage imageNamed:@"no_order"];
  23. [self addSubview:imgs];
  24. }
  25. return self;
  26. }
  27. @end