暫無描述

FKSelectSpecUnitView.h 948B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // FKProductSingleSpecView.h
  3. // FirstLink
  4. //
  5. // Created by jack on 16/1/15.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "FKProductSpecItem.h"
  10. @class FKSelectSpecUnitView;
  11. @protocol FKSelectSpecUnitViewDelegate <NSObject>
  12. - (void)unitView:(FKSelectSpecUnitView *)unitView
  13. basicSpecIndex:(NSUInteger)basicSpecIndex
  14. selected:(BOOL)selected;
  15. - (void)showSizePic;
  16. - (void)showSizeLink;
  17. @end
  18. @interface FKSelectSpecUnitView : UIView
  19. @property (nonatomic, strong) FKProductSpecItem *specItem;
  20. @property (nonatomic, weak) id <FKSelectSpecUnitViewDelegate> delegate;
  21. @property (nonatomic, assign) BOOL showSizeIcon;
  22. /*
  23. 返回内容高度
  24. */
  25. + (CGFloat)contentHeightForSpecItem:(FKProductSpecItem *)specItem;
  26. /*
  27. 初始化
  28. */
  29. - (void)setContentForSpecItem:(FKProductSpecItem *)specItem;
  30. //- (void)reloadForSpecItem:(FKProductSpecItem *)specItem;
  31. - (void)reloadContent;
  32. @end