// // MyOrderTableViewCell.h // DSH // // Created by 张毅成 on 2018/10/8. // Copyright © 2018 WZX. All rights reserved. // #import #import "MyOrderModel.h" NS_ASSUME_NONNULL_BEGIN enum MyOrderTableViewCellType { MyOrderTableViewCellTypeAll, MyOrderTableViewCellTypeObligation, MyOrderTableViewCellTypeSendGoods, MyOrderTableViewCellTypeForTheGoods, MyOrderTableViewCellTypeEvaluate, MyOrderTableViewCellTypeCancel }; typedef void(^MyOrderTableViewCellBlock)(void); @interface MyOrderTableViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIView *viewBG; @property (weak, nonatomic) IBOutlet UILabel *labelPress; @property (weak, nonatomic) IBOutlet UILabel *labelType; @property (weak, nonatomic) IBOutlet UIButton *buttonDelete; @property (weak, nonatomic) IBOutlet UIImageView *imageViewIcon; @property (weak, nonatomic) IBOutlet UILabel *labelBookName; @property (weak, nonatomic) IBOutlet UILabel *labelAuthor; @property (weak, nonatomic) IBOutlet UILabel *labelMoney; @property (strong, nonatomic) IBOutletCollection(UIButton) NSArray *arrayButtonBottom; @property (assign, nonatomic) enum MyOrderTableViewCellType cellType; @property (copy, nonatomic) MyOrderTableViewCellBlock blockDidTouchButton0; @property (copy, nonatomic) MyOrderTableViewCellBlock blockDidTouchButton1; @property (copy, nonatomic) MyOrderTableViewCellBlock blockDidTouchButton2; @property (copy, nonatomic) MyOrderTableViewCellBlock blockDidTouchButtonDelete; - (void)setModel:(MyOrderModel *)model; + (instancetype)cellWithTableView:(UITableView *)tableView AndIndex:(NSInteger)index; @end NS_ASSUME_NONNULL_END