MGLiveWishCell.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // MGLiveWishCell.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2019/12/5.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MGLiveWishModel.h"
  10. #import <QMUIButton.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. @protocol MGLiveWishCellDelegate <NSObject>
  13. -(void)protocolMGLiveWishClickType:(MGADD_WISH)wishType;
  14. -(void)protocolLiveWishClickDelteModel:(MGLiveWishModel *)model;
  15. @end
  16. @interface MGLiveWishCell : UITableViewCell
  17. @property(nonatomic, strong) UIImageView *bgImgView;
  18. @property(nonatomic, strong) UILabel *titleL;
  19. @property(nonatomic, strong) UIImageView *iconImgView;
  20. @property(nonatomic, strong) UILabel *topicL;
  21. @property(nonatomic, strong) UILabel *numL;
  22. @property(nonatomic, strong) UILabel *contentL;
  23. @property(nonatomic, strong) UIButton *deleteBtn;
  24. //底部相关
  25. @property(nonatomic, strong) UIButton *generateBtn;//生成心愿按钮
  26. @property(nonatomic, strong) QMUIButton *addWishBtn;
  27. @property(nonatomic, strong) UIView *bottomView;
  28. @property(nonatomic, strong) MGLiveWishModel *model;
  29. @property(nonatomic, weak) id<MGLiveWishCellDelegate> delegate;
  30. -(void)resetModelArr:(MGLiveWishModel *)model indexPath:(NSInteger)indexPath;
  31. @end
  32. NS_ASSUME_NONNULL_END