No Description

PindanSelectDetailView.h 1.1KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // SelectDetailView.h
  3. // FirstLink
  4. //
  5. // Created by 王孝道 on 15/5/28.
  6. // Copyright (c) 2015年 FirstLink. All rights reserved.
  7. // 选择商品的规格和数量
  8. #import <UIKit/UIKit.h>
  9. #import "PindanDetailViewModel.h"
  10. @interface PindanSelectDetailView : UIView
  11. <CAAnimationDelegate>
  12. @property (nonatomic, strong) NSArray *specsArray; // 规格组
  13. @property (nonatomic, assign) NSInteger limitedAmount; // 限购数量
  14. @property (nonatomic, assign) CGFloat nationalPostage; // 国际运费
  15. @property (nonatomic, strong, readonly) UIImageView *imageView;
  16. @property (nonatomic, strong, readonly) UILabel *priceLabel;
  17. @property (nonatomic, copy) void(^selectDoneAction)(PindanSelectDetailView *);
  18. - (instancetype)initWithViewModel:(PindanDetailViewModel *)viewModel;
  19. + (NSString *)cdnImgUrlStringWithString:(NSString *)imgUrl;
  20. - (void)initialLayoutWithState:(ProductState)state;
  21. - (void)showToView:(UIView *)view animated:(BOOL)animated;
  22. - (void)refreshSelectSpecContent;
  23. @end