// // FKProductSingleSpecView.h // FirstLink // // Created by jack on 16/1/15. // Copyright © 2016年 FirstLink. All rights reserved. // #import #import "FKProductSpecItem.h" @class FKSelectSpecUnitView; @protocol FKSelectSpecUnitViewDelegate - (void)unitView:(FKSelectSpecUnitView *)unitView basicSpecIndex:(NSUInteger)basicSpecIndex selected:(BOOL)selected; - (void)showSizePic; - (void)showSizeLink; @end @interface FKSelectSpecUnitView : UIView @property (nonatomic, strong) FKProductSpecItem *specItem; @property (nonatomic, weak) id delegate; @property (nonatomic, assign) BOOL showSizeIcon; /* 返回内容高度 */ + (CGFloat)contentHeightForSpecItem:(FKProductSpecItem *)specItem; /* 初始化 */ - (void)setContentForSpecItem:(FKProductSpecItem *)specItem; //- (void)reloadForSpecItem:(FKProductSpecItem *)specItem; - (void)reloadContent; @end