SLeaderHeadView.h 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // SLeaderHeadView.h
  3. // BuguLive
  4. //
  5. // Created by 丁凯 on 2017/9/5.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import "BGBaseView.h"
  9. @interface SLeaderHeadView : BGBaseView
  10. @property ( nonatomic,strong)UIImageView *bottomImgView;
  11. //左边
  12. @property ( nonatomic,strong)UILabel *LTicketLabel; //影票
  13. @property ( nonatomic,strong)UIView *LNSRView; //印票
  14. @property ( nonatomic,strong)UIView *baseView; //底部view
  15. @property ( nonatomic,strong)UIView *ticketBaseView; //印票、等级view
  16. @property ( nonatomic,strong)UILabel *LNameLabel; //名字
  17. @property ( nonatomic,strong)UIImageView *LSexImgView; //性别
  18. @property ( nonatomic,strong)UIImageView *LRankImgView; //等级
  19. @property ( nonatomic,strong)UIImageView *LHeadImgView; //头像
  20. @property ( nonatomic,strong)UIImageView *LGoldImgView; //头像等级图
  21. @property(nonatomic, strong) UIButton *LConcertBtn; //关注按钮
  22. @property(nonatomic, strong) UserModel *LModel;
  23. //中间
  24. @property ( nonatomic,strong)UILabel *MTicketLabel; //影票
  25. @property ( nonatomic,strong)UIView *MNSRView; //印票
  26. @property ( nonatomic,strong)UIView *mbaseView; //底部view
  27. @property ( nonatomic,strong)UIView *mticketBaseView; //印票、等级view
  28. @property ( nonatomic,strong)UILabel *MNameLabel; //名字
  29. @property ( nonatomic,strong)UIImageView *MSexImgView; //性别
  30. @property ( nonatomic,strong)UIImageView *MRankImgView; //等级
  31. @property ( nonatomic,strong)UIImageView *MHeadImgView; //头像
  32. @property ( nonatomic,strong)UIImageView *MGoldImgView; //头像等级图
  33. @property(nonatomic, strong) UIButton *MConcertBtn; //关注按钮
  34. @property(nonatomic, strong) UserModel *MModel;
  35. //右边
  36. @property ( nonatomic,strong)UILabel *RTicketLabel; //影票
  37. @property ( nonatomic,strong)UIView *RNSRView; //印票
  38. @property ( nonatomic,strong)UIView *rbaseView; //底部view
  39. @property ( nonatomic,strong)UIView *rticketBaseView; //印票、等级view
  40. @property ( nonatomic,strong)UILabel *RNameLabel; //名字
  41. @property ( nonatomic,strong)UIImageView *RSexImgView; //性别
  42. @property ( nonatomic,strong)UIImageView *RRankImgView; //等级
  43. @property ( nonatomic,strong)UIImageView *RHeadImgView; //头像
  44. @property ( nonatomic,strong)UIImageView *RGoldImgView; //头像等级图
  45. @property(nonatomic, strong) UIButton *RConcertBtn; //关注按钮
  46. @property(nonatomic, strong) UserModel *RModel;
  47. @property ( nonatomic,copy)void (^leadBlock) (int imgaeIdnex);
  48. /**
  49. 排行榜和贡献榜表头
  50. @param mArr 数据源
  51. @param type 1表示贡献榜页面 0表示总榜页面,区分ticket 和use_ticket
  52. @param consumeType 用于区分是收入榜还是消费榜
  53. */
  54. - (void)setMyViewWithMArr:(NSMutableArray *)mArr andType:(int)type consumeType:(int)consumeType;
  55. @end