ImageDetailBigView.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // ImageDetailBigView.h
  3. // 乐销
  4. //
  5. // Created by 隋林栋 on 2017/3/14.
  6. // Copyright © 2017年 ping. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "PlaceHolderTextView.h"
  10. @class UpImageWithTextModel;
  11. @interface ImageDetailBigView : UIView<UIScrollViewDelegate,UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout,UITextViewDelegate>
  12. @property (nonatomic, strong) BaseNavView *navView;
  13. @property (nonatomic, strong) NSMutableArray * aryDatas;
  14. @property (nonatomic, strong) PlaceHolderTextView *label;
  15. @property (nonatomic, strong) UIScrollView *viewBG;
  16. @property (nonatomic, strong) UICollectionView *collectionImageDetail;
  17. @property (nonatomic, assign) BOOL isEdit;
  18. @property (nonatomic, strong) void (^blockRefresh)(void);
  19. @property (nonatomic, strong) void (^blockEdit)(void);
  20. @property (nonatomic, assign) BOOL isHide;
  21. - (void)resetView:(NSMutableArray *)ary isEdit:(BOOL)isEdit index:(NSInteger)index;
  22. - (void)showInView:(UIView *)view imageViewShow:(UIImageView *)iv;
  23. @end
  24. @interface UpImageDetailImageViewCell : UICollectionViewCell<UIScrollViewDelegate>
  25. @property (nonatomic, strong) UIImageView *iv;
  26. @property (nonatomic, strong) UpImageWithTextModel *model;
  27. @property (nonatomic, strong) ModelImage *modelItem;
  28. @property (nonatomic, strong) UIScrollView *scBG;
  29. @property (nonatomic, strong) void (^blockClick)(void);
  30. @property (nonatomic, strong) void (^hidenBlockClick)(void);
  31. @property (nonatomic, strong) UIView *detailBigView;
  32. @property (nonatomic, strong) UIView *navView;
  33. @property (nonatomic, strong) UIView *viewBG;
  34. #pragma mark 获取cell高度
  35. + (CGSize)fetchHeight;
  36. #pragma mark 刷新view
  37. - (void)resetWithModel:(ModelImage*)model isEdit:(BOOL)isEdit;
  38. //recover scroll view
  39. - (void)recoverScrollView;
  40. @end