ChatMsgListCell.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //
  2. // ChatMsgListCell.h
  3. // smartRhino
  4. //
  5. // Created by armin on 2019/11/2.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "ChatMsgListImModel.h"
  10. #import "NoticeModel.h"
  11. #import "ChatMsgWorkModel.h"
  12. #import "ChatSearchModel.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface ChatMsgListCell : UITableViewCell
  15. @property (strong,nonatomic) IBOutlet UIView *cell0SearchBgView;
  16. @property (strong,nonatomic) IBOutlet UIButton *cell0SearchBtn;
  17. @property (strong,nonatomic) IBOutlet UIView *cell0MengCengView;
  18. @property (strong,nonatomic) IBOutlet UIView *cell1ContentBgView;
  19. @property (strong,nonatomic) IBOutlet UIButton *cell1RightIntoBtn;
  20. @property (strong,nonatomic) IBOutlet UIImageView *cell2IconImgView;
  21. @property (strong,nonatomic) IBOutlet UILabel *cell2TitleLabel;
  22. @property (strong,nonatomic) IBOutlet UILabel *cell2TimeLabel;
  23. @property (strong,nonatomic) IBOutlet UIImageView *cell2RightArrowImgView;
  24. @property (weak, nonatomic) IBOutlet UIImageView *cell2isTop;
  25. @property (weak, nonatomic) IBOutlet UIButton *enterBtn;
  26. @property (strong,nonatomic) IBOutlet UIView *cell2RedBgView;
  27. @property (strong,nonatomic) IBOutlet UIImageView *cell3UserImgView;
  28. @property (strong,nonatomic) IBOutlet UILabel *cell3TitleLabel;
  29. @property (strong,nonatomic) IBOutlet UILabel *cell3IntroLabel;
  30. @property (strong,nonatomic) IBOutlet UILabel *cell3TimeLabel;
  31. @property (strong,nonatomic) IBOutlet UIView *cell3RedBgView;
  32. @property (strong,nonatomic) IBOutlet UILabel *cell3RedNumLabel;
  33. @property (strong,nonatomic) IBOutlet UIView *cell3MengCengView;
  34. @property (weak, nonatomic) IBOutlet UIButton *cell5SelectBtn;
  35. @property (strong,nonatomic) IBOutlet UIImageView *cell5UserImgView;
  36. @property (strong,nonatomic) IBOutlet UILabel *cell5TitleLabel;
  37. @property (strong,nonatomic) IBOutlet UILabel *cell5IntroLabel;
  38. @property (strong,nonatomic) IBOutlet UILabel *cell5TimeLabel;
  39. @property (strong,nonatomic) IBOutlet UIView *cell5RedBgView;
  40. @property (strong,nonatomic) IBOutlet UILabel *cell5RedNumLabel;
  41. @property (weak, nonatomic) IBOutlet UIImageView *rightImg;
  42. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *leftW;
  43. @property (weak, nonatomic) IBOutlet UIButton *cell6SelectBtn;
  44. @property (weak, nonatomic) IBOutlet UIImageView *IsTopView;
  45. @property (weak, nonatomic) IBOutlet UILabel *bottomL;
  46. + (CGFloat)configCell0Height;
  47. + (CGFloat)configCell1Height;
  48. + (CGFloat)configCell2Height;
  49. + (CGFloat)configCell3Height;
  50. + (CGFloat)configCell4Height;
  51. + (CGFloat)configCell5Height;
  52. - (void)setCell2MsgWithModel:(ChatMsgWorkModel *)model;
  53. - (void)setCell3DataWithModel:(ChatMsgListImModel *)model;
  54. - (void)setCell5DataWithModel:(ChatMsgListImModel *)model;
  55. - (void)setCell2DataWithModel:(NoticeModel *)model;
  56. - (void)setCellSearchModel:(ChatSearchModel *)model;
  57. + (ChatMsgListCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  58. + (ChatMsgListCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  59. + (ChatMsgListCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  60. + (ChatMsgListCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  61. + (ChatMsgListCell *)configCell4:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  62. + (ChatMsgListCell *)configCell5:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  63. + (ChatMsgListCell *)configCell6:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  64. @end
  65. NS_ASSUME_NONNULL_END