ASProductItemView.h 653 B

1234567891011121314151617181920212223242526
  1. //
  2. // ASProductItemView.h
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/5/17.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "ASProductBaseModel.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. static CGFloat productHWithOutImg = 102;
  11. @interface ASProductItemView : UIView
  12. @property (nonatomic, strong) UILabel *titleLb;
  13. @property (nonatomic, strong) UILabel *nowPriceLb;
  14. @property (nonatomic, strong) UILabel *oldPriceLb;
  15. @property (nonatomic,strong) UILabel *hotLb;
  16. @property (nonatomic,strong) UIButton *addCartBt;
  17. @property (nonatomic, strong) ASProductBaseModel*model;
  18. @property (nonatomic, copy, nullable) void(^addCartBlock)(ASProductBaseModel* m);
  19. @end
  20. NS_ASSUME_NONNULL_END