// // SelectDetailView.h // FirstLink // // Created by 王孝道 on 15/5/28. // Copyright (c) 2015年 FirstLink. All rights reserved. // 选择商品的规格和数量 #import #import "PindanDetailViewModel.h" @interface PindanSelectDetailView : UIView @property (nonatomic, strong) NSArray *specsArray; // 规格组 @property (nonatomic, assign) NSInteger limitedAmount; // 限购数量 @property (nonatomic, assign) CGFloat nationalPostage; // 国际运费 @property (nonatomic, strong, readonly) UIImageView *imageView; @property (nonatomic, strong, readonly) UILabel *priceLabel; @property (nonatomic, copy) void(^selectDoneAction)(PindanSelectDetailView *); - (instancetype)initWithViewModel:(PindanDetailViewModel *)viewModel; + (NSString *)cdnImgUrlStringWithString:(NSString *)imgUrl; - (void)initialLayoutWithState:(ProductState)state; - (void)showToView:(UIView *)view animated:(BOOL)animated; - (void)refreshSelectSpecContent; @end