ApplyBankerView.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // ApplyBankerView.h
  3. // BuguLive
  4. //
  5. // Created by yy on 17/2/22.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol ApplyBankerViewDelegate <NSObject>
  10. - (void)bankerViewDown;
  11. - (void)hiddenGrabBankerBtnWithCoin:(NSString *)coin; //隐藏上庄按钮,并更新金额
  12. @end
  13. @interface ApplyBankerView : UIView
  14. @property (nonatomic, weak) id<ApplyBankerViewDelegate>delegate;
  15. @property (weak, nonatomic) IBOutlet UIView *displayView;
  16. @property (weak, nonatomic) IBOutlet UILabel *titleLabel; //标题
  17. @property (weak, nonatomic) IBOutlet UITextField *coinTextfield; //输入框
  18. @property (weak, nonatomic) IBOutlet UILabel *leastCoinLabel; //底金
  19. @property (weak, nonatomic) IBOutlet UILabel *myCoinLabel; //游戏余额
  20. @property (weak, nonatomic) IBOutlet UIButton *cancelButton;
  21. @property (weak, nonatomic) IBOutlet UIButton *confirmButton;
  22. @property (weak, nonatomic) IBOutlet UILabel *verticalLine;
  23. @property (weak, nonatomic) IBOutlet UILabel *horizontalLine;
  24. @property (nonatomic, copy) NSString *video_id; //游戏直播间id
  25. @property (nonatomic, copy) NSString *coin; //游戏余额
  26. @property (nonatomic, copy) NSString *principal; //底金
  27. + (instancetype)EditNibFromXib;
  28. - (void)createStyle;
  29. /**
  30. * @parm videoID 直播间ID
  31. */
  32. - (void)requestBanker;
  33. @end