酷店

KDPSupplyContentReusableView.h 668B

1234567891011121314151617181920212223242526272829
  1. //
  2. // KDPSuppltContentReusableView.h
  3. // KuDianProject
  4. //
  5. // Created by admin on 2019/7/4.
  6. // Copyright © 2019 KDP. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger,KDPSupplyContentButtonStyle) {
  10. KDPSupplyContentButtonStylePrice, // 价格
  11. KDPSupplyContentButtonStyleProfit // 利润
  12. };
  13. NS_ASSUME_NONNULL_BEGIN
  14. typedef void(^changeScreenBlock)(BOOL isPrice);
  15. @interface KDPSupplyContentReusableView : UICollectionReusableView
  16. @property (nonatomic, copy) changeScreenBlock changeBlock;
  17. - (void)changeScreeWithStyle:(KDPSupplyContentButtonStyle)style Color:(UIColor *)color text:(NSString *)text;
  18. @end
  19. NS_ASSUME_NONNULL_END