SContributionView.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // SContributionView.h
  3. // BuguLive
  4. //
  5. // Created by 丁凯 on 2017/9/5.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import "BGBaseView.h"
  9. #import "SLeaderHeadView.h"
  10. @protocol ContriButionDeleGate <NSObject>
  11. - (void)goToHomeWithModel:(UserModel *)model;
  12. @end
  13. @interface SContributionView : BGBaseView<UITableViewDelegate,UITableViewDataSource>
  14. @property ( nonatomic, strong) UITableView *myTableview;
  15. @property ( nonatomic, strong) NSMutableArray *dataArray;
  16. @property ( nonatomic, strong) NSMutableArray *userArray;
  17. @property ( nonatomic, assign) int currentPage;
  18. @property ( nonatomic, assign) int dataType; //1代表当天排行 1代表累计排行
  19. @property ( nonatomic, assign) int has_next;
  20. @property ( nonatomic,copy) NSString *user_id; //用户id
  21. @property ( nonatomic,copy) NSString *liveRoom_id; //房间id
  22. @property ( nonatomic, assign) int total_num; //总的印票数
  23. @property ( nonatomic, strong) SLeaderHeadView *LeaderHeadV; //头部
  24. @property ( nonatomic,strong) UIView *headView; //头部view
  25. @property ( nonatomic,strong) UIView *SHeadView; //头部子view
  26. @property ( nonatomic,strong) UIImageView *headImgView; //头部ImgView
  27. @property ( nonatomic,strong) UILabel *headLabel; //头部Label
  28. @property ( nonatomic,weak) id<ContriButionDeleGate> CDelegate; //代理
  29. - (id)initWithFrame:(CGRect)frame andDataType:(int)dataType andUserId:(NSString *)userId andLiveRoomId:(NSString *)liveRoomId;
  30. @end