goodsShowCell.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // goodsShowCell.h
  3. // yunbaolive
  4. //
  5. // Created by IOS1 on 2019/8/30.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "RelationGoodsModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol goodsShowCellDelegate <NSObject>
  12. - (void)removeThisGoods:(RelationGoodsModel *)model;
  13. -(void)reloadShowGoods:(NSDictionary *)infos andmodel:(RelationGoodsModel *)model;
  14. @end
  15. @interface goodsShowCell : UITableViewCell
  16. @property (weak, nonatomic) IBOutlet UIImageView *thumbImgV;
  17. @property (weak, nonatomic) IBOutlet UILabel *nameL;
  18. @property (weak, nonatomic) IBOutlet UILabel *priceL;
  19. @property (weak, nonatomic) IBOutlet UILabel *priceOldL;
  20. @property (weak, nonatomic) IBOutlet UIButton *setBtn;
  21. @property (weak, nonatomic) IBOutlet UIImageView *stateImgV;
  22. @property (weak, nonatomic) IBOutlet UILabel *countLb;
  23. @property (strong, nonatomic) IBOutlet UIView *lineView;
  24. @property (strong, nonatomic) IBOutlet UIView *liveGoodsView;
  25. @property (strong, nonatomic) IBOutlet UIButton *showBtn;
  26. @property (strong, nonatomic) IBOutlet UIButton *removeBtn;
  27. @property (strong, nonatomic) NSString *liveUid;
  28. @property (nonatomic,strong) RelationGoodsModel *model;
  29. @property (nonatomic,weak) id<goodsShowCellDelegate> delegate;
  30. @property (weak, nonatomic) IBOutlet UIView *bottomLine;
  31. @property (nonatomic,strong)NSMutableArray *haveList;
  32. @end
  33. NS_ASSUME_NONNULL_END