SPSBOrderListTableViewCell.h 992 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // SPSBOrderListTableViewCell.h
  3. // 我的社保
  4. //
  5. // Created by shanp on 2021/6/18.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "SPSBEnumerationProfile.h"
  9. @class SPSBOrderListModel, SPSBSalaryOrderModel, SPSBOrderBalanceModel;
  10. NS_ASSUME_NONNULL_BEGIN
  11. typedef NS_ENUM(NSUInteger, SPSBOrderListTableActionType) {
  12. SPSBOrderListTableActionTypeDetails,
  13. SPSBOrderListTableActionTypePay,
  14. SPSBOrderListTableActionTypeCancel,
  15. SPSBOrderListTableActionTypeProgress
  16. };
  17. @interface SPSBOrderListTableViewCell : UITableViewCell
  18. @property (nonatomic, strong) void (^spsb_action)(SPSBOrderListTableViewCell *cell, SPSBOrderListTableActionType type);
  19. - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier orderType:(SPSBOrderType)type;
  20. - (void)reloadOrderListData:(SPSBOrderListModel *)model;
  21. - (void)reloadSalaryData:(SPSBSalaryOrderModel *)model;
  22. - (void)reloadOrderBalanceData:(SPSBOrderBalanceModel *)model;
  23. @end
  24. NS_ASSUME_NONNULL_END