czbtCell.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // czbtCell.h
  3. // iChatView
  4. //
  5. // Created by zzl on 16/6/12.
  6. // Copyright © 2016年 ldh. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class czModel;
  10. @interface RefBt : UIButton
  11. @property (nonatomic, weak) czModel* mRefObj;
  12. @end
  13. @interface czbtCell : UITableViewCell
  14. @property (weak, nonatomic) IBOutlet UIView *mleft;
  15. @property (weak, nonatomic) IBOutlet UIView *mright;
  16. @property (weak, nonatomic) IBOutlet RefBt *mleftbt;
  17. @property (weak, nonatomic) IBOutlet RefBt *mrightbt;
  18. @property (weak, nonatomic) IBOutlet UILabel *mleftinput;
  19. @property (weak, nonatomic) IBOutlet UILabel *leftGivingCount;
  20. @property (weak, nonatomic) IBOutlet UILabel *rightGivingCount;
  21. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *firstLabelLayout1;
  22. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *firstImageLayout1;
  23. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *firstLabelLayout;
  24. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *firstImageLayout;
  25. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *secondLabelLayout;
  26. @property (weak, nonatomic) IBOutlet UILabel *mrightinput;
  27. - (void)setLeftBt:(float)price goldcount:(int)goldcount count:(NSString *)count;
  28. - (void)setRightBt:(float)price goldcount:(int)goldcount count:(NSString *)count;
  29. //v:0 正常 1:显示输入金额 2 隐藏
  30. - (void)setLeftVisable:(int)v;
  31. - (void)setRightVisable:(int)v;
  32. @end