ChatMsgListCell.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. NS_ASSUME_NONNULL_BEGIN
  13. @interface ChatMsgListCell : UITableViewCell
  14. @property (strong,nonatomic) IBOutlet UIView *cell0SearchBgView;
  15. @property (strong,nonatomic) IBOutlet UIButton *cell0SearchBtn;
  16. @property (strong,nonatomic) IBOutlet UIView *cell0MengCengView;
  17. @property (strong,nonatomic) IBOutlet UIView *cell1ContentBgView;
  18. @property (strong,nonatomic) IBOutlet UIButton *cell1RightIntoBtn;
  19. @property (strong,nonatomic) IBOutlet UIImageView *cell2IconImgView;
  20. @property (strong,nonatomic) IBOutlet UILabel *cell2TitleLabel;
  21. @property (strong,nonatomic) IBOutlet UILabel *cell2TimeLabel;
  22. @property (strong,nonatomic) IBOutlet UIImageView *cell2RightArrowImgView;
  23. @property (weak, nonatomic) IBOutlet UIImageView *cell2isTop;
  24. @property (weak, nonatomic) IBOutlet UIButton *enterBtn;
  25. @property (strong,nonatomic) IBOutlet UIImageView *cell3UserImgView;
  26. @property (strong,nonatomic) IBOutlet UILabel *cell3TitleLabel;
  27. @property (strong,nonatomic) IBOutlet UILabel *cell3IntroLabel;
  28. @property (strong,nonatomic) IBOutlet UILabel *cell3TimeLabel;
  29. @property (strong,nonatomic) IBOutlet UIView *cell3RedBgView;
  30. @property (strong,nonatomic) IBOutlet UILabel *cell3RedNumLabel;
  31. @property (strong,nonatomic) IBOutlet UIView *cell3MengCengView;
  32. @property (weak, nonatomic) IBOutlet UIButton *cell5SelectBtn;
  33. @property (strong,nonatomic) IBOutlet UIImageView *cell5UserImgView;
  34. @property (strong,nonatomic) IBOutlet UILabel *cell5TitleLabel;
  35. @property (strong,nonatomic) IBOutlet UILabel *cell5IntroLabel;
  36. @property (strong,nonatomic) IBOutlet UILabel *cell5TimeLabel;
  37. @property (strong,nonatomic) IBOutlet UIView *cell5RedBgView;
  38. @property (strong,nonatomic) IBOutlet UILabel *cell5RedNumLabel;
  39. @property (weak, nonatomic) IBOutlet UIImageView *rightImg;
  40. @property (weak, nonatomic) IBOutlet UIButton *cell6SelectBtn;
  41. @property (weak, nonatomic) IBOutlet UIImageView *IsTopView;
  42. + (CGFloat)configCell0Height;
  43. + (CGFloat)configCell1Height;
  44. + (CGFloat)configCell2Height;
  45. + (CGFloat)configCell3Height;
  46. + (CGFloat)configCell4Height;
  47. + (CGFloat)configCell5Height;
  48. - (void)setCell2MsgWithModel:(ChatMsgWorkModel *)model;
  49. - (void)setCell3DataWithModel:(ChatMsgListImModel *)model;
  50. - (void)setCell5DataWithModel:(ChatMsgListImModel *)model;
  51. - (void)setCell2DataWithModel:(NoticeModel *)model;
  52. + (ChatMsgListCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  53. + (ChatMsgListCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  54. + (ChatMsgListCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  55. + (ChatMsgListCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  56. + (ChatMsgListCell *)configCell4:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  57. + (ChatMsgListCell *)configCell5:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  58. + (ChatMsgListCell *)configCell6:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  59. @end
  60. NS_ASSUME_NONNULL_END