GoodsDetailsCell.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // GoodsDetailsCell.h
  3. // BuguLive
  4. //
  5. // Created by fanwe2014 on 16/10/15.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <WebKit/WebKit.h>
  10. @protocol CellHeightDelegate <NSObject>
  11. #pragma mark 通过这个方法来获取cell的高度
  12. - (void)getCellHeightWithCount:(int)count;
  13. @end
  14. @interface GoodsDetailsCell : UITableViewCell
  15. @property (nonatomic, weak) id<CellHeightDelegate>delegate;
  16. @property (nonatomic, strong) UILabel *detailLabel;
  17. @property (nonatomic, strong) UIView *lineView;
  18. @property (nonatomic, strong) UIImageView *downUpImgView;//向下或者向上的箭头
  19. @property (nonatomic, strong) UIButton *clickButton;//收起或者展开的控件
  20. @property (nonatomic, assign)int buttonCount;//cell改变高度的count
  21. //@property (nonatomic, strong) uwebview *cellWebView;//实物竞拍加载详情(有图片或者文字)
  22. //@property (nonatomic, assign)float webViewHeight;//webView的高度
  23. //@property (nonatomic, assign)int Height;//虚拟竞拍展开
  24. //@property (nonatomic, strong) GlobalVariables *BuguLive;
  25. //- (CGFloat)setCellWithString:(NSString *)string withTypeCount:(int)typeCount andButtonCount:(int)buttonCount;
  26. //- (void)loadWebViewWithString:(NSString *)string;//实物竞拍的加载
  27. - (void)setCellWitCount:(int)count;
  28. @end