123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // FKProductSingleSpecView.h
- // FirstLink
- //
- // Created by jack on 16/1/15.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "FKProductSpecItem.h"
- @class FKSelectSpecUnitView;
- @protocol FKSelectSpecUnitViewDelegate <NSObject>
- - (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 <FKSelectSpecUnitViewDelegate> delegate;
- @property (nonatomic, assign) BOOL showSizeIcon;
- /*
- 返回内容高度
- */
- + (CGFloat)contentHeightForSpecItem:(FKProductSpecItem *)specItem;
- /*
- 初始化
- */
- - (void)setContentForSpecItem:(FKProductSpecItem *)specItem;
- //- (void)reloadForSpecItem:(FKProductSpecItem *)specItem;
- - (void)reloadContent;
- @end
|